@inkeep/agents-core 0.37.2 → 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 (41) hide show
  1. package/dist/auth/auth-validation-schemas.js +1 -1
  2. package/dist/auth/auth.d.ts +4 -3
  3. package/dist/auth/auth.js +2 -2
  4. package/dist/chunk-3OPS2LN5.js +4 -0
  5. package/dist/{chunk-7CLFCY6J.js → chunk-7IQFIW44.js} +2 -0
  6. package/dist/{chunk-BJLC7EI4.js → chunk-AJCP2QYU.js} +1 -1
  7. package/dist/{chunk-6CYQZ5KX.js → chunk-AUGHKZEB.js} +41 -1
  8. package/dist/{chunk-5QZSNATS.js → chunk-CWAFZVRI.js} +1 -1
  9. package/dist/{chunk-ZSYMSL55.js → chunk-DW4DNYUS.js} +1 -1
  10. package/dist/{chunk-DEYPSEXR.js → chunk-LH6OJIIM.js} +26 -11
  11. package/dist/{chunk-3HACEHXF.js → chunk-MGHGIB7U.js} +3 -10
  12. package/dist/{chunk-YSFXXC6K.js → chunk-S4XQEAAF.js} +7 -4
  13. package/dist/{chunk-XHODTX4H.js → chunk-UK63CULA.js} +7 -14
  14. package/dist/{client-B3nwdklT.d.ts → client-DG_xZdlN.d.ts} +1 -1
  15. package/dist/client-exports.d.ts +15 -8
  16. package/dist/client-exports.js +9 -3
  17. package/dist/constants/models.d.ts +2 -0
  18. package/dist/constants/models.js +1 -1
  19. package/dist/constants/schema-validation/index.js +1 -1
  20. package/dist/credential-stores/index.d.ts +5 -4
  21. package/dist/credential-stores/index.js +1 -1
  22. package/dist/db/schema.d.ts +2 -2
  23. package/dist/db/schema.js +1 -1
  24. package/dist/db/test-client.d.ts +3 -3
  25. package/dist/db/test-client.js +1 -1
  26. package/dist/index.d.ts +343 -326
  27. package/dist/index.js +167 -116
  28. package/dist/{schema-BhYTubhP.d.ts → schema-DA6PfmoP.d.ts} +83 -7
  29. package/dist/{server-CHLmv-Jb.d.ts → server-BviIeoo5.d.ts} +1 -1
  30. package/dist/types/index.d.ts +2 -2
  31. package/dist/{utility-5USfJ5Xd.d.ts → utility-dsfXkYTu.d.ts} +1040 -387
  32. package/dist/utils/schema-conversion.d.ts +11 -1
  33. package/dist/utils/schema-conversion.js +1 -1
  34. package/dist/validation/index.d.ts +2 -2
  35. package/dist/validation/index.js +2 -2
  36. package/drizzle/0004_cuddly_shooting_star.sql +6 -0
  37. package/drizzle/0005_reflective_starfox.sql +9 -0
  38. package/drizzle/meta/{0002_snapshot.json → 0005_snapshot.json} +70 -14
  39. package/drizzle/meta/_journal.json +14 -0
  40. package/package.json +8 -8
  41. package/dist/{chunk-RUTYLJB7.js → chunk-ZIXAWYZI.js} +1 -1
@@ -474,7 +474,7 @@ declare const SubAgentSelectSchema: drizzle_zod.BuildSchema<"select", {
474
474
  columnType: "PgText";
475
475
  data: string;
476
476
  driverParam: string;
477
- notNull: true;
477
+ notNull: false;
478
478
  hasDefault: false;
479
479
  isPrimaryKey: false;
480
480
  isAutoincrement: false;
@@ -597,7 +597,7 @@ declare const SubAgentSelectSchema: drizzle_zod.BuildSchema<"select", {
597
597
  columnType: "PgText";
598
598
  data: string;
599
599
  driverParam: string;
600
- notNull: true;
600
+ notNull: false;
601
601
  hasDefault: false;
602
602
  isPrimaryKey: false;
603
603
  isAutoincrement: false;
@@ -725,7 +725,7 @@ declare const SubAgentSelectSchema: drizzle_zod.BuildSchema<"select", {
725
725
  columnType: "PgText";
726
726
  data: string;
727
727
  driverParam: string;
728
- notNull: true;
728
+ notNull: false;
729
729
  hasDefault: false;
730
730
  isPrimaryKey: false;
731
731
  isAutoincrement: false;
@@ -848,7 +848,7 @@ declare const SubAgentSelectSchema: drizzle_zod.BuildSchema<"select", {
848
848
  columnType: "PgText";
849
849
  data: string;
850
850
  driverParam: string;
851
- notNull: true;
851
+ notNull: false;
852
852
  hasDefault: false;
853
853
  isPrimaryKey: false;
854
854
  isAutoincrement: false;
@@ -938,7 +938,7 @@ declare const SubAgentSelectSchema: drizzle_zod.BuildSchema<"select", {
938
938
  declare const SubAgentInsertSchema: z.ZodObject<{
939
939
  createdAt: z.ZodOptional<z.ZodString>;
940
940
  updatedAt: z.ZodOptional<z.ZodString>;
941
- prompt: z.ZodString;
941
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
942
942
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
943
943
  stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
944
944
  stepCountIs?: number | undefined;
@@ -950,7 +950,7 @@ declare const SubAgentInsertSchema: z.ZodObject<{
950
950
  stepCountIs?: number | undefined;
951
951
  }>>>>;
952
952
  name: z.ZodString;
953
- description: z.ZodString;
953
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
954
954
  agentId: z.ZodString;
955
955
  projectId: z.ZodString;
956
956
  tenantId: z.ZodString;
@@ -976,7 +976,7 @@ declare const SubAgentInsertSchema: z.ZodObject<{
976
976
  declare const SubAgentUpdateSchema: z.ZodObject<{
977
977
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
978
978
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
979
- prompt: z.ZodOptional<z.ZodString>;
979
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
980
980
  conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>;
981
981
  stopWhen: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
982
982
  stepCountIs?: number | undefined;
@@ -988,7 +988,7 @@ declare const SubAgentUpdateSchema: z.ZodObject<{
988
988
  stepCountIs?: number | undefined;
989
989
  }>>>>>;
990
990
  name: z.ZodOptional<z.ZodString>;
991
- description: z.ZodOptional<z.ZodString>;
991
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
992
992
  agentId: z.ZodOptional<z.ZodString>;
993
993
  projectId: z.ZodOptional<z.ZodString>;
994
994
  tenantId: z.ZodOptional<z.ZodString>;
@@ -1012,11 +1012,12 @@ declare const SubAgentUpdateSchema: z.ZodObject<{
1012
1012
  in: {};
1013
1013
  }>;
1014
1014
  declare const SubAgentApiSelectSchema: z.ZodObject<{
1015
- name: z.ZodString;
1016
1015
  id: z.ZodString;
1016
+ name: z.ZodString;
1017
+ description: z.ZodNullable<z.ZodString>;
1018
+ prompt: z.ZodNullable<z.ZodString>;
1017
1019
  createdAt: z.ZodString;
1018
1020
  updatedAt: z.ZodString;
1019
- description: z.ZodString;
1020
1021
  models: z.ZodNullable<z.ZodType<{
1021
1022
  base?: {
1022
1023
  model?: string | undefined;
@@ -1079,15 +1080,15 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
1079
1080
  }, {
1080
1081
  stepCountIs?: number | undefined;
1081
1082
  }>>>;
1082
- prompt: z.ZodString;
1083
1083
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
1084
1084
  }, z.core.$strip>;
1085
1085
  declare const SubAgentApiInsertSchema: z.ZodObject<{
1086
- name: z.ZodString;
1087
1086
  id: z.ZodString;
1087
+ name: z.ZodString;
1088
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1089
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1088
1090
  createdAt: z.ZodOptional<z.ZodString>;
1089
1091
  updatedAt: z.ZodOptional<z.ZodString>;
1090
- description: z.ZodString;
1091
1092
  models: z.ZodOptional<z.ZodObject<{
1092
1093
  base: z.ZodOptional<z.ZodObject<{
1093
1094
  model: z.ZodOptional<z.ZodString>;
@@ -1111,15 +1112,15 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
1111
1112
  }, {
1112
1113
  stepCountIs?: number | undefined;
1113
1114
  }>>>>;
1114
- prompt: z.ZodString;
1115
1115
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
1116
1116
  }, z.core.$strip>;
1117
1117
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
1118
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1119
1118
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1119
+ name: 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>>>>;
1120
1122
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
1121
1123
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
1122
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1123
1124
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
1124
1125
  base: z.ZodOptional<z.ZodObject<{
1125
1126
  model: z.ZodOptional<z.ZodString>;
@@ -1143,7 +1144,6 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
1143
1144
  }, {
1144
1145
  stepCountIs?: number | undefined;
1145
1146
  }>>>>>>;
1146
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1147
1147
  conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
1148
1148
  }, z.core.$strip>;
1149
1149
  declare const SubAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -1572,9 +1572,9 @@ declare const ExternalSubAgentRelationInsertSchema: z.ZodObject<{
1572
1572
  }>;
1573
1573
  declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<{
1574
1574
  id: z.ZodString;
1575
+ agentId: z.ZodString;
1575
1576
  createdAt: z.ZodOptional<z.ZodString>;
1576
1577
  updatedAt: z.ZodOptional<z.ZodString>;
1577
- agentId: z.ZodString;
1578
1578
  sourceSubAgentId: z.ZodString;
1579
1579
  targetSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1580
1580
  relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2446,11 +2446,12 @@ declare const AgentUpdateSchema: z.ZodObject<{
2446
2446
  in: {};
2447
2447
  }>;
2448
2448
  declare const AgentApiSelectSchema: z.ZodObject<{
2449
- name: z.ZodString;
2450
2449
  id: z.ZodString;
2450
+ name: z.ZodString;
2451
+ description: z.ZodNullable<z.ZodString>;
2452
+ prompt: z.ZodNullable<z.ZodString>;
2451
2453
  createdAt: z.ZodString;
2452
2454
  updatedAt: z.ZodString;
2453
- description: z.ZodNullable<z.ZodString>;
2454
2455
  models: z.ZodNullable<z.ZodType<{
2455
2456
  base?: {
2456
2457
  model?: string | undefined;
@@ -2515,7 +2516,6 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2515
2516
  }>>>;
2516
2517
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
2517
2518
  contextConfigId: z.ZodNullable<z.ZodString>;
2518
- prompt: z.ZodNullable<z.ZodString>;
2519
2519
  statusUpdates: z.ZodNullable<z.ZodType<{
2520
2520
  enabled?: boolean | undefined;
2521
2521
  numEvents?: number | undefined;
@@ -2576,9 +2576,10 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2576
2576
  }, z.core.$strip>;
2577
2577
  declare const AgentApiInsertSchema: z.ZodObject<{
2578
2578
  name: z.ZodString;
2579
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2580
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2579
2581
  createdAt: z.ZodOptional<z.ZodString>;
2580
2582
  updatedAt: z.ZodOptional<z.ZodString>;
2581
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2582
2583
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2583
2584
  base?: {
2584
2585
  model?: string | undefined;
@@ -2643,7 +2644,6 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2643
2644
  }>>>>;
2644
2645
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2645
2646
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2646
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2647
2647
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2648
2648
  enabled?: boolean | undefined;
2649
2649
  numEvents?: number | undefined;
@@ -2704,11 +2704,12 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2704
2704
  id: z.ZodString;
2705
2705
  }, z.core.$strip>;
2706
2706
  declare const AgentApiUpdateSchema: z.ZodObject<{
2707
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2708
2707
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2708
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2709
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2710
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2709
2711
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2710
2712
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2711
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2712
2713
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2713
2714
  base?: {
2714
2715
  model?: string | undefined;
@@ -2773,7 +2774,6 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2773
2774
  }>>>>>>;
2774
2775
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2775
2776
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2776
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2777
2777
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2778
2778
  enabled?: boolean | undefined;
2779
2779
  numEvents?: number | undefined;
@@ -3241,32 +3241,32 @@ declare const TaskUpdateSchema: z.ZodObject<{
3241
3241
  }>;
3242
3242
  declare const TaskApiSelectSchema: z.ZodObject<{
3243
3243
  id: z.ZodString;
3244
+ agentId: z.ZodString;
3244
3245
  createdAt: z.ZodString;
3245
3246
  updatedAt: z.ZodString;
3246
3247
  metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
3247
3248
  status: z.ZodString;
3248
- agentId: z.ZodString;
3249
3249
  contextId: z.ZodString;
3250
3250
  subAgentId: z.ZodString;
3251
3251
  }, z.core.$strip>;
3252
3252
  declare const TaskApiInsertSchema: z.ZodObject<{
3253
3253
  id: z.ZodString;
3254
+ agentId: z.ZodString;
3254
3255
  createdAt: z.ZodOptional<z.ZodString>;
3255
3256
  updatedAt: z.ZodOptional<z.ZodString>;
3256
3257
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
3257
3258
  status: z.ZodString;
3258
- agentId: z.ZodString;
3259
3259
  conversationId: z.ZodOptional<z.ZodString>;
3260
3260
  contextId: z.ZodString;
3261
3261
  subAgentId: z.ZodString;
3262
3262
  }, z.core.$strip>;
3263
3263
  declare const TaskApiUpdateSchema: z.ZodObject<{
3264
3264
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3265
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3265
3266
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3266
3267
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3267
3268
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
3268
3269
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3269
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3270
3270
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3271
3271
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3272
3272
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -3756,6 +3756,25 @@ declare const ToolSelectSchema: drizzle_zod.BuildSchema<"select", {
3756
3756
  }, {}, {
3757
3757
  length: 256;
3758
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
+ }>;
3759
3778
  headers: drizzle_orm_pg_core.PgColumn<{
3760
3779
  name: "headers";
3761
3780
  tableName: "tools";
@@ -4000,6 +4019,25 @@ declare const ToolSelectSchema: drizzle_zod.BuildSchema<"select", {
4000
4019
  }, {}, {
4001
4020
  length: 256;
4002
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
+ }>;
4003
4041
  headers: drizzle_orm_pg_core.PgColumn<{
4004
4042
  name: "headers";
4005
4043
  tableName: "tools";
@@ -4136,6 +4174,7 @@ declare const ToolInsertSchema: z.ZodObject<{
4136
4174
  name: z.ZodString;
4137
4175
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4138
4176
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4177
+ credentialScope: z.ZodOptional<z.ZodString>;
4139
4178
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
4140
4179
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
4141
4180
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4567,32 +4606,32 @@ declare const ConversationUpdateSchema: z.ZodObject<{
4567
4606
  }>;
4568
4607
  declare const ConversationApiSelectSchema: z.ZodObject<{
4569
4608
  id: z.ZodString;
4609
+ title: z.ZodNullable<z.ZodString>;
4570
4610
  createdAt: z.ZodString;
4571
4611
  updatedAt: z.ZodString;
4572
4612
  userId: z.ZodNullable<z.ZodString>;
4573
4613
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
4574
- title: z.ZodNullable<z.ZodString>;
4575
4614
  activeSubAgentId: z.ZodString;
4576
4615
  lastContextResolution: z.ZodNullable<z.ZodString>;
4577
4616
  }, z.core.$strip>;
4578
4617
  declare const ConversationApiInsertSchema: z.ZodObject<{
4579
4618
  id: z.ZodString;
4619
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4580
4620
  createdAt: z.ZodOptional<z.ZodString>;
4581
4621
  updatedAt: z.ZodOptional<z.ZodString>;
4582
4622
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4583
4623
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
4584
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4585
4624
  contextConfigId: z.ZodOptional<z.ZodString>;
4586
4625
  activeSubAgentId: z.ZodString;
4587
4626
  lastContextResolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4588
4627
  }, z.core.$strip>;
4589
4628
  declare const ConversationApiUpdateSchema: z.ZodObject<{
4590
4629
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4630
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4591
4631
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4592
4632
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4593
4633
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4594
4634
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
4595
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4596
4635
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4597
4636
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4598
4637
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -5447,8 +5486,9 @@ declare const MessageApiSelectSchema: z.ZodObject<{
5447
5486
  createdAt: z.ZodString;
5448
5487
  updatedAt: z.ZodString;
5449
5488
  metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
5450
- role: z.ZodString;
5451
5489
  content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
5490
+ role: z.ZodString;
5491
+ taskId: z.ZodNullable<z.ZodString>;
5452
5492
  conversationId: z.ZodString;
5453
5493
  fromSubAgentId: z.ZodNullable<z.ZodString>;
5454
5494
  toSubAgentId: z.ZodNullable<z.ZodString>;
@@ -5458,7 +5498,6 @@ declare const MessageApiSelectSchema: z.ZodObject<{
5458
5498
  toTeamAgentId: z.ZodNullable<z.ZodString>;
5459
5499
  visibility: z.ZodString;
5460
5500
  messageType: z.ZodString;
5461
- taskId: z.ZodNullable<z.ZodString>;
5462
5501
  parentMessageId: z.ZodNullable<z.ZodString>;
5463
5502
  a2aTaskId: z.ZodNullable<z.ZodString>;
5464
5503
  a2aSessionId: z.ZodNullable<z.ZodString>;
@@ -5468,8 +5507,9 @@ declare const MessageApiInsertSchema: z.ZodObject<{
5468
5507
  createdAt: z.ZodOptional<z.ZodString>;
5469
5508
  updatedAt: z.ZodOptional<z.ZodString>;
5470
5509
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
5471
- role: z.ZodString;
5472
5510
  content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
5511
+ role: z.ZodString;
5512
+ taskId: z.ZodOptional<z.ZodString>;
5473
5513
  conversationId: z.ZodString;
5474
5514
  fromSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5475
5515
  toSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5479,7 +5519,6 @@ declare const MessageApiInsertSchema: z.ZodObject<{
5479
5519
  toTeamAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5480
5520
  visibility: z.ZodOptional<z.ZodString>;
5481
5521
  messageType: z.ZodOptional<z.ZodString>;
5482
- taskId: z.ZodOptional<z.ZodString>;
5483
5522
  parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5484
5523
  a2aTaskId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5485
5524
  a2aSessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5489,8 +5528,9 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
5489
5528
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5490
5529
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5491
5530
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
5492
- role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5493
5531
  content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
5532
+ role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5533
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5494
5534
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5495
5535
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5496
5536
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -5500,7 +5540,6 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
5500
5540
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5501
5541
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5502
5542
  messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5503
- taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5504
5543
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5505
5544
  a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5506
5545
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -6466,7 +6505,7 @@ declare const ContextCacheInsertSchema: drizzle_zod.BuildSchema<"insert", {
6466
6505
  }, {}, {
6467
6506
  length: 256;
6468
6507
  }>;
6469
- }, "id" | "createdAt" | "updatedAt" | "value" | "projectId" | "tenantId" | "contextConfigId" | "conversationId" | "contextVariableKey" | "requestHash" | "fetchedAt" | "fetchSource" | "fetchDurationMs">, undefined>, undefined>;
6508
+ }, "tenantId" | "projectId" | "id" | "value" | "createdAt" | "updatedAt" | "contextConfigId" | "conversationId" | "contextVariableKey" | "requestHash" | "fetchedAt" | "fetchSource" | "fetchDurationMs">, undefined>, undefined>;
6470
6509
  declare const ContextCacheUpdateSchema: z.ZodObject<{
6471
6510
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6472
6511
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6487,9 +6526,9 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
6487
6526
  }>;
6488
6527
  declare const ContextCacheApiSelectSchema: z.ZodObject<{
6489
6528
  id: z.ZodString;
6529
+ value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
6490
6530
  createdAt: z.ZodString;
6491
6531
  updatedAt: z.ZodString;
6492
- value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
6493
6532
  contextConfigId: z.ZodString;
6494
6533
  conversationId: z.ZodString;
6495
6534
  contextVariableKey: z.ZodString;
@@ -6500,9 +6539,9 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<{
6500
6539
  }, z.core.$strip>;
6501
6540
  declare const ContextCacheApiInsertSchema: z.ZodObject<{
6502
6541
  id: z.ZodString;
6542
+ value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
6503
6543
  createdAt: z.ZodOptional<z.ZodString>;
6504
6544
  updatedAt: z.ZodOptional<z.ZodString>;
6505
- value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
6506
6545
  contextConfigId: z.ZodString;
6507
6546
  conversationId: z.ZodString;
6508
6547
  contextVariableKey: z.ZodString;
@@ -6513,9 +6552,9 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<{
6513
6552
  }, z.core.$strip>;
6514
6553
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
6515
6554
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6555
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
6516
6556
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6517
6557
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6518
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
6519
6558
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6520
6559
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6521
6560
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6629,7 +6668,7 @@ declare const DataComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
6629
6668
  columnType: "PgText";
6630
6669
  data: string;
6631
6670
  driverParam: string;
6632
- notNull: true;
6671
+ notNull: false;
6633
6672
  hasDefault: false;
6634
6673
  isPrimaryKey: false;
6635
6674
  isAutoincrement: false;
@@ -6801,7 +6840,7 @@ declare const DataComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
6801
6840
  columnType: "PgText";
6802
6841
  data: string;
6803
6842
  driverParam: string;
6804
- notNull: true;
6843
+ notNull: false;
6805
6844
  hasDefault: false;
6806
6845
  isPrimaryKey: false;
6807
6846
  isAutoincrement: false;
@@ -6887,7 +6926,7 @@ declare const DataComponentInsertSchema: z.ZodObject<{
6887
6926
  mockData: Record<string, unknown>;
6888
6927
  }>>>>;
6889
6928
  name: z.ZodString;
6890
- description: z.ZodString;
6929
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6891
6930
  projectId: z.ZodString;
6892
6931
  tenantId: z.ZodString;
6893
6932
  id: z.ZodString;
@@ -6896,11 +6935,11 @@ declare const DataComponentInsertSchema: z.ZodObject<{
6896
6935
  in: {};
6897
6936
  }>;
6898
6937
  declare const DataComponentBaseSchema: z.ZodObject<{
6899
- name: z.ZodString;
6900
- id: z.ZodString;
6901
- description: z.ZodString;
6902
- projectId: z.ZodString;
6903
6938
  tenantId: z.ZodString;
6939
+ projectId: z.ZodString;
6940
+ id: z.ZodString;
6941
+ name: z.ZodString;
6942
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6904
6943
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
6905
6944
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
6906
6945
  component: string;
@@ -6937,7 +6976,7 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
6937
6976
  mockData: Record<string, unknown>;
6938
6977
  }>>>>>;
6939
6978
  name: z.ZodOptional<z.ZodString>;
6940
- description: z.ZodOptional<z.ZodString>;
6979
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
6941
6980
  projectId: z.ZodOptional<z.ZodString>;
6942
6981
  tenantId: z.ZodOptional<z.ZodString>;
6943
6982
  id: z.ZodOptional<z.ZodString>;
@@ -6946,11 +6985,11 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
6946
6985
  in: {};
6947
6986
  }>;
6948
6987
  declare const DataComponentApiSelectSchema: z.ZodObject<{
6949
- name: z.ZodString;
6950
6988
  id: z.ZodString;
6989
+ name: z.ZodString;
6990
+ description: z.ZodNullable<z.ZodString>;
6951
6991
  createdAt: z.ZodString;
6952
6992
  updatedAt: z.ZodString;
6953
- description: z.ZodString;
6954
6993
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
6955
6994
  render: z.ZodNullable<z.ZodType<{
6956
6995
  component: string;
@@ -6967,11 +7006,11 @@ declare const DataComponentApiSelectSchema: z.ZodObject<{
6967
7006
  }>>>;
6968
7007
  }, z.core.$strip>;
6969
7008
  declare const DataComponentApiInsertSchema: z.ZodObject<{
6970
- name: z.ZodString;
6971
7009
  id: z.ZodString;
7010
+ name: z.ZodString;
7011
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6972
7012
  createdAt: z.ZodOptional<z.ZodString>;
6973
7013
  updatedAt: z.ZodOptional<z.ZodString>;
6974
- description: z.ZodString;
6975
7014
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
6976
7015
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
6977
7016
  component: string;
@@ -6988,11 +7027,11 @@ declare const DataComponentApiInsertSchema: z.ZodObject<{
6988
7027
  }>>>>;
6989
7028
  }, z.core.$strip>;
6990
7029
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
6991
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6992
7030
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7031
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7032
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6993
7033
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6994
7034
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6995
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6996
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>>>>>>>;
6997
7036
  render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
6998
7037
  component: string;
@@ -7537,7 +7576,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod.BuildSchema<"insert
7537
7576
  }, {}, {
7538
7577
  length: 256;
7539
7578
  }>;
7540
- }, "id" | "createdAt" | "projectId" | "tenantId" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
7579
+ }, "tenantId" | "projectId" | "id" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
7541
7580
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
7542
7581
  dataComponentId: z.ZodOptional<z.ZodString>;
7543
7582
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -7650,7 +7689,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
7650
7689
  columnType: "PgText";
7651
7690
  data: string;
7652
7691
  driverParam: string;
7653
- notNull: true;
7692
+ notNull: false;
7654
7693
  hasDefault: false;
7655
7694
  isPrimaryKey: false;
7656
7695
  isAutoincrement: false;
@@ -7797,7 +7836,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
7797
7836
  columnType: "PgText";
7798
7837
  data: string;
7799
7838
  driverParam: string;
7800
- notNull: true;
7839
+ notNull: false;
7801
7840
  hasDefault: false;
7802
7841
  isPrimaryKey: false;
7803
7842
  isAutoincrement: false;
@@ -7870,7 +7909,7 @@ declare const ArtifactComponentInsertSchema: z.ZodObject<{
7870
7909
  updatedAt: z.ZodOptional<z.ZodString>;
7871
7910
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
7872
7911
  name: z.ZodString;
7873
- description: z.ZodString;
7912
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7874
7913
  projectId: z.ZodString;
7875
7914
  tenantId: z.ZodString;
7876
7915
  id: z.ZodString;
@@ -7883,7 +7922,7 @@ declare const ArtifactComponentUpdateSchema: z.ZodObject<{
7883
7922
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7884
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>>>>>>;
7885
7924
  name: z.ZodOptional<z.ZodString>;
7886
- description: z.ZodOptional<z.ZodString>;
7925
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
7887
7926
  projectId: z.ZodOptional<z.ZodString>;
7888
7927
  tenantId: z.ZodOptional<z.ZodString>;
7889
7928
  id: z.ZodOptional<z.ZodString>;
@@ -7892,28 +7931,28 @@ declare const ArtifactComponentUpdateSchema: z.ZodObject<{
7892
7931
  in: {};
7893
7932
  }>;
7894
7933
  declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
7895
- name: z.ZodString;
7896
7934
  id: z.ZodString;
7935
+ name: z.ZodString;
7936
+ description: z.ZodNullable<z.ZodString>;
7897
7937
  createdAt: z.ZodString;
7898
7938
  updatedAt: z.ZodString;
7899
- description: z.ZodString;
7900
7939
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
7901
7940
  }, z.core.$strip>;
7902
7941
  declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
7903
- name: z.ZodString;
7904
7942
  id: z.ZodString;
7905
- description: z.ZodString;
7943
+ name: z.ZodString;
7944
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7906
7945
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
7907
7946
  }, {
7908
7947
  out: {};
7909
7948
  in: {};
7910
7949
  }>;
7911
7950
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
7912
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7913
7951
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7952
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7953
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7914
7954
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7915
7955
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7916
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7917
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>>>>>>>;
7918
7957
  }, z.core.$strip>;
7919
7958
  declare const SubAgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -8230,7 +8269,7 @@ declare const ExternalAgentSelectSchema: z.ZodObject<{
8230
8269
  updatedAt: z.ZodString;
8231
8270
  baseUrl: z.ZodString;
8232
8271
  name: z.ZodString;
8233
- description: z.ZodString;
8272
+ description: z.ZodNullable<z.ZodString>;
8234
8273
  projectId: z.ZodString;
8235
8274
  tenantId: z.ZodString;
8236
8275
  id: z.ZodString;
@@ -8245,7 +8284,7 @@ declare const ExternalAgentInsertSchema: z.ZodObject<{
8245
8284
  baseUrl: z.ZodString;
8246
8285
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8247
8286
  name: z.ZodString;
8248
- description: z.ZodString;
8287
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8249
8288
  projectId: z.ZodString;
8250
8289
  tenantId: z.ZodString;
8251
8290
  id: z.ZodString;
@@ -8259,7 +8298,7 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
8259
8298
  baseUrl: z.ZodOptional<z.ZodString>;
8260
8299
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8261
8300
  name: z.ZodOptional<z.ZodString>;
8262
- description: z.ZodOptional<z.ZodString>;
8301
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8263
8302
  projectId: z.ZodOptional<z.ZodString>;
8264
8303
  tenantId: z.ZodOptional<z.ZodString>;
8265
8304
  id: z.ZodOptional<z.ZodString>;
@@ -8268,38 +8307,39 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
8268
8307
  in: {};
8269
8308
  }>;
8270
8309
  declare const ExternalAgentApiSelectSchema: z.ZodObject<{
8271
- name: z.ZodString;
8272
8310
  id: z.ZodString;
8311
+ name: z.ZodString;
8312
+ description: z.ZodNullable<z.ZodString>;
8313
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8273
8314
  createdAt: z.ZodString;
8274
8315
  updatedAt: z.ZodString;
8275
- description: z.ZodString;
8276
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8277
8316
  baseUrl: z.ZodString;
8278
8317
  }, z.core.$strip>;
8279
8318
  declare const ExternalAgentApiInsertSchema: z.ZodObject<{
8280
- name: z.ZodString;
8281
8319
  id: z.ZodString;
8320
+ name: z.ZodString;
8321
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8322
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8282
8323
  createdAt: z.ZodOptional<z.ZodString>;
8283
8324
  updatedAt: z.ZodOptional<z.ZodString>;
8284
- description: z.ZodString;
8285
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8286
8325
  baseUrl: z.ZodString;
8287
8326
  }, z.core.$strip>;
8288
8327
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
8289
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8290
8328
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8329
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8330
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8331
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8291
8332
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8292
8333
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8293
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8294
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8295
8334
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8296
8335
  }, z.core.$strip>;
8297
8336
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8298
- name: z.ZodString;
8299
8337
  id: z.ZodString;
8338
+ name: z.ZodString;
8339
+ description: z.ZodNullable<z.ZodString>;
8340
+ prompt: z.ZodNullable<z.ZodString>;
8300
8341
  createdAt: z.ZodString;
8301
8342
  updatedAt: z.ZodString;
8302
- description: z.ZodString;
8303
8343
  models: z.ZodNullable<z.ZodType<{
8304
8344
  base?: {
8305
8345
  model?: string | undefined;
@@ -8362,16 +8402,15 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8362
8402
  }, {
8363
8403
  stepCountIs?: number | undefined;
8364
8404
  }>>>;
8365
- prompt: z.ZodString;
8366
8405
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
8367
8406
  type: z.ZodLiteral<"internal">;
8368
8407
  }, z.core.$strip>, z.ZodObject<{
8369
- name: z.ZodString;
8370
8408
  id: z.ZodString;
8409
+ name: z.ZodString;
8410
+ description: z.ZodNullable<z.ZodString>;
8411
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8371
8412
  createdAt: z.ZodString;
8372
8413
  updatedAt: z.ZodString;
8373
- description: z.ZodString;
8374
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8375
8414
  baseUrl: z.ZodString;
8376
8415
  type: z.ZodLiteral<"external">;
8377
8416
  }, z.core.$strip>], "type">;
@@ -8837,24 +8876,24 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
8837
8876
  }>;
8838
8877
  declare const ApiKeyUpdateSchema: z.ZodObject<{
8839
8878
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8840
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8841
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8842
8879
  agentId: z.ZodOptional<z.ZodString>;
8843
8880
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8881
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8882
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8844
8883
  }, {
8845
8884
  out: {};
8846
8885
  in: {};
8847
8886
  }>;
8848
8887
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
8849
- name: z.ZodNullable<z.ZodString>;
8850
8888
  id: z.ZodString;
8851
- createdAt: z.ZodString;
8852
- updatedAt: z.ZodString;
8853
- expiresAt: z.ZodNullable<z.ZodString>;
8889
+ name: z.ZodNullable<z.ZodString>;
8854
8890
  agentId: z.ZodString;
8855
8891
  publicId: z.ZodString;
8856
8892
  keyPrefix: z.ZodString;
8857
8893
  lastUsedAt: z.ZodNullable<z.ZodString>;
8894
+ expiresAt: z.ZodNullable<z.ZodString>;
8895
+ createdAt: z.ZodString;
8896
+ updatedAt: z.ZodString;
8858
8897
  }, {
8859
8898
  out: {};
8860
8899
  in: {};
@@ -8862,15 +8901,15 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
8862
8901
  declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
8863
8902
  data: z.ZodObject<{
8864
8903
  apiKey: z.ZodObject<{
8865
- name: z.ZodNullable<z.ZodString>;
8866
8904
  id: z.ZodString;
8867
- createdAt: z.ZodString;
8868
- updatedAt: z.ZodString;
8869
- expiresAt: z.ZodNullable<z.ZodString>;
8905
+ name: z.ZodNullable<z.ZodString>;
8870
8906
  agentId: z.ZodString;
8871
8907
  publicId: z.ZodString;
8872
8908
  keyPrefix: z.ZodString;
8873
8909
  lastUsedAt: z.ZodNullable<z.ZodString>;
8910
+ expiresAt: z.ZodNullable<z.ZodString>;
8911
+ createdAt: z.ZodString;
8912
+ updatedAt: z.ZodString;
8874
8913
  }, {
8875
8914
  out: {};
8876
8915
  in: {};
@@ -8880,70 +8919,519 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
8880
8919
  }, z.core.$strip>;
8881
8920
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
8882
8921
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8922
+ agentId: z.ZodString;
8923
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8883
8924
  createdAt: z.ZodOptional<z.ZodString>;
8884
8925
  updatedAt: z.ZodOptional<z.ZodString>;
8885
- expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8886
- agentId: z.ZodString;
8887
8926
  }, {
8888
8927
  out: {};
8889
8928
  in: {};
8890
8929
  }>;
8891
8930
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
8892
8931
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8893
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8894
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8895
8932
  agentId: z.ZodOptional<z.ZodString>;
8896
8933
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8897
- }, {
8898
- out: {};
8899
- in: {};
8900
- }>;
8901
- declare const CredentialReferenceSelectSchema: z.ZodObject<{
8902
- id: z.ZodString;
8903
- tenantId: z.ZodString;
8904
- projectId: z.ZodString;
8905
- name: z.ZodString;
8906
- type: z.ZodString;
8907
- credentialStoreId: z.ZodString;
8908
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8909
- createdAt: z.ZodString;
8910
- updatedAt: z.ZodString;
8911
- }, z.core.$strip>;
8912
- declare const CredentialReferenceInsertSchema: z.ZodObject<{
8913
- createdAt: z.ZodOptional<z.ZodString>;
8914
- updatedAt: z.ZodOptional<z.ZodString>;
8915
- name: z.ZodString;
8916
- projectId: z.ZodString;
8917
- tenantId: z.ZodString;
8918
- id: z.ZodString;
8919
- type: z.ZodString;
8920
- credentialStoreId: z.ZodString;
8921
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8922
- }, {
8923
- out: {};
8924
- in: {};
8925
- }>;
8926
- declare const CredentialReferenceUpdateSchema: z.ZodObject<{
8927
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8934
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8928
8935
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8929
- name: z.ZodOptional<z.ZodString>;
8930
- projectId: z.ZodOptional<z.ZodString>;
8931
- tenantId: z.ZodOptional<z.ZodString>;
8932
- id: z.ZodOptional<z.ZodString>;
8933
- type: z.ZodOptional<z.ZodString>;
8934
- credentialStoreId: z.ZodOptional<z.ZodString>;
8935
- retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
8936
8936
  }, {
8937
8937
  out: {};
8938
8938
  in: {};
8939
8939
  }>;
8940
- declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
8941
- name: z.ZodString;
8942
- id: z.ZodString;
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;
8993
+ }>;
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;
8943
9428
  createdAt: z.ZodString;
8944
9429
  updatedAt: z.ZodString;
8945
9430
  credentialStoreId: z.ZodString;
8946
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
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>;
8947
9435
  type: z.ZodEnum<{
8948
9436
  readonly memory: "memory";
8949
9437
  readonly keychain: "keychain";
@@ -9064,6 +9552,25 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
9064
9552
  }, {}, {
9065
9553
  length: 256;
9066
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
+ }>;
9067
9574
  headers: drizzle_orm_pg_core.PgColumn<{
9068
9575
  name: "headers";
9069
9576
  tableName: "tools";
@@ -9308,6 +9815,25 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
9308
9815
  }, {}, {
9309
9816
  length: 256;
9310
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
+ }>;
9311
9837
  headers: drizzle_orm_pg_core.PgColumn<{
9312
9838
  name: "headers";
9313
9839
  tableName: "tools";
@@ -9443,7 +9969,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
9443
9969
  updatedAt: z.ZodString;
9444
9970
  baseUrl: z.ZodString;
9445
9971
  name: z.ZodString;
9446
- description: z.ZodString;
9972
+ description: z.ZodNullable<z.ZodString>;
9447
9973
  projectId: z.ZodString;
9448
9974
  tenantId: z.ZodString;
9449
9975
  id: z.ZodString;
@@ -9454,12 +9980,15 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
9454
9980
  }>>>;
9455
9981
  }, z.core.$strip>;
9456
9982
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
9457
- name: z.ZodString;
9458
9983
  id: z.ZodString;
9984
+ name: z.ZodString;
9459
9985
  createdAt: z.ZodOptional<z.ZodString>;
9460
9986
  updatedAt: z.ZodOptional<z.ZodString>;
9461
9987
  credentialStoreId: z.ZodString;
9462
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>>;
9463
9992
  type: z.ZodEnum<{
9464
9993
  readonly memory: "memory";
9465
9994
  readonly keychain: "keychain";
@@ -9467,12 +9996,15 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
9467
9996
  }>;
9468
9997
  }, z.core.$strip>;
9469
9998
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
9470
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9471
9999
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10000
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9472
10001
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9473
10002
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9474
10003
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9475
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>>>>;
9476
10008
  type: z.ZodOptional<z.ZodEnum<{
9477
10009
  readonly memory: "memory";
9478
10010
  readonly keychain: "keychain";
@@ -9516,7 +10048,7 @@ declare const CreateCredentialInStoreResponseSchema: z.ZodObject<{
9516
10048
  declare const RelatedAgentInfoSchema: z.ZodObject<{
9517
10049
  id: z.ZodString;
9518
10050
  name: z.ZodString;
9519
- description: z.ZodString;
10051
+ description: z.ZodNullable<z.ZodString>;
9520
10052
  }, z.core.$strip>;
9521
10053
  declare const ComponentAssociationSchema: z.ZodObject<{
9522
10054
  subAgentId: z.ZodString;
@@ -9539,6 +10071,7 @@ declare const McpToolSchema: z.ZodObject<{
9539
10071
  name: z.ZodString;
9540
10072
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9541
10073
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10074
+ credentialScope: z.ZodOptional<z.ZodString>;
9542
10075
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9543
10076
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
9544
10077
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -9578,17 +10111,20 @@ declare const McpToolSchema: z.ZodObject<{
9578
10111
  }>>;
9579
10112
  version: z.ZodOptional<z.ZodString>;
9580
10113
  expiresAt: z.ZodOptional<z.ZodString>;
10114
+ createdBy: z.ZodOptional<z.ZodString>;
9581
10115
  relationshipId: z.ZodOptional<z.ZodString>;
9582
10116
  }, {
9583
10117
  out: {};
9584
10118
  in: {};
9585
10119
  }>;
9586
10120
  declare const MCPToolConfigSchema: z.ZodObject<{
9587
- name: z.ZodString;
9588
10121
  id: z.ZodString;
10122
+ name: z.ZodString;
9589
10123
  expiresAt: z.ZodOptional<z.ZodString>;
10124
+ createdBy: z.ZodOptional<z.ZodString>;
9590
10125
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9591
10126
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
10127
+ credentialScope: z.ZodOptional<z.ZodString>;
9592
10128
  imageUrl: z.ZodOptional<z.ZodString>;
9593
10129
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9594
10130
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -9617,12 +10153,15 @@ declare const MCPToolConfigSchema: z.ZodObject<{
9617
10153
  sessionId: z.ZodOptional<z.ZodString>;
9618
10154
  }, z.core.$strip>>;
9619
10155
  credential: z.ZodOptional<z.ZodObject<{
9620
- name: z.ZodString;
9621
10156
  id: z.ZodString;
10157
+ name: z.ZodString;
9622
10158
  createdAt: z.ZodOptional<z.ZodString>;
9623
10159
  updatedAt: z.ZodOptional<z.ZodString>;
9624
10160
  credentialStoreId: z.ZodString;
9625
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>>;
9626
10165
  type: z.ZodEnum<{
9627
10166
  readonly memory: "memory";
9628
10167
  readonly keychain: "keychain";
@@ -9639,6 +10178,7 @@ declare const ToolUpdateSchema: z.ZodObject<{
9639
10178
  name: z.ZodOptional<z.ZodString>;
9640
10179
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9641
10180
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
10181
+ credentialScope: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9642
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>>>>>>;
9643
10183
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>;
9644
10184
  lastError: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -9670,12 +10210,9 @@ declare const ToolUpdateSchema: z.ZodObject<{
9670
10210
  in: {};
9671
10211
  }>;
9672
10212
  declare const ToolApiSelectSchema: z.ZodObject<{
9673
- name: z.ZodString;
9674
10213
  id: z.ZodString;
9675
- createdAt: z.ZodString;
9676
- updatedAt: z.ZodString;
10214
+ name: z.ZodString;
9677
10215
  description: z.ZodNullable<z.ZodString>;
9678
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
9679
10216
  config: z.ZodType<{
9680
10217
  type: "mcp";
9681
10218
  mcp: ToolMcpConfig;
@@ -9689,18 +10226,19 @@ declare const ToolApiSelectSchema: z.ZodObject<{
9689
10226
  type: "mcp";
9690
10227
  mcp: ToolMcpConfig;
9691
10228
  }>>;
9692
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
9693
10229
  credentialReferenceId: z.ZodNullable<z.ZodString>;
10230
+ createdAt: z.ZodString;
10231
+ updatedAt: z.ZodString;
10232
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
10233
+ capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
10234
+ credentialScope: z.ZodString;
9694
10235
  imageUrl: z.ZodNullable<z.ZodString>;
9695
10236
  lastError: z.ZodNullable<z.ZodString>;
9696
10237
  }, z.core.$strip>;
9697
10238
  declare const ToolApiInsertSchema: z.ZodObject<{
9698
- name: z.ZodString;
9699
10239
  id: z.ZodString;
9700
- createdAt: z.ZodOptional<z.ZodString>;
9701
- updatedAt: z.ZodOptional<z.ZodString>;
10240
+ name: z.ZodString;
9702
10241
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9703
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9704
10242
  config: z.ZodObject<{
9705
10243
  type: z.ZodLiteral<"mcp">;
9706
10244
  mcp: z.ZodObject<{
@@ -9720,18 +10258,19 @@ declare const ToolApiInsertSchema: z.ZodObject<{
9720
10258
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
9721
10259
  }, z.core.$strip>;
9722
10260
  }, z.core.$strip>;
9723
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
9724
10261
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10262
+ createdAt: z.ZodOptional<z.ZodString>;
10263
+ updatedAt: z.ZodOptional<z.ZodString>;
10264
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
10265
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
10266
+ credentialScope: z.ZodOptional<z.ZodString>;
9725
10267
  imageUrl: z.ZodOptional<z.ZodString>;
9726
10268
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9727
10269
  }, z.core.$strip>;
9728
10270
  declare const ToolApiUpdateSchema: z.ZodObject<{
9729
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9730
10271
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9731
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9732
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10272
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9733
10273
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9734
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
9735
10274
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
9736
10275
  type: z.ZodLiteral<"mcp">;
9737
10276
  mcp: z.ZodObject<{
@@ -9751,8 +10290,12 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
9751
10290
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
9752
10291
  }, z.core.$strip>;
9753
10292
  }, z.core.$strip>>>;
9754
- capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
9755
10293
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10294
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10295
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
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>>>>>>>;
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>>>;
9756
10299
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9757
10300
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9758
10301
  }, z.core.$strip>;
@@ -10118,29 +10661,29 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
10118
10661
  in: {};
10119
10662
  }>;
10120
10663
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
10121
- name: z.ZodString;
10122
10664
  id: z.ZodString;
10123
- createdAt: z.ZodString;
10124
- updatedAt: z.ZodString;
10665
+ name: z.ZodString;
10125
10666
  description: z.ZodNullable<z.ZodString>;
10126
10667
  agentId: z.ZodString;
10668
+ createdAt: z.ZodString;
10669
+ updatedAt: z.ZodString;
10127
10670
  functionId: z.ZodString;
10128
10671
  }, z.core.$strip>;
10129
10672
  declare const FunctionToolApiInsertSchema: z.ZodObject<{
10130
- name: z.ZodString;
10131
10673
  id: z.ZodString;
10674
+ name: z.ZodString;
10675
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10132
10676
  createdAt: z.ZodOptional<z.ZodString>;
10133
10677
  updatedAt: z.ZodOptional<z.ZodString>;
10134
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10135
10678
  functionId: z.ZodString;
10136
10679
  }, z.core.$strip>;
10137
10680
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
10138
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10139
10681
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10140
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10141
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10682
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10142
10683
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10143
10684
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10685
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10686
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10144
10687
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10145
10688
  }, z.core.$strip>;
10146
10689
  declare const FunctionSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -10500,6 +11043,7 @@ declare const FetchConfigSchema: z.ZodObject<{
10500
11043
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
10501
11044
  body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10502
11045
  transform: z.ZodOptional<z.ZodString>;
11046
+ requiredToFetch: z.ZodOptional<z.ZodArray<z.ZodString>>;
10503
11047
  timeout: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
10504
11048
  }, z.core.$strip>;
10505
11049
  declare const FetchDefinitionSchema: z.ZodObject<{
@@ -10521,17 +11065,21 @@ declare const FetchDefinitionSchema: z.ZodObject<{
10521
11065
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
10522
11066
  body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10523
11067
  transform: z.ZodOptional<z.ZodString>;
11068
+ requiredToFetch: z.ZodOptional<z.ZodArray<z.ZodString>>;
10524
11069
  timeout: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
10525
11070
  }, z.core.$strip>;
10526
11071
  responseSchema: z.ZodOptional<z.ZodAny>;
10527
11072
  defaultValue: z.ZodOptional<z.ZodAny>;
10528
11073
  credential: z.ZodOptional<z.ZodObject<{
10529
- name: z.ZodString;
10530
11074
  id: z.ZodString;
11075
+ name: z.ZodString;
10531
11076
  createdAt: z.ZodOptional<z.ZodString>;
10532
11077
  updatedAt: z.ZodOptional<z.ZodString>;
10533
11078
  credentialStoreId: z.ZodString;
10534
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>>;
10535
11083
  type: z.ZodEnum<{
10536
11084
  readonly memory: "memory";
10537
11085
  readonly keychain: "keychain";
@@ -10553,23 +11101,23 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
10553
11101
  in: {};
10554
11102
  }>;
10555
11103
  declare const ContextConfigInsertSchema: z.ZodObject<{
10556
- id: z.ZodOptional<z.ZodString>;
10557
- projectId: z.ZodString;
10558
11104
  tenantId: z.ZodString;
11105
+ projectId: z.ZodString;
11106
+ id: z.ZodOptional<z.ZodString>;
11107
+ agentId: z.ZodString;
10559
11108
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
10560
11109
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
10561
- agentId: z.ZodString;
10562
11110
  }, {
10563
11111
  out: {};
10564
11112
  in: {};
10565
11113
  }>;
10566
11114
  declare const ContextConfigUpdateSchema: z.ZodObject<{
10567
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10568
- projectId: z.ZodOptional<z.ZodString>;
10569
11115
  tenantId: z.ZodOptional<z.ZodString>;
11116
+ projectId: z.ZodOptional<z.ZodString>;
11117
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11118
+ agentId: z.ZodOptional<z.ZodString>;
10570
11119
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
10571
11120
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
10572
- agentId: z.ZodOptional<z.ZodString>;
10573
11121
  }, {
10574
11122
  out: {};
10575
11123
  in: {};
@@ -11052,35 +11600,35 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
11052
11600
  id: z.ZodString;
11053
11601
  createdAt: z.ZodString;
11054
11602
  updatedAt: z.ZodString;
11603
+ toolId: z.ZodString;
11055
11604
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11605
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11056
11606
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11057
11607
  subAgentId: z.ZodString;
11058
- toolId: z.ZodString;
11059
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11060
11608
  }, z.core.$strip>;
11061
11609
  declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
11062
11610
  id: z.ZodString;
11063
11611
  createdAt: z.ZodOptional<z.ZodString>;
11064
11612
  updatedAt: z.ZodOptional<z.ZodString>;
11065
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
11066
- selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
11067
- subAgentId: z.ZodString;
11068
11613
  toolId: z.ZodString;
11614
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
11069
11615
  toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
11070
11616
  needsApproval: z.ZodOptional<z.ZodBoolean>;
11071
11617
  }, z.core.$strip>>>>;
11618
+ selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
11619
+ subAgentId: z.ZodString;
11072
11620
  }, z.core.$strip>;
11073
11621
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
11074
11622
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11075
11623
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11076
11624
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11077
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
11078
- selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
11079
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11080
11625
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11626
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
11081
11627
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
11082
11628
  needsApproval: z.ZodOptional<z.ZodBoolean>;
11083
11629
  }, z.core.$strip>>>>>>;
11630
+ selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
11631
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11084
11632
  }, z.core.$strip>;
11085
11633
  declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
11086
11634
  createdAt: drizzle_orm_pg_core.PgColumn<{
@@ -11452,8 +12000,8 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<{
11452
12000
  createdAt: z.ZodString;
11453
12001
  updatedAt: z.ZodString;
11454
12002
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11455
- subAgentId: z.ZodString;
11456
12003
  externalAgentId: z.ZodString;
12004
+ subAgentId: z.ZodString;
11457
12005
  }, z.core.$strip>;
11458
12006
  declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
11459
12007
  createdAt: z.ZodOptional<z.ZodString>;
@@ -11466,8 +12014,8 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
11466
12014
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11467
12015
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11468
12016
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
11469
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11470
12017
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12018
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11471
12019
  }, z.core.$strip>;
11472
12020
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
11473
12021
  createdAt: drizzle_orm_pg_core.PgColumn<{
@@ -13197,7 +13745,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod.BuildSchema<"insert", {
13197
13745
  }, {}, {
13198
13746
  length: 256;
13199
13747
  }>;
13200
- }, "type" | "name" | "id" | "createdAt" | "updatedAt" | "metadata" | "description" | "projectId" | "tenantId" | "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>;
13201
13749
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
13202
13750
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13203
13751
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -13222,16 +13770,16 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
13222
13770
  in: {};
13223
13771
  }>;
13224
13772
  declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
13773
+ id: z.ZodString;
13225
13774
  type: z.ZodString;
13226
13775
  name: z.ZodNullable<z.ZodString>;
13227
- id: z.ZodString;
13776
+ description: z.ZodNullable<z.ZodString>;
13228
13777
  createdAt: z.ZodString;
13229
13778
  updatedAt: z.ZodString;
13230
13779
  metadata: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
13231
- description: z.ZodNullable<z.ZodString>;
13780
+ taskId: z.ZodString;
13232
13781
  contextId: z.ZodString;
13233
13782
  visibility: z.ZodNullable<z.ZodString>;
13234
- taskId: z.ZodString;
13235
13783
  toolCallId: z.ZodNullable<z.ZodString>;
13236
13784
  parts: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
13237
13785
  summary: z.ZodNullable<z.ZodString>;
@@ -13240,16 +13788,16 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
13240
13788
  derivedFrom: z.ZodNullable<z.ZodString>;
13241
13789
  }, z.core.$strip>;
13242
13790
  declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
13791
+ id: z.ZodString;
13243
13792
  type: z.ZodOptional<z.ZodString>;
13244
13793
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13245
- id: z.ZodString;
13794
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13246
13795
  createdAt: z.ZodOptional<z.ZodString>;
13247
13796
  updatedAt: z.ZodOptional<z.ZodString>;
13248
13797
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
13249
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13798
+ taskId: z.ZodString;
13250
13799
  contextId: z.ZodString;
13251
13800
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13252
- taskId: z.ZodString;
13253
13801
  toolCallId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13254
13802
  parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
13255
13803
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -13258,16 +13806,16 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
13258
13806
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13259
13807
  }, z.core.$strip>;
13260
13808
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
13809
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13261
13810
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13262
13811
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13263
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13812
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13264
13813
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13265
13814
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13266
13815
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>>;
13267
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13816
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13268
13817
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13269
13818
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13270
- taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13271
13819
  toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13272
13820
  parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>>;
13273
13821
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -13324,11 +13872,11 @@ declare const TeamAgentSchema: z.ZodObject<{
13324
13872
  description: z.ZodString;
13325
13873
  }, z.core.$strip>;
13326
13874
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
13327
- name: z.ZodString;
13328
13875
  id: z.ZodString;
13876
+ name: z.ZodString;
13877
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13329
13878
  createdAt: z.ZodOptional<z.ZodString>;
13330
13879
  updatedAt: z.ZodOptional<z.ZodString>;
13331
- description: z.ZodString;
13332
13880
  models: z.ZodOptional<z.ZodObject<{
13333
13881
  base: z.ZodOptional<z.ZodObject<{
13334
13882
  model: z.ZodOptional<z.ZodString>;
@@ -13366,7 +13914,7 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
13366
13914
  dataComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
13367
13915
  artifactComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
13368
13916
  canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
13369
- prompt: z.ZodString;
13917
+ prompt: z.ZodOptional<z.ZodString>;
13370
13918
  canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
13371
13919
  externalAgentId: z.ZodString;
13372
13920
  subAgentExternalAgentRelationId: z.ZodOptional<z.ZodString>;
@@ -13379,18 +13927,18 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
13379
13927
  }, z.core.$strip>;
13380
13928
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13381
13929
  name: z.ZodString;
13930
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13382
13931
  createdAt: z.ZodOptional<z.ZodString>;
13383
13932
  updatedAt: z.ZodOptional<z.ZodString>;
13384
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13385
13933
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13386
13934
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13387
13935
  id: z.ZodString;
13388
13936
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
13389
- name: z.ZodString;
13390
13937
  id: z.ZodString;
13938
+ name: z.ZodString;
13939
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13391
13940
  createdAt: z.ZodOptional<z.ZodString>;
13392
13941
  updatedAt: z.ZodOptional<z.ZodString>;
13393
- description: z.ZodString;
13394
13942
  models: z.ZodOptional<z.ZodObject<{
13395
13943
  base: z.ZodOptional<z.ZodObject<{
13396
13944
  model: z.ZodOptional<z.ZodString>;
@@ -13428,7 +13976,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13428
13976
  dataComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
13429
13977
  artifactComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
13430
13978
  canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
13431
- prompt: z.ZodString;
13979
+ prompt: z.ZodOptional<z.ZodString>;
13432
13980
  canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
13433
13981
  externalAgentId: z.ZodString;
13434
13982
  subAgentExternalAgentRelationId: z.ZodOptional<z.ZodString>;
@@ -13440,12 +13988,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13440
13988
  }, z.core.$strip>]>>>;
13441
13989
  }, z.core.$strip>>;
13442
13990
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13443
- name: z.ZodString;
13444
13991
  id: z.ZodString;
13445
- createdAt: z.ZodOptional<z.ZodString>;
13446
- updatedAt: z.ZodOptional<z.ZodString>;
13992
+ name: z.ZodString;
13447
13993
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13448
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13449
13994
  config: z.ZodObject<{
13450
13995
  type: z.ZodLiteral<"mcp">;
13451
13996
  mcp: z.ZodObject<{
@@ -13465,18 +14010,22 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13465
14010
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
13466
14011
  }, z.core.$strip>;
13467
14012
  }, z.core.$strip>;
13468
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
13469
14013
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14014
+ createdAt: z.ZodOptional<z.ZodString>;
14015
+ updatedAt: z.ZodOptional<z.ZodString>;
14016
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14017
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
14018
+ credentialScope: z.ZodOptional<z.ZodString>;
13470
14019
  imageUrl: z.ZodOptional<z.ZodString>;
13471
14020
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13472
14021
  }, z.core.$strip>>>;
13473
14022
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13474
- name: z.ZodString;
13475
14023
  id: z.ZodString;
14024
+ name: z.ZodString;
14025
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14026
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13476
14027
  createdAt: z.ZodOptional<z.ZodString>;
13477
14028
  updatedAt: z.ZodOptional<z.ZodString>;
13478
- description: z.ZodString;
13479
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13480
14029
  baseUrl: z.ZodString;
13481
14030
  }, z.core.$strip>>>;
13482
14031
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13485,11 +14034,11 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13485
14034
  description: z.ZodString;
13486
14035
  }, z.core.$strip>>>;
13487
14036
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13488
- name: z.ZodString;
13489
14037
  id: z.ZodString;
14038
+ name: z.ZodString;
14039
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13490
14040
  createdAt: z.ZodOptional<z.ZodString>;
13491
14041
  updatedAt: z.ZodOptional<z.ZodString>;
13492
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13493
14042
  functionId: z.ZodString;
13494
14043
  }, z.core.$strip>>>;
13495
14044
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13573,7 +14122,7 @@ declare const ProjectSelectSchema: z.ZodObject<{
13573
14122
  createdAt: z.ZodString;
13574
14123
  updatedAt: z.ZodString;
13575
14124
  name: z.ZodString;
13576
- description: z.ZodString;
14125
+ description: z.ZodNullable<z.ZodString>;
13577
14126
  tenantId: z.ZodString;
13578
14127
  id: z.ZodString;
13579
14128
  models: z.ZodNullable<z.ZodObject<{
@@ -13599,10 +14148,10 @@ declare const ProjectSelectSchema: z.ZodObject<{
13599
14148
  in: {};
13600
14149
  }>;
13601
14150
  declare const ProjectInsertSchema: z.ZodObject<{
13602
- name: z.ZodString;
13603
- id: z.ZodString;
13604
- description: z.ZodString;
13605
14151
  tenantId: z.ZodString;
14152
+ id: z.ZodString;
14153
+ name: z.ZodString;
14154
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13606
14155
  models: z.ZodObject<{
13607
14156
  base: z.ZodObject<{
13608
14157
  model: z.ZodOptional<z.ZodString>;
@@ -13627,7 +14176,7 @@ declare const ProjectInsertSchema: z.ZodObject<{
13627
14176
  }>;
13628
14177
  declare const ProjectUpdateSchema: z.ZodObject<{
13629
14178
  name: z.ZodOptional<z.ZodString>;
13630
- description: z.ZodOptional<z.ZodString>;
14179
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
13631
14180
  models: z.ZodOptional<z.ZodObject<{
13632
14181
  base: z.ZodObject<{
13633
14182
  model: z.ZodOptional<z.ZodString>;
@@ -13651,11 +14200,11 @@ declare const ProjectUpdateSchema: z.ZodObject<{
13651
14200
  in: {};
13652
14201
  }>;
13653
14202
  declare const ProjectApiSelectSchema: z.ZodObject<{
13654
- name: z.ZodString;
13655
14203
  id: z.ZodString;
14204
+ name: z.ZodString;
14205
+ description: z.ZodNullable<z.ZodString>;
13656
14206
  createdAt: z.ZodString;
13657
14207
  updatedAt: z.ZodString;
13658
- description: z.ZodString;
13659
14208
  models: z.ZodNullable<z.ZodObject<{
13660
14209
  base: z.ZodObject<{
13661
14210
  model: z.ZodOptional<z.ZodString>;
@@ -13679,9 +14228,9 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
13679
14228
  in: {};
13680
14229
  }>;
13681
14230
  declare const ProjectApiInsertSchema: z.ZodObject<{
13682
- name: z.ZodString;
13683
14231
  id: z.ZodString;
13684
- description: z.ZodString;
14232
+ name: z.ZodString;
14233
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13685
14234
  models: z.ZodObject<{
13686
14235
  base: z.ZodObject<{
13687
14236
  model: z.ZodOptional<z.ZodString>;
@@ -13706,7 +14255,7 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
13706
14255
  }>;
13707
14256
  declare const ProjectApiUpdateSchema: z.ZodObject<{
13708
14257
  name: z.ZodOptional<z.ZodString>;
13709
- description: z.ZodOptional<z.ZodString>;
14258
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
13710
14259
  models: z.ZodOptional<z.ZodObject<{
13711
14260
  base: z.ZodObject<{
13712
14261
  model: z.ZodOptional<z.ZodString>;
@@ -13730,9 +14279,9 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
13730
14279
  in: {};
13731
14280
  }>;
13732
14281
  declare const FullProjectDefinitionSchema: z.ZodObject<{
13733
- name: z.ZodString;
13734
14282
  id: z.ZodString;
13735
- description: z.ZodString;
14283
+ name: z.ZodString;
14284
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13736
14285
  models: z.ZodObject<{
13737
14286
  base: z.ZodObject<{
13738
14287
  model: z.ZodOptional<z.ZodString>;
@@ -13753,18 +14302,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13753
14302
  }, z.core.$strip>>;
13754
14303
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
13755
14304
  name: z.ZodString;
14305
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13756
14306
  createdAt: z.ZodOptional<z.ZodString>;
13757
14307
  updatedAt: z.ZodOptional<z.ZodString>;
13758
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13759
14308
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13760
14309
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13761
14310
  id: z.ZodString;
13762
14311
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
13763
- name: z.ZodString;
13764
14312
  id: z.ZodString;
14313
+ name: z.ZodString;
14314
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13765
14315
  createdAt: z.ZodOptional<z.ZodString>;
13766
14316
  updatedAt: z.ZodOptional<z.ZodString>;
13767
- description: z.ZodString;
13768
14317
  models: z.ZodOptional<z.ZodObject<{
13769
14318
  base: z.ZodOptional<z.ZodObject<{
13770
14319
  model: z.ZodOptional<z.ZodString>;
@@ -13802,7 +14351,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13802
14351
  dataComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
13803
14352
  artifactComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
13804
14353
  canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
13805
- prompt: z.ZodString;
14354
+ prompt: z.ZodOptional<z.ZodString>;
13806
14355
  canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
13807
14356
  externalAgentId: z.ZodString;
13808
14357
  subAgentExternalAgentRelationId: z.ZodOptional<z.ZodString>;
@@ -13814,12 +14363,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13814
14363
  }, z.core.$strip>]>>>;
13815
14364
  }, z.core.$strip>>;
13816
14365
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13817
- name: z.ZodString;
13818
14366
  id: z.ZodString;
13819
- createdAt: z.ZodOptional<z.ZodString>;
13820
- updatedAt: z.ZodOptional<z.ZodString>;
14367
+ name: z.ZodString;
13821
14368
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13822
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13823
14369
  config: z.ZodObject<{
13824
14370
  type: z.ZodLiteral<"mcp">;
13825
14371
  mcp: z.ZodObject<{
@@ -13839,18 +14385,22 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13839
14385
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
13840
14386
  }, z.core.$strip>;
13841
14387
  }, z.core.$strip>;
13842
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
13843
14388
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14389
+ createdAt: z.ZodOptional<z.ZodString>;
14390
+ updatedAt: z.ZodOptional<z.ZodString>;
14391
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14392
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
14393
+ credentialScope: z.ZodOptional<z.ZodString>;
13844
14394
  imageUrl: z.ZodOptional<z.ZodString>;
13845
14395
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13846
14396
  }, z.core.$strip>>>;
13847
14397
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13848
- name: z.ZodString;
13849
14398
  id: z.ZodString;
14399
+ name: z.ZodString;
14400
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14401
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13850
14402
  createdAt: z.ZodOptional<z.ZodString>;
13851
14403
  updatedAt: z.ZodOptional<z.ZodString>;
13852
- description: z.ZodString;
13853
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13854
14404
  baseUrl: z.ZodString;
13855
14405
  }, z.core.$strip>>>;
13856
14406
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13859,11 +14409,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13859
14409
  description: z.ZodString;
13860
14410
  }, z.core.$strip>>>;
13861
14411
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13862
- name: z.ZodString;
13863
14412
  id: z.ZodString;
14413
+ name: z.ZodString;
14414
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13864
14415
  createdAt: z.ZodOptional<z.ZodString>;
13865
14416
  updatedAt: z.ZodOptional<z.ZodString>;
13866
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13867
14417
  functionId: z.ZodString;
13868
14418
  }, z.core.$strip>>>;
13869
14419
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13914,12 +14464,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13914
14464
  prompt: z.ZodOptional<z.ZodString>;
13915
14465
  }, z.core.$strip>>;
13916
14466
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
13917
- name: z.ZodString;
13918
14467
  id: z.ZodString;
13919
- createdAt: z.ZodOptional<z.ZodString>;
13920
- updatedAt: z.ZodOptional<z.ZodString>;
14468
+ name: z.ZodString;
13921
14469
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13922
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13923
14470
  config: z.ZodObject<{
13924
14471
  type: z.ZodLiteral<"mcp">;
13925
14472
  mcp: z.ZodObject<{
@@ -13939,17 +14486,21 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13939
14486
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
13940
14487
  }, z.core.$strip>;
13941
14488
  }, z.core.$strip>;
13942
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
13943
14489
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14490
+ createdAt: z.ZodOptional<z.ZodString>;
14491
+ updatedAt: z.ZodOptional<z.ZodString>;
14492
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14493
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
14494
+ credentialScope: z.ZodOptional<z.ZodString>;
13944
14495
  imageUrl: z.ZodOptional<z.ZodString>;
13945
14496
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13946
14497
  }, z.core.$strip>>;
13947
14498
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13948
- name: z.ZodString;
13949
14499
  id: z.ZodString;
14500
+ name: z.ZodString;
14501
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13950
14502
  createdAt: z.ZodOptional<z.ZodString>;
13951
14503
  updatedAt: z.ZodOptional<z.ZodString>;
13952
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13953
14504
  functionId: z.ZodString;
13954
14505
  }, z.core.$strip>>>;
13955
14506
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13961,11 +14512,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13961
14512
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13962
14513
  }, z.core.$strip>>>;
13963
14514
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13964
- name: z.ZodString;
13965
14515
  id: z.ZodString;
14516
+ name: z.ZodString;
14517
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13966
14518
  createdAt: z.ZodOptional<z.ZodString>;
13967
14519
  updatedAt: z.ZodOptional<z.ZodString>;
13968
- description: z.ZodString;
13969
14520
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
13970
14521
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
13971
14522
  component: string;
@@ -13982,21 +14533,21 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13982
14533
  }>>>>;
13983
14534
  }, z.core.$strip>>>;
13984
14535
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13985
- name: z.ZodString;
13986
14536
  id: z.ZodString;
13987
- description: z.ZodString;
14537
+ name: z.ZodString;
14538
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13988
14539
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
13989
14540
  }, {
13990
14541
  out: {};
13991
14542
  in: {};
13992
14543
  }>>>;
13993
14544
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13994
- name: z.ZodString;
13995
14545
  id: z.ZodString;
14546
+ name: z.ZodString;
14547
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14548
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13996
14549
  createdAt: z.ZodOptional<z.ZodString>;
13997
14550
  updatedAt: z.ZodOptional<z.ZodString>;
13998
- description: z.ZodString;
13999
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14000
14551
  baseUrl: z.ZodString;
14001
14552
  }, z.core.$strip>>>;
14002
14553
  statusUpdates: z.ZodOptional<z.ZodObject<{
@@ -14015,12 +14566,15 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14015
14566
  }, z.core.$strip>>>;
14016
14567
  }, z.core.$strip>>;
14017
14568
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14018
- name: z.ZodString;
14019
14569
  id: z.ZodString;
14570
+ name: z.ZodString;
14020
14571
  createdAt: z.ZodOptional<z.ZodString>;
14021
14572
  updatedAt: z.ZodOptional<z.ZodString>;
14022
14573
  credentialStoreId: z.ZodString;
14023
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>>;
14024
14578
  type: z.ZodEnum<{
14025
14579
  readonly memory: "memory";
14026
14580
  readonly keychain: "keychain";
@@ -14035,11 +14589,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14035
14589
  }>;
14036
14590
  declare const ProjectResponse: z.ZodObject<{
14037
14591
  data: z.ZodObject<{
14038
- name: z.ZodString;
14039
14592
  id: z.ZodString;
14593
+ name: z.ZodString;
14594
+ description: z.ZodNullable<z.ZodString>;
14040
14595
  createdAt: z.ZodString;
14041
14596
  updatedAt: z.ZodString;
14042
- description: z.ZodString;
14043
14597
  models: z.ZodNullable<z.ZodObject<{
14044
14598
  base: z.ZodObject<{
14045
14599
  model: z.ZodOptional<z.ZodString>;
@@ -14065,11 +14619,12 @@ declare const ProjectResponse: z.ZodObject<{
14065
14619
  }, z.core.$strip>;
14066
14620
  declare const SubAgentResponse: z.ZodObject<{
14067
14621
  data: z.ZodObject<{
14068
- name: z.ZodString;
14069
14622
  id: z.ZodString;
14623
+ name: z.ZodString;
14624
+ description: z.ZodNullable<z.ZodString>;
14625
+ prompt: z.ZodNullable<z.ZodString>;
14070
14626
  createdAt: z.ZodString;
14071
14627
  updatedAt: z.ZodString;
14072
- description: z.ZodString;
14073
14628
  models: z.ZodNullable<z.ZodType<{
14074
14629
  base?: {
14075
14630
  model?: string | undefined;
@@ -14132,17 +14687,17 @@ declare const SubAgentResponse: z.ZodObject<{
14132
14687
  }, {
14133
14688
  stepCountIs?: number | undefined;
14134
14689
  }>>>;
14135
- prompt: z.ZodString;
14136
14690
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
14137
14691
  }, z.core.$strip>;
14138
14692
  }, z.core.$strip>;
14139
14693
  declare const AgentResponse: z.ZodObject<{
14140
14694
  data: z.ZodObject<{
14141
- name: z.ZodString;
14142
14695
  id: z.ZodString;
14696
+ name: z.ZodString;
14697
+ description: z.ZodNullable<z.ZodString>;
14698
+ prompt: z.ZodNullable<z.ZodString>;
14143
14699
  createdAt: z.ZodString;
14144
14700
  updatedAt: z.ZodString;
14145
- description: z.ZodNullable<z.ZodString>;
14146
14701
  models: z.ZodNullable<z.ZodType<{
14147
14702
  base?: {
14148
14703
  model?: string | undefined;
@@ -14207,7 +14762,6 @@ declare const AgentResponse: z.ZodObject<{
14207
14762
  }>>>;
14208
14763
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
14209
14764
  contextConfigId: z.ZodNullable<z.ZodString>;
14210
- prompt: z.ZodNullable<z.ZodString>;
14211
14765
  statusUpdates: z.ZodNullable<z.ZodType<{
14212
14766
  enabled?: boolean | undefined;
14213
14767
  numEvents?: number | undefined;
@@ -14269,12 +14823,9 @@ declare const AgentResponse: z.ZodObject<{
14269
14823
  }, z.core.$strip>;
14270
14824
  declare const ToolResponse: z.ZodObject<{
14271
14825
  data: z.ZodObject<{
14272
- name: z.ZodString;
14273
14826
  id: z.ZodString;
14274
- createdAt: z.ZodString;
14275
- updatedAt: z.ZodString;
14827
+ name: z.ZodString;
14276
14828
  description: z.ZodNullable<z.ZodString>;
14277
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
14278
14829
  config: z.ZodType<{
14279
14830
  type: "mcp";
14280
14831
  mcp: ToolMcpConfig;
@@ -14288,20 +14839,24 @@ declare const ToolResponse: z.ZodObject<{
14288
14839
  type: "mcp";
14289
14840
  mcp: ToolMcpConfig;
14290
14841
  }>>;
14291
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
14292
14842
  credentialReferenceId: z.ZodNullable<z.ZodString>;
14843
+ createdAt: z.ZodString;
14844
+ updatedAt: z.ZodString;
14845
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
14846
+ capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
14847
+ credentialScope: z.ZodString;
14293
14848
  imageUrl: z.ZodNullable<z.ZodString>;
14294
14849
  lastError: z.ZodNullable<z.ZodString>;
14295
14850
  }, z.core.$strip>;
14296
14851
  }, z.core.$strip>;
14297
14852
  declare const ExternalAgentResponse: z.ZodObject<{
14298
14853
  data: z.ZodObject<{
14299
- name: z.ZodString;
14300
14854
  id: z.ZodString;
14855
+ name: z.ZodString;
14856
+ description: z.ZodNullable<z.ZodString>;
14857
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14301
14858
  createdAt: z.ZodString;
14302
14859
  updatedAt: z.ZodString;
14303
- description: z.ZodString;
14304
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14305
14860
  baseUrl: z.ZodString;
14306
14861
  }, z.core.$strip>;
14307
14862
  }, z.core.$strip>;
@@ -14316,15 +14871,15 @@ declare const ContextConfigResponse: z.ZodObject<{
14316
14871
  }, z.core.$strip>;
14317
14872
  declare const ApiKeyResponse: z.ZodObject<{
14318
14873
  data: z.ZodObject<{
14319
- name: z.ZodNullable<z.ZodString>;
14320
14874
  id: z.ZodString;
14321
- createdAt: z.ZodString;
14322
- updatedAt: z.ZodString;
14323
- expiresAt: z.ZodNullable<z.ZodString>;
14875
+ name: z.ZodNullable<z.ZodString>;
14324
14876
  agentId: z.ZodString;
14325
14877
  publicId: z.ZodString;
14326
14878
  keyPrefix: z.ZodString;
14327
14879
  lastUsedAt: z.ZodNullable<z.ZodString>;
14880
+ expiresAt: z.ZodNullable<z.ZodString>;
14881
+ createdAt: z.ZodString;
14882
+ updatedAt: z.ZodString;
14328
14883
  }, {
14329
14884
  out: {};
14330
14885
  in: {};
@@ -14332,12 +14887,15 @@ declare const ApiKeyResponse: z.ZodObject<{
14332
14887
  }, z.core.$strip>;
14333
14888
  declare const CredentialReferenceResponse: z.ZodObject<{
14334
14889
  data: z.ZodObject<{
14335
- name: z.ZodString;
14336
14890
  id: z.ZodString;
14891
+ name: z.ZodString;
14337
14892
  createdAt: z.ZodString;
14338
14893
  updatedAt: z.ZodString;
14339
14894
  credentialStoreId: z.ZodString;
14340
- 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>;
14341
14899
  type: z.ZodEnum<{
14342
14900
  readonly memory: "memory";
14343
14901
  readonly keychain: "keychain";
@@ -14434,20 +14992,39 @@ declare const CredentialReferenceResponse: z.ZodObject<{
14434
14992
  identity: undefined;
14435
14993
  generated: undefined;
14436
14994
  }, {}, {
14437
- $type: {
14438
- type: "mcp";
14439
- mcp: ToolMcpConfig;
14440
- };
14995
+ $type: {
14996
+ type: "mcp";
14997
+ mcp: ToolMcpConfig;
14998
+ };
14999
+ }>;
15000
+ credentialReferenceId: drizzle_orm_pg_core.PgColumn<{
15001
+ name: "credential_reference_id";
15002
+ tableName: "tools";
15003
+ dataType: "string";
15004
+ columnType: "PgVarchar";
15005
+ data: string;
15006
+ driverParam: string;
15007
+ notNull: false;
15008
+ hasDefault: false;
15009
+ isPrimaryKey: false;
15010
+ isAutoincrement: false;
15011
+ hasRuntimeDefault: false;
15012
+ enumValues: [string, ...string[]];
15013
+ baseColumn: never;
15014
+ identity: undefined;
15015
+ generated: undefined;
15016
+ }, {}, {
15017
+ length: 256;
14441
15018
  }>;
14442
- credentialReferenceId: drizzle_orm_pg_core.PgColumn<{
14443
- name: "credential_reference_id";
15019
+ credentialScope: drizzle_orm_pg_core.PgColumn<{
15020
+ name: "credential_scope";
14444
15021
  tableName: "tools";
14445
15022
  dataType: "string";
14446
15023
  columnType: "PgVarchar";
14447
15024
  data: string;
14448
15025
  driverParam: string;
14449
- notNull: false;
14450
- hasDefault: false;
15026
+ notNull: true;
15027
+ hasDefault: true;
14451
15028
  isPrimaryKey: false;
14452
15029
  isAutoincrement: false;
14453
15030
  hasRuntimeDefault: false;
@@ -14456,7 +15033,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
14456
15033
  identity: undefined;
14457
15034
  generated: undefined;
14458
15035
  }, {}, {
14459
- length: 256;
15036
+ length: 50;
14460
15037
  }>;
14461
15038
  headers: drizzle_orm_pg_core.PgColumn<{
14462
15039
  name: "headers";
@@ -14702,6 +15279,25 @@ declare const CredentialReferenceResponse: z.ZodObject<{
14702
15279
  }, {}, {
14703
15280
  length: 256;
14704
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
+ }>;
14705
15301
  headers: drizzle_orm_pg_core.PgColumn<{
14706
15302
  name: "headers";
14707
15303
  tableName: "tools";
@@ -14837,7 +15433,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
14837
15433
  updatedAt: z.ZodString;
14838
15434
  baseUrl: z.ZodString;
14839
15435
  name: z.ZodString;
14840
- description: z.ZodString;
15436
+ description: z.ZodNullable<z.ZodString>;
14841
15437
  projectId: z.ZodString;
14842
15438
  tenantId: z.ZodString;
14843
15439
  id: z.ZodString;
@@ -14860,22 +15456,22 @@ declare const FunctionResponse: z.ZodObject<{
14860
15456
  }, z.core.$strip>;
14861
15457
  declare const FunctionToolResponse: z.ZodObject<{
14862
15458
  data: z.ZodObject<{
14863
- name: z.ZodString;
14864
15459
  id: z.ZodString;
14865
- createdAt: z.ZodString;
14866
- updatedAt: z.ZodString;
15460
+ name: z.ZodString;
14867
15461
  description: z.ZodNullable<z.ZodString>;
14868
15462
  agentId: z.ZodString;
15463
+ createdAt: z.ZodString;
15464
+ updatedAt: z.ZodString;
14869
15465
  functionId: z.ZodString;
14870
15466
  }, z.core.$strip>;
14871
15467
  }, z.core.$strip>;
14872
15468
  declare const DataComponentResponse: z.ZodObject<{
14873
15469
  data: z.ZodObject<{
14874
- name: z.ZodString;
14875
15470
  id: z.ZodString;
15471
+ name: z.ZodString;
15472
+ description: z.ZodNullable<z.ZodString>;
14876
15473
  createdAt: z.ZodString;
14877
15474
  updatedAt: z.ZodString;
14878
- description: z.ZodString;
14879
15475
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
14880
15476
  render: z.ZodNullable<z.ZodType<{
14881
15477
  component: string;
@@ -14894,11 +15490,11 @@ declare const DataComponentResponse: z.ZodObject<{
14894
15490
  }, z.core.$strip>;
14895
15491
  declare const ArtifactComponentResponse: z.ZodObject<{
14896
15492
  data: z.ZodObject<{
14897
- name: z.ZodString;
14898
15493
  id: z.ZodString;
15494
+ name: z.ZodString;
15495
+ description: z.ZodNullable<z.ZodString>;
14899
15496
  createdAt: z.ZodString;
14900
15497
  updatedAt: z.ZodString;
14901
- description: z.ZodString;
14902
15498
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
14903
15499
  }, z.core.$strip>;
14904
15500
  }, z.core.$strip>;
@@ -14917,21 +15513,21 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
14917
15513
  id: z.ZodString;
14918
15514
  createdAt: z.ZodString;
14919
15515
  updatedAt: z.ZodString;
15516
+ toolId: z.ZodString;
14920
15517
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
15518
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
14921
15519
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
14922
15520
  subAgentId: z.ZodString;
14923
- toolId: z.ZodString;
14924
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
14925
15521
  }, z.core.$strip>;
14926
15522
  }, z.core.$strip>;
14927
15523
  declare const ConversationResponse: z.ZodObject<{
14928
15524
  data: z.ZodObject<{
14929
15525
  id: z.ZodString;
15526
+ title: z.ZodNullable<z.ZodString>;
14930
15527
  createdAt: z.ZodString;
14931
15528
  updatedAt: z.ZodString;
14932
15529
  userId: z.ZodNullable<z.ZodString>;
14933
15530
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
14934
- title: z.ZodNullable<z.ZodString>;
14935
15531
  activeSubAgentId: z.ZodString;
14936
15532
  lastContextResolution: z.ZodNullable<z.ZodString>;
14937
15533
  }, z.core.$strip>;
@@ -14942,8 +15538,9 @@ declare const MessageResponse: z.ZodObject<{
14942
15538
  createdAt: z.ZodString;
14943
15539
  updatedAt: z.ZodString;
14944
15540
  metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
14945
- role: z.ZodString;
14946
15541
  content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
15542
+ role: z.ZodString;
15543
+ taskId: z.ZodNullable<z.ZodString>;
14947
15544
  conversationId: z.ZodString;
14948
15545
  fromSubAgentId: z.ZodNullable<z.ZodString>;
14949
15546
  toSubAgentId: z.ZodNullable<z.ZodString>;
@@ -14953,7 +15550,6 @@ declare const MessageResponse: z.ZodObject<{
14953
15550
  toTeamAgentId: z.ZodNullable<z.ZodString>;
14954
15551
  visibility: z.ZodString;
14955
15552
  messageType: z.ZodString;
14956
- taskId: z.ZodNullable<z.ZodString>;
14957
15553
  parentMessageId: z.ZodNullable<z.ZodString>;
14958
15554
  a2aTaskId: z.ZodNullable<z.ZodString>;
14959
15555
  a2aSessionId: z.ZodNullable<z.ZodString>;
@@ -14961,11 +15557,11 @@ declare const MessageResponse: z.ZodObject<{
14961
15557
  }, z.core.$strip>;
14962
15558
  declare const ProjectListResponse: z.ZodObject<{
14963
15559
  data: z.ZodArray<z.ZodObject<{
14964
- name: z.ZodString;
14965
15560
  id: z.ZodString;
15561
+ name: z.ZodString;
15562
+ description: z.ZodNullable<z.ZodString>;
14966
15563
  createdAt: z.ZodString;
14967
15564
  updatedAt: z.ZodString;
14968
- description: z.ZodString;
14969
15565
  models: z.ZodNullable<z.ZodObject<{
14970
15566
  base: z.ZodObject<{
14971
15567
  model: z.ZodOptional<z.ZodString>;
@@ -14997,11 +15593,12 @@ declare const ProjectListResponse: z.ZodObject<{
14997
15593
  }, z.core.$strip>;
14998
15594
  declare const SubAgentListResponse: z.ZodObject<{
14999
15595
  data: z.ZodArray<z.ZodObject<{
15000
- name: z.ZodString;
15001
15596
  id: z.ZodString;
15597
+ name: z.ZodString;
15598
+ description: z.ZodNullable<z.ZodString>;
15599
+ prompt: z.ZodNullable<z.ZodString>;
15002
15600
  createdAt: z.ZodString;
15003
15601
  updatedAt: z.ZodString;
15004
- description: z.ZodString;
15005
15602
  models: z.ZodNullable<z.ZodType<{
15006
15603
  base?: {
15007
15604
  model?: string | undefined;
@@ -15064,7 +15661,6 @@ declare const SubAgentListResponse: z.ZodObject<{
15064
15661
  }, {
15065
15662
  stepCountIs?: number | undefined;
15066
15663
  }>>>;
15067
- prompt: z.ZodString;
15068
15664
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
15069
15665
  }, z.core.$strip>>;
15070
15666
  pagination: z.ZodObject<{
@@ -15076,11 +15672,12 @@ declare const SubAgentListResponse: z.ZodObject<{
15076
15672
  }, z.core.$strip>;
15077
15673
  declare const AgentListResponse: z.ZodObject<{
15078
15674
  data: z.ZodArray<z.ZodObject<{
15079
- name: z.ZodString;
15080
15675
  id: z.ZodString;
15676
+ name: z.ZodString;
15677
+ description: z.ZodNullable<z.ZodString>;
15678
+ prompt: z.ZodNullable<z.ZodString>;
15081
15679
  createdAt: z.ZodString;
15082
15680
  updatedAt: z.ZodString;
15083
- description: z.ZodNullable<z.ZodString>;
15084
15681
  models: z.ZodNullable<z.ZodType<{
15085
15682
  base?: {
15086
15683
  model?: string | undefined;
@@ -15145,7 +15742,6 @@ declare const AgentListResponse: z.ZodObject<{
15145
15742
  }>>>;
15146
15743
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
15147
15744
  contextConfigId: z.ZodNullable<z.ZodString>;
15148
- prompt: z.ZodNullable<z.ZodString>;
15149
15745
  statusUpdates: z.ZodNullable<z.ZodType<{
15150
15746
  enabled?: boolean | undefined;
15151
15747
  numEvents?: number | undefined;
@@ -15213,12 +15809,9 @@ declare const AgentListResponse: z.ZodObject<{
15213
15809
  }, z.core.$strip>;
15214
15810
  declare const ToolListResponse: z.ZodObject<{
15215
15811
  data: z.ZodArray<z.ZodObject<{
15216
- name: z.ZodString;
15217
15812
  id: z.ZodString;
15218
- createdAt: z.ZodString;
15219
- updatedAt: z.ZodString;
15813
+ name: z.ZodString;
15220
15814
  description: z.ZodNullable<z.ZodString>;
15221
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
15222
15815
  config: z.ZodType<{
15223
15816
  type: "mcp";
15224
15817
  mcp: ToolMcpConfig;
@@ -15232,8 +15825,12 @@ declare const ToolListResponse: z.ZodObject<{
15232
15825
  type: "mcp";
15233
15826
  mcp: ToolMcpConfig;
15234
15827
  }>>;
15235
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
15236
15828
  credentialReferenceId: z.ZodNullable<z.ZodString>;
15829
+ createdAt: z.ZodString;
15830
+ updatedAt: z.ZodString;
15831
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
15832
+ capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
15833
+ credentialScope: z.ZodString;
15237
15834
  imageUrl: z.ZodNullable<z.ZodString>;
15238
15835
  lastError: z.ZodNullable<z.ZodString>;
15239
15836
  }, z.core.$strip>>;
@@ -15246,12 +15843,12 @@ declare const ToolListResponse: z.ZodObject<{
15246
15843
  }, z.core.$strip>;
15247
15844
  declare const ExternalAgentListResponse: z.ZodObject<{
15248
15845
  data: z.ZodArray<z.ZodObject<{
15249
- name: z.ZodString;
15250
15846
  id: z.ZodString;
15847
+ name: z.ZodString;
15848
+ description: z.ZodNullable<z.ZodString>;
15849
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15251
15850
  createdAt: z.ZodString;
15252
15851
  updatedAt: z.ZodString;
15253
- description: z.ZodString;
15254
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15255
15852
  baseUrl: z.ZodString;
15256
15853
  }, z.core.$strip>>;
15257
15854
  pagination: z.ZodObject<{
@@ -15278,15 +15875,15 @@ declare const ContextConfigListResponse: z.ZodObject<{
15278
15875
  }, z.core.$strip>;
15279
15876
  declare const ApiKeyListResponse: z.ZodObject<{
15280
15877
  data: z.ZodArray<z.ZodObject<{
15281
- name: z.ZodNullable<z.ZodString>;
15282
15878
  id: z.ZodString;
15283
- createdAt: z.ZodString;
15284
- updatedAt: z.ZodString;
15285
- expiresAt: z.ZodNullable<z.ZodString>;
15879
+ name: z.ZodNullable<z.ZodString>;
15286
15880
  agentId: z.ZodString;
15287
15881
  publicId: z.ZodString;
15288
15882
  keyPrefix: z.ZodString;
15289
15883
  lastUsedAt: z.ZodNullable<z.ZodString>;
15884
+ expiresAt: z.ZodNullable<z.ZodString>;
15885
+ createdAt: z.ZodString;
15886
+ updatedAt: z.ZodString;
15290
15887
  }, {
15291
15888
  out: {};
15292
15889
  in: {};
@@ -15300,12 +15897,15 @@ declare const ApiKeyListResponse: z.ZodObject<{
15300
15897
  }, z.core.$strip>;
15301
15898
  declare const CredentialReferenceListResponse: z.ZodObject<{
15302
15899
  data: z.ZodArray<z.ZodObject<{
15303
- name: z.ZodString;
15304
15900
  id: z.ZodString;
15901
+ name: z.ZodString;
15305
15902
  createdAt: z.ZodString;
15306
15903
  updatedAt: z.ZodString;
15307
15904
  credentialStoreId: z.ZodString;
15308
- 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>;
15309
15909
  type: z.ZodEnum<{
15310
15910
  readonly memory: "memory";
15311
15911
  readonly keychain: "keychain";
@@ -15426,6 +16026,25 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
15426
16026
  }, {}, {
15427
16027
  length: 256;
15428
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
+ }>;
15429
16048
  headers: drizzle_orm_pg_core.PgColumn<{
15430
16049
  name: "headers";
15431
16050
  tableName: "tools";
@@ -15670,6 +16289,25 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
15670
16289
  }, {}, {
15671
16290
  length: 256;
15672
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
+ }>;
15673
16311
  headers: drizzle_orm_pg_core.PgColumn<{
15674
16312
  name: "headers";
15675
16313
  tableName: "tools";
@@ -15805,7 +16443,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
15805
16443
  updatedAt: z.ZodString;
15806
16444
  baseUrl: z.ZodString;
15807
16445
  name: z.ZodString;
15808
- description: z.ZodString;
16446
+ description: z.ZodNullable<z.ZodString>;
15809
16447
  projectId: z.ZodString;
15810
16448
  tenantId: z.ZodString;
15811
16449
  id: z.ZodString;
@@ -15840,12 +16478,12 @@ declare const FunctionListResponse: z.ZodObject<{
15840
16478
  }, z.core.$strip>;
15841
16479
  declare const FunctionToolListResponse: z.ZodObject<{
15842
16480
  data: z.ZodArray<z.ZodObject<{
15843
- name: z.ZodString;
15844
16481
  id: z.ZodString;
15845
- createdAt: z.ZodString;
15846
- updatedAt: z.ZodString;
16482
+ name: z.ZodString;
15847
16483
  description: z.ZodNullable<z.ZodString>;
15848
16484
  agentId: z.ZodString;
16485
+ createdAt: z.ZodString;
16486
+ updatedAt: z.ZodString;
15849
16487
  functionId: z.ZodString;
15850
16488
  }, z.core.$strip>>;
15851
16489
  pagination: z.ZodObject<{
@@ -15857,11 +16495,11 @@ declare const FunctionToolListResponse: z.ZodObject<{
15857
16495
  }, z.core.$strip>;
15858
16496
  declare const DataComponentListResponse: z.ZodObject<{
15859
16497
  data: z.ZodArray<z.ZodObject<{
15860
- name: z.ZodString;
15861
16498
  id: z.ZodString;
16499
+ name: z.ZodString;
16500
+ description: z.ZodNullable<z.ZodString>;
15862
16501
  createdAt: z.ZodString;
15863
16502
  updatedAt: z.ZodString;
15864
- description: z.ZodString;
15865
16503
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
15866
16504
  render: z.ZodNullable<z.ZodType<{
15867
16505
  component: string;
@@ -15886,11 +16524,11 @@ declare const DataComponentListResponse: z.ZodObject<{
15886
16524
  }, z.core.$strip>;
15887
16525
  declare const ArtifactComponentListResponse: z.ZodObject<{
15888
16526
  data: z.ZodArray<z.ZodObject<{
15889
- name: z.ZodString;
15890
16527
  id: z.ZodString;
16528
+ name: z.ZodString;
16529
+ description: z.ZodNullable<z.ZodString>;
15891
16530
  createdAt: z.ZodString;
15892
16531
  updatedAt: z.ZodString;
15893
- description: z.ZodString;
15894
16532
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
15895
16533
  }, z.core.$strip>>;
15896
16534
  pagination: z.ZodObject<{
@@ -15921,11 +16559,11 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
15921
16559
  id: z.ZodString;
15922
16560
  createdAt: z.ZodString;
15923
16561
  updatedAt: z.ZodString;
16562
+ toolId: z.ZodString;
15924
16563
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
16564
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
15925
16565
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
15926
16566
  subAgentId: z.ZodString;
15927
- toolId: z.ZodString;
15928
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
15929
16567
  }, z.core.$strip>>;
15930
16568
  pagination: z.ZodObject<{
15931
16569
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -15937,11 +16575,11 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
15937
16575
  declare const ConversationListResponse: z.ZodObject<{
15938
16576
  data: z.ZodArray<z.ZodObject<{
15939
16577
  id: z.ZodString;
16578
+ title: z.ZodNullable<z.ZodString>;
15940
16579
  createdAt: z.ZodString;
15941
16580
  updatedAt: z.ZodString;
15942
16581
  userId: z.ZodNullable<z.ZodString>;
15943
16582
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
15944
- title: z.ZodNullable<z.ZodString>;
15945
16583
  activeSubAgentId: z.ZodString;
15946
16584
  lastContextResolution: z.ZodNullable<z.ZodString>;
15947
16585
  }, z.core.$strip>>;
@@ -15958,8 +16596,9 @@ declare const MessageListResponse: z.ZodObject<{
15958
16596
  createdAt: z.ZodString;
15959
16597
  updatedAt: z.ZodString;
15960
16598
  metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
15961
- role: z.ZodString;
15962
16599
  content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
16600
+ role: z.ZodString;
16601
+ taskId: z.ZodNullable<z.ZodString>;
15963
16602
  conversationId: z.ZodString;
15964
16603
  fromSubAgentId: z.ZodNullable<z.ZodString>;
15965
16604
  toSubAgentId: z.ZodNullable<z.ZodString>;
@@ -15969,7 +16608,6 @@ declare const MessageListResponse: z.ZodObject<{
15969
16608
  toTeamAgentId: z.ZodNullable<z.ZodString>;
15970
16609
  visibility: z.ZodString;
15971
16610
  messageType: z.ZodString;
15972
- taskId: z.ZodNullable<z.ZodString>;
15973
16611
  parentMessageId: z.ZodNullable<z.ZodString>;
15974
16612
  a2aTaskId: z.ZodNullable<z.ZodString>;
15975
16613
  a2aSessionId: z.ZodNullable<z.ZodString>;
@@ -16027,9 +16665,9 @@ declare const SubAgentArtifactComponentListResponse: z.ZodObject<{
16027
16665
  }, z.core.$strip>;
16028
16666
  declare const FullProjectDefinitionResponse: z.ZodObject<{
16029
16667
  data: z.ZodObject<{
16030
- name: z.ZodString;
16031
16668
  id: z.ZodString;
16032
- description: z.ZodString;
16669
+ name: z.ZodString;
16670
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16033
16671
  models: z.ZodObject<{
16034
16672
  base: z.ZodObject<{
16035
16673
  model: z.ZodOptional<z.ZodString>;
@@ -16050,18 +16688,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16050
16688
  }, z.core.$strip>>;
16051
16689
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
16052
16690
  name: z.ZodString;
16691
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16053
16692
  createdAt: z.ZodOptional<z.ZodString>;
16054
16693
  updatedAt: z.ZodOptional<z.ZodString>;
16055
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16056
16694
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16057
16695
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16058
16696
  id: z.ZodString;
16059
16697
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
16060
- name: z.ZodString;
16061
16698
  id: z.ZodString;
16699
+ name: z.ZodString;
16700
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16062
16701
  createdAt: z.ZodOptional<z.ZodString>;
16063
16702
  updatedAt: z.ZodOptional<z.ZodString>;
16064
- description: z.ZodString;
16065
16703
  models: z.ZodOptional<z.ZodObject<{
16066
16704
  base: z.ZodOptional<z.ZodObject<{
16067
16705
  model: z.ZodOptional<z.ZodString>;
@@ -16099,7 +16737,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16099
16737
  dataComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
16100
16738
  artifactComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
16101
16739
  canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
16102
- prompt: z.ZodString;
16740
+ prompt: z.ZodOptional<z.ZodString>;
16103
16741
  canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
16104
16742
  externalAgentId: z.ZodString;
16105
16743
  subAgentExternalAgentRelationId: z.ZodOptional<z.ZodString>;
@@ -16111,12 +16749,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16111
16749
  }, z.core.$strip>]>>>;
16112
16750
  }, z.core.$strip>>;
16113
16751
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16114
- name: z.ZodString;
16115
16752
  id: z.ZodString;
16116
- createdAt: z.ZodOptional<z.ZodString>;
16117
- updatedAt: z.ZodOptional<z.ZodString>;
16753
+ name: z.ZodString;
16118
16754
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16119
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16120
16755
  config: z.ZodObject<{
16121
16756
  type: z.ZodLiteral<"mcp">;
16122
16757
  mcp: z.ZodObject<{
@@ -16136,18 +16771,22 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16136
16771
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
16137
16772
  }, z.core.$strip>;
16138
16773
  }, z.core.$strip>;
16139
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
16140
16774
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16775
+ createdAt: z.ZodOptional<z.ZodString>;
16776
+ updatedAt: z.ZodOptional<z.ZodString>;
16777
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16778
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
16779
+ credentialScope: z.ZodOptional<z.ZodString>;
16141
16780
  imageUrl: z.ZodOptional<z.ZodString>;
16142
16781
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16143
16782
  }, z.core.$strip>>>;
16144
16783
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16145
- name: z.ZodString;
16146
16784
  id: z.ZodString;
16785
+ name: z.ZodString;
16786
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16787
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16147
16788
  createdAt: z.ZodOptional<z.ZodString>;
16148
16789
  updatedAt: z.ZodOptional<z.ZodString>;
16149
- description: z.ZodString;
16150
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16151
16790
  baseUrl: z.ZodString;
16152
16791
  }, z.core.$strip>>>;
16153
16792
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16156,11 +16795,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16156
16795
  description: z.ZodString;
16157
16796
  }, z.core.$strip>>>;
16158
16797
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16159
- name: z.ZodString;
16160
16798
  id: z.ZodString;
16799
+ name: z.ZodString;
16800
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16161
16801
  createdAt: z.ZodOptional<z.ZodString>;
16162
16802
  updatedAt: z.ZodOptional<z.ZodString>;
16163
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16164
16803
  functionId: z.ZodString;
16165
16804
  }, z.core.$strip>>>;
16166
16805
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16211,12 +16850,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16211
16850
  prompt: z.ZodOptional<z.ZodString>;
16212
16851
  }, z.core.$strip>>;
16213
16852
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
16214
- name: z.ZodString;
16215
16853
  id: z.ZodString;
16216
- createdAt: z.ZodOptional<z.ZodString>;
16217
- updatedAt: z.ZodOptional<z.ZodString>;
16854
+ name: z.ZodString;
16218
16855
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16219
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16220
16856
  config: z.ZodObject<{
16221
16857
  type: z.ZodLiteral<"mcp">;
16222
16858
  mcp: z.ZodObject<{
@@ -16236,17 +16872,21 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16236
16872
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
16237
16873
  }, z.core.$strip>;
16238
16874
  }, z.core.$strip>;
16239
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
16240
16875
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16876
+ createdAt: z.ZodOptional<z.ZodString>;
16877
+ updatedAt: z.ZodOptional<z.ZodString>;
16878
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16879
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
16880
+ credentialScope: z.ZodOptional<z.ZodString>;
16241
16881
  imageUrl: z.ZodOptional<z.ZodString>;
16242
16882
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16243
16883
  }, z.core.$strip>>;
16244
16884
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16245
- name: z.ZodString;
16246
16885
  id: z.ZodString;
16886
+ name: z.ZodString;
16887
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16247
16888
  createdAt: z.ZodOptional<z.ZodString>;
16248
16889
  updatedAt: z.ZodOptional<z.ZodString>;
16249
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16250
16890
  functionId: z.ZodString;
16251
16891
  }, z.core.$strip>>>;
16252
16892
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16258,11 +16898,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16258
16898
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16259
16899
  }, z.core.$strip>>>;
16260
16900
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16261
- name: z.ZodString;
16262
16901
  id: z.ZodString;
16902
+ name: z.ZodString;
16903
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16263
16904
  createdAt: z.ZodOptional<z.ZodString>;
16264
16905
  updatedAt: z.ZodOptional<z.ZodString>;
16265
- description: z.ZodString;
16266
16906
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
16267
16907
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
16268
16908
  component: string;
@@ -16279,21 +16919,21 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16279
16919
  }>>>>;
16280
16920
  }, z.core.$strip>>>;
16281
16921
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16282
- name: z.ZodString;
16283
16922
  id: z.ZodString;
16284
- description: z.ZodString;
16923
+ name: z.ZodString;
16924
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16285
16925
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
16286
16926
  }, {
16287
16927
  out: {};
16288
16928
  in: {};
16289
16929
  }>>>;
16290
16930
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16291
- name: z.ZodString;
16292
16931
  id: z.ZodString;
16932
+ name: z.ZodString;
16933
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16934
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16293
16935
  createdAt: z.ZodOptional<z.ZodString>;
16294
16936
  updatedAt: z.ZodOptional<z.ZodString>;
16295
- description: z.ZodString;
16296
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16297
16937
  baseUrl: z.ZodString;
16298
16938
  }, z.core.$strip>>>;
16299
16939
  statusUpdates: z.ZodOptional<z.ZodObject<{
@@ -16312,12 +16952,15 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16312
16952
  }, z.core.$strip>>>;
16313
16953
  }, z.core.$strip>>;
16314
16954
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16315
- name: z.ZodString;
16316
16955
  id: z.ZodString;
16956
+ name: z.ZodString;
16317
16957
  createdAt: z.ZodOptional<z.ZodString>;
16318
16958
  updatedAt: z.ZodOptional<z.ZodString>;
16319
16959
  credentialStoreId: z.ZodString;
16320
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>>;
16321
16964
  type: z.ZodEnum<{
16322
16965
  readonly memory: "memory";
16323
16966
  readonly keychain: "keychain";
@@ -16334,18 +16977,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16334
16977
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16335
16978
  data: z.ZodObject<{
16336
16979
  name: z.ZodString;
16980
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16337
16981
  createdAt: z.ZodOptional<z.ZodString>;
16338
16982
  updatedAt: z.ZodOptional<z.ZodString>;
16339
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16340
16983
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16341
16984
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16342
16985
  id: z.ZodString;
16343
16986
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
16344
- name: z.ZodString;
16345
16987
  id: z.ZodString;
16988
+ name: z.ZodString;
16989
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16346
16990
  createdAt: z.ZodOptional<z.ZodString>;
16347
16991
  updatedAt: z.ZodOptional<z.ZodString>;
16348
- description: z.ZodString;
16349
16992
  models: z.ZodOptional<z.ZodObject<{
16350
16993
  base: z.ZodOptional<z.ZodObject<{
16351
16994
  model: z.ZodOptional<z.ZodString>;
@@ -16383,7 +17026,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16383
17026
  dataComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
16384
17027
  artifactComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
16385
17028
  canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
16386
- prompt: z.ZodString;
17029
+ prompt: z.ZodOptional<z.ZodString>;
16387
17030
  canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
16388
17031
  externalAgentId: z.ZodString;
16389
17032
  subAgentExternalAgentRelationId: z.ZodOptional<z.ZodString>;
@@ -16395,12 +17038,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16395
17038
  }, z.core.$strip>]>>>;
16396
17039
  }, z.core.$strip>>;
16397
17040
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16398
- name: z.ZodString;
16399
17041
  id: z.ZodString;
16400
- createdAt: z.ZodOptional<z.ZodString>;
16401
- updatedAt: z.ZodOptional<z.ZodString>;
17042
+ name: z.ZodString;
16402
17043
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16403
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16404
17044
  config: z.ZodObject<{
16405
17045
  type: z.ZodLiteral<"mcp">;
16406
17046
  mcp: z.ZodObject<{
@@ -16420,18 +17060,22 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16420
17060
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
16421
17061
  }, z.core.$strip>;
16422
17062
  }, z.core.$strip>;
16423
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
16424
17063
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17064
+ createdAt: z.ZodOptional<z.ZodString>;
17065
+ updatedAt: z.ZodOptional<z.ZodString>;
17066
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17067
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
17068
+ credentialScope: z.ZodOptional<z.ZodString>;
16425
17069
  imageUrl: z.ZodOptional<z.ZodString>;
16426
17070
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16427
17071
  }, z.core.$strip>>>;
16428
17072
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16429
- name: z.ZodString;
16430
17073
  id: z.ZodString;
17074
+ name: z.ZodString;
17075
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17076
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16431
17077
  createdAt: z.ZodOptional<z.ZodString>;
16432
17078
  updatedAt: z.ZodOptional<z.ZodString>;
16433
- description: z.ZodString;
16434
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16435
17079
  baseUrl: z.ZodString;
16436
17080
  }, z.core.$strip>>>;
16437
17081
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16440,11 +17084,11 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16440
17084
  description: z.ZodString;
16441
17085
  }, z.core.$strip>>>;
16442
17086
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16443
- name: z.ZodString;
16444
17087
  id: z.ZodString;
17088
+ name: z.ZodString;
17089
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16445
17090
  createdAt: z.ZodOptional<z.ZodString>;
16446
17091
  updatedAt: z.ZodOptional<z.ZodString>;
16447
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16448
17092
  functionId: z.ZodString;
16449
17093
  }, z.core.$strip>>>;
16450
17094
  functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16499,7 +17143,7 @@ declare const RelatedAgentInfoListResponse: z.ZodObject<{
16499
17143
  data: z.ZodArray<z.ZodObject<{
16500
17144
  id: z.ZodString;
16501
17145
  name: z.ZodString;
16502
- description: z.ZodString;
17146
+ description: z.ZodNullable<z.ZodString>;
16503
17147
  }, z.core.$strip>>;
16504
17148
  pagination: z.ZodObject<{
16505
17149
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16521,6 +17165,7 @@ declare const McpToolResponse: z.ZodObject<{
16521
17165
  name: z.ZodString;
16522
17166
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16523
17167
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17168
+ credentialScope: z.ZodOptional<z.ZodString>;
16524
17169
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16525
17170
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
16526
17171
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -16560,6 +17205,7 @@ declare const McpToolResponse: z.ZodObject<{
16560
17205
  }>>;
16561
17206
  version: z.ZodOptional<z.ZodString>;
16562
17207
  expiresAt: z.ZodOptional<z.ZodString>;
17208
+ createdBy: z.ZodOptional<z.ZodString>;
16563
17209
  relationshipId: z.ZodOptional<z.ZodString>;
16564
17210
  }, {
16565
17211
  out: {};
@@ -16573,6 +17219,7 @@ declare const McpToolListResponse: z.ZodObject<{
16573
17219
  name: z.ZodString;
16574
17220
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16575
17221
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17222
+ credentialScope: z.ZodOptional<z.ZodString>;
16576
17223
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16577
17224
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
16578
17225
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -16612,6 +17259,7 @@ declare const McpToolListResponse: z.ZodObject<{
16612
17259
  }>>;
16613
17260
  version: z.ZodOptional<z.ZodString>;
16614
17261
  expiresAt: z.ZodOptional<z.ZodString>;
17262
+ createdBy: z.ZodOptional<z.ZodString>;
16615
17263
  relationshipId: z.ZodOptional<z.ZodString>;
16616
17264
  }, {
16617
17265
  out: {};
@@ -16656,8 +17304,8 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
16656
17304
  createdAt: z.ZodString;
16657
17305
  updatedAt: z.ZodString;
16658
17306
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
16659
- subAgentId: z.ZodString;
16660
17307
  externalAgentId: z.ZodString;
17308
+ subAgentId: z.ZodString;
16661
17309
  }, z.core.$strip>;
16662
17310
  }, z.core.$strip>;
16663
17311
  declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
@@ -16666,8 +17314,8 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
16666
17314
  createdAt: z.ZodString;
16667
17315
  updatedAt: z.ZodString;
16668
17316
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
16669
- subAgentId: z.ZodString;
16670
17317
  externalAgentId: z.ZodString;
17318
+ subAgentId: z.ZodString;
16671
17319
  }, z.core.$strip>>;
16672
17320
  pagination: z.ZodObject<{
16673
17321
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16678,11 +17326,11 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
16678
17326
  }, z.core.$strip>;
16679
17327
  declare const DataComponentArrayResponse: z.ZodObject<{
16680
17328
  data: z.ZodArray<z.ZodObject<{
16681
- name: z.ZodString;
16682
17329
  id: z.ZodString;
17330
+ name: z.ZodString;
17331
+ description: z.ZodNullable<z.ZodString>;
16683
17332
  createdAt: z.ZodString;
16684
17333
  updatedAt: z.ZodString;
16685
- description: z.ZodString;
16686
17334
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
16687
17335
  render: z.ZodNullable<z.ZodType<{
16688
17336
  component: string;
@@ -16701,11 +17349,11 @@ declare const DataComponentArrayResponse: z.ZodObject<{
16701
17349
  }, z.core.$strip>;
16702
17350
  declare const ArtifactComponentArrayResponse: z.ZodObject<{
16703
17351
  data: z.ZodArray<z.ZodObject<{
16704
- name: z.ZodString;
16705
17352
  id: z.ZodString;
17353
+ name: z.ZodString;
17354
+ description: z.ZodNullable<z.ZodString>;
16706
17355
  createdAt: z.ZodString;
16707
17356
  updatedAt: z.ZodString;
16708
- description: z.ZodString;
16709
17357
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
16710
17358
  }, z.core.$strip>>;
16711
17359
  }, z.core.$strip>;
@@ -17075,6 +17723,7 @@ type ContextFetchDefinition = {
17075
17723
  body?: Record<string, unknown>;
17076
17724
  transform?: string;
17077
17725
  timeout?: number;
17726
+ requiredToFetch?: Array<string>;
17078
17727
  };
17079
17728
  responseSchema?: Record<string, unknown>;
17080
17729
  defaultValue?: unknown;
@@ -17202,6 +17851,10 @@ interface ExecutionContext {
17202
17851
  metadata?: {
17203
17852
  teamDelegation?: boolean;
17204
17853
  originAgentId?: string;
17854
+ initiatedBy?: {
17855
+ type: 'user' | 'api_key';
17856
+ id: string;
17857
+ };
17205
17858
  };
17206
17859
  }
17207
17860
  /**
@@ -17256,4 +17909,4 @@ type Filter<T extends Record<string, unknown>> = T | {
17256
17909
  or: Array<Filter<T>>;
17257
17910
  };
17258
17911
 
17259
- export { type CredentialReferenceInsert as $, ApiKeyApiUpdateSchema as A, type AgentSelect as B, type ConversationHistoryConfig as C, type ApiKeySelect as D, type ApiKeyInsert as E, FunctionApiInsertSchema as F, type ApiKeyUpdate as G, type CreateApiKeyParams as H, type ApiKeyCreateResult as I, type ArtifactComponentSelect as J, type ArtifactComponentInsert as K, type ArtifactComponentUpdate as L, ModelSettingsSchema as M, type SubAgentScopeConfig as N, type ContextCacheSelect as O, type Part as P, type ContextCacheInsert as Q, type ContextConfigInsert as R, StopWhenSchema as S, type TaskMetadataConfig as T, type ContextConfigUpdate as U, type ConversationSelect as V, type ConversationInsert as W, type ConversationUpdate as X, type CredentialReferenceSelect as Y, type ToolSelect as Z, type ExternalAgentSelect as _, FullAgentAgentInsertSchema as a, type TaskStatusUpdateEvent as a$, type CredentialReferenceUpdate as a0, type DataComponentSelect as a1, type DataComponentInsert as a2, type DataComponentUpdate as a3, type ExternalAgentInsert as a4, type ExternalAgentUpdate as a5, type FunctionApiInsert as a6, type FunctionToolApiInsert as a7, type FunctionToolApiUpdate as a8, type Artifact as a9, PrebuiltMCPServerSchema as aA, type PartBase as aB, type TextPart as aC, type FileBase as aD, type FileWithBytes as aE, type FileWithUri as aF, type FilePart as aG, type DataPart as aH, TaskState as aI, type AgentCapabilities as aJ, type AgentProvider as aK, type AgentSkill as aL, type SecuritySchemeBase as aM, type APIKeySecurityScheme as aN, type HTTPAuthSecurityScheme as aO, type OAuthFlows as aP, type AuthorizationCodeOAuthFlow as aQ, type ClientCredentialsOAuthFlow as aR, type ImplicitOAuthFlow as aS, type PasswordOAuthFlow as aT, type OAuth2SecurityScheme as aU, type OpenIdConnectSecurityScheme as aV, type SecurityScheme as aW, type AgentCard as aX, type Message as aY, type TaskStatus as aZ, type Task as a_, type LedgerArtifactSelect as aa, type MessageVisibility as ab, type MessageInsert as ac, type MessageUpdate as ad, type FullProjectDefinition as ae, type ProjectInfo as af, type ProjectSelect as ag, type PaginationResult as ah, type ProjectResourceCounts as ai, type ProjectInsert as aj, type ProjectUpdate as ak, type SubAgentExternalAgentRelationInsert as al, type SubAgentRelationInsert as am, type SubAgentRelationUpdate as an, type SubAgentToolRelationUpdate as ao, type SubAgentInsert as ap, type SubAgentUpdate as aq, type SubAgentSelect as ar, type SubAgentTeamAgentRelationInsert as as, type TaskInsert as at, type TaskSelect as au, type McpTool as av, type ToolInsert as aw, type ToolUpdate as ax, type ExecutionContext as ay, type MessageSelect as az, AgentStopWhenSchema as b, type TaskApiInsert as b$, type TaskArtifactUpdateEvent as b0, type JSONParseError as b1, type InvalidRequestError as b2, type MethodNotFoundError as b3, type InvalidParamsError as b4, type InternalError as b5, type TaskNotFoundError as b6, type TaskNotCancelableError as b7, type PushNotificationNotSupportedError as b8, type UnsupportedOperationError as b9, type GetTaskSuccessResponse as bA, type GetTaskResponse as bB, type CancelTaskSuccessResponse as bC, type CancelTaskResponse as bD, type SetTaskPushNotificationConfigSuccessResponse as bE, type SetTaskPushNotificationConfigResponse as bF, type GetTaskPushNotificationConfigSuccessResponse as bG, type GetTaskPushNotificationConfigResponse as bH, type A2ARequest as bI, type A2AResponse as bJ, type MessagePart as bK, type TaskArtifact as bL, type SubAgentApiSelect as bM, type SubAgentApiInsert as bN, type SubAgentApiUpdate as bO, type SubAgentRelationSelect as bP, type SubAgentRelationApiSelect as bQ, type SubAgentRelationApiInsert as bR, type SubAgentRelationApiUpdate as bS, type SubAgentRelationQuery as bT, type ExternalSubAgentRelationInsert as bU, type ExternalSubAgentRelationApiInsert as bV, type AgentApiSelect as bW, type AgentApiInsert as bX, type AgentApiUpdate as bY, type TaskUpdate as bZ, type TaskApiSelect as b_, type ContentTypeNotSupportedError as ba, type InvalidAgentResponseError as bb, type A2AError as bc, type PushNotificationAuthenticationInfo as bd, type PushNotificationConfig as be, type TaskPushNotificationConfig as bf, type TaskIdParams as bg, type TaskQueryParams as bh, type MessageSendConfiguration as bi, type MessageSendParams as bj, type JSONRPCMessage as bk, type JSONRPCRequest as bl, type JSONRPCError as bm, type JSONRPCResult as bn, type JSONRPCErrorResponse as bo, type SendMessageRequest as bp, type SendStreamingMessageRequest as bq, type GetTaskRequest as br, type CancelTaskRequest as bs, type SetTaskPushNotificationConfigRequest as bt, type GetTaskPushNotificationConfigRequest as bu, type TaskResubscriptionRequest as bv, type SendMessageSuccessResponse as bw, type SendMessageResponse as bx, type SendStreamingMessageSuccessResponse as by, type SendStreamingMessageResponse as bz, SubAgentStopWhenSchema as c, type SubAgentToolRelationApiUpdate as c$, type TaskApiUpdate as c0, type TaskRelationSelect as c1, type TaskRelationInsert as c2, type TaskRelationUpdate as c3, type TaskRelationApiSelect as c4, type TaskRelationApiInsert as c5, type TaskRelationApiUpdate as c6, type ToolApiSelect as c7, type ToolApiInsert as c8, type ToolApiUpdate as c9, type SubAgentDataComponentUpdate as cA, type SubAgentDataComponentApiSelect as cB, type SubAgentDataComponentApiInsert as cC, type SubAgentDataComponentApiUpdate as cD, type ArtifactComponentApiSelect as cE, type ArtifactComponentApiInsert as cF, type ArtifactComponentApiUpdate as cG, type SubAgentArtifactComponentSelect as cH, type SubAgentArtifactComponentInsert as cI, type SubAgentArtifactComponentUpdate as cJ, type SubAgentArtifactComponentApiSelect as cK, type SubAgentArtifactComponentApiInsert as cL, type SubAgentArtifactComponentApiUpdate as cM, type ExternalAgentApiSelect as cN, type ExternalAgentApiInsert as cO, type ExternalAgentApiUpdate as cP, type AllAgentSelect as cQ, type ApiKeyApiSelect as cR, type ApiKeyApiInsert as cS, type ApiKeyApiUpdate as cT, type ApiKeyApiCreationResponse as cU, type CredentialReferenceApiSelect as cV, type CredentialReferenceApiUpdate as cW, type SubAgentToolRelationSelect as cX, type SubAgentToolRelationInsert as cY, type SubAgentToolRelationApiSelect as cZ, type SubAgentToolRelationApiInsert as c_, type FunctionSelect as ca, type FunctionInsert as cb, type FunctionUpdate as cc, type FunctionApiSelect as cd, type FunctionApiUpdate as ce, type FunctionToolApiSelect as cf, type ConversationApiSelect as cg, type ConversationApiInsert as ch, type ConversationApiUpdate as ci, type MessageApiSelect as cj, type MessageApiInsert as ck, type MessageApiUpdate as cl, type ContextConfigApiSelect as cm, type ContextConfigApiInsert as cn, type ContextConfigApiUpdate as co, type FetchDefinition as cp, type FetchConfig as cq, type ContextCacheUpdate as cr, type ContextCacheApiSelect as cs, type ContextCacheApiInsert as ct, type ContextCacheApiUpdate as cu, type DataComponentApiSelect as cv, type DataComponentApiInsert as cw, type DataComponentApiUpdate as cx, type SubAgentDataComponentSelect as cy, type SubAgentDataComponentInsert as cz, type StopWhen as d, ExternalSubAgentRelationApiInsertSchema as d$, type SubAgentExternalAgentRelationSelect as d0, type SubAgentExternalAgentRelationUpdate as d1, type SubAgentExternalAgentRelationApiSelect as d2, type SubAgentExternalAgentRelationApiInsert as d3, type SubAgentExternalAgentRelationApiUpdate as d4, type SubAgentTeamAgentRelationSelect as d5, type SubAgentTeamAgentRelationUpdate as d6, type SubAgentTeamAgentRelationApiSelect as d7, type SubAgentTeamAgentRelationApiInsert as d8, type SubAgentTeamAgentRelationApiUpdate as d9, type McpAuthType as dA, type McpServerAuth as dB, type McpTransportConfig as dC, type McpServerCapabilities as dD, type McpToolDefinition as dE, TOOL_STATUS_VALUES as dF, VALID_RELATION_TYPES as dG, MCPServerType as dH, type Filter as dI, ModelSchema as dJ, ProjectModelSchema as dK, FunctionToolConfigSchema as dL, type FunctionToolConfig as dM, SubAgentSelectSchema as dN, SubAgentInsertSchema as dO, SubAgentUpdateSchema as dP, SubAgentApiSelectSchema as dQ, SubAgentApiInsertSchema as dR, SubAgentApiUpdateSchema as dS, SubAgentRelationSelectSchema as dT, SubAgentRelationInsertSchema as dU, SubAgentRelationUpdateSchema as dV, SubAgentRelationApiSelectSchema as dW, SubAgentRelationApiInsertSchema as dX, SubAgentRelationApiUpdateSchema as dY, SubAgentRelationQuerySchema as dZ, ExternalSubAgentRelationInsertSchema as d_, type LedgerArtifactInsert as da, type LedgerArtifactUpdate as db, type LedgerArtifactApiSelect as dc, type LedgerArtifactApiInsert as dd, type LedgerArtifactApiUpdate as de, type FullAgentAgentInsert as df, type CanUseItem as dg, type CanDelegateToExternalAgent as dh, type SubAgentDefinition as di, type ToolDefinition as dj, type ProjectApiSelect as dk, type ProjectApiInsert as dl, type ProjectApiUpdate as dm, type Pagination as dn, type SummaryEvent as dp, type MessageType as dq, type MessageRole as dr, type MessageMode as ds, type Models as dt, type ProjectModels as du, type StatusUpdateSettings as dv, type StatusComponent as dw, type ConversationScopeOptions as dx, type AgentConversationHistoryConfig as dy, type ContextCacheEntry as dz, type AgentStopWhen as e, SubAgentArtifactComponentApiSelectSchema as e$, AgentSelectSchema as e0, AgentInsertSchema as e1, AgentUpdateSchema as e2, AgentApiSelectSchema as e3, AgentApiInsertSchema as e4, AgentApiUpdateSchema as e5, TaskSelectSchema as e6, TaskInsertSchema as e7, TaskUpdateSchema as e8, TaskApiSelectSchema as e9, ContextCacheInsertSchema as eA, ContextCacheUpdateSchema as eB, ContextCacheApiSelectSchema as eC, ContextCacheApiInsertSchema as eD, ContextCacheApiUpdateSchema as eE, DataComponentSelectSchema as eF, DataComponentInsertSchema as eG, DataComponentBaseSchema as eH, DataComponentUpdateSchema as eI, DataComponentApiSelectSchema as eJ, DataComponentApiInsertSchema as eK, DataComponentApiUpdateSchema as eL, SubAgentDataComponentSelectSchema as eM, SubAgentDataComponentInsertSchema as eN, SubAgentDataComponentUpdateSchema as eO, SubAgentDataComponentApiSelectSchema as eP, SubAgentDataComponentApiInsertSchema as eQ, SubAgentDataComponentApiUpdateSchema as eR, ArtifactComponentSelectSchema as eS, ArtifactComponentInsertSchema as eT, ArtifactComponentUpdateSchema as eU, ArtifactComponentApiSelectSchema as eV, ArtifactComponentApiInsertSchema as eW, ArtifactComponentApiUpdateSchema as eX, SubAgentArtifactComponentSelectSchema as eY, SubAgentArtifactComponentInsertSchema as eZ, SubAgentArtifactComponentUpdateSchema as e_, TaskApiInsertSchema as ea, TaskApiUpdateSchema as eb, TaskRelationSelectSchema as ec, TaskRelationInsertSchema as ed, TaskRelationUpdateSchema as ee, TaskRelationApiSelectSchema as ef, TaskRelationApiInsertSchema as eg, TaskRelationApiUpdateSchema as eh, McpTransportConfigSchema as ei, ToolStatusSchema as ej, McpToolDefinitionSchema as ek, ToolSelectSchema as el, ToolInsertSchema as em, ConversationSelectSchema as en, ConversationInsertSchema as eo, ConversationUpdateSchema as ep, ConversationApiSelectSchema as eq, ConversationApiInsertSchema as er, ConversationApiUpdateSchema as es, MessageSelectSchema as et, MessageInsertSchema as eu, MessageUpdateSchema as ev, MessageApiSelectSchema as ew, MessageApiInsertSchema as ex, MessageApiUpdateSchema as ey, ContextCacheSelectSchema as ez, type SubAgentStopWhen as f, SubAgentExternalAgentRelationApiUpdateSchema as f$, SubAgentArtifactComponentApiInsertSchema as f0, SubAgentArtifactComponentApiUpdateSchema as f1, ExternalAgentSelectSchema as f2, ExternalAgentInsertSchema as f3, ExternalAgentUpdateSchema as f4, ExternalAgentApiSelectSchema as f5, ExternalAgentApiInsertSchema as f6, ExternalAgentApiUpdateSchema as f7, AllAgentSchema as f8, ApiKeySelectSchema as f9, FunctionToolInsertSchema as fA, FunctionToolUpdateSchema as fB, FunctionToolApiSelectSchema as fC, FunctionToolApiInsertSchema as fD, FunctionToolApiUpdateSchema as fE, FunctionSelectSchema as fF, FunctionInsertSchema as fG, FunctionUpdateSchema as fH, FetchConfigSchema as fI, FetchDefinitionSchema as fJ, ContextConfigSelectSchema as fK, ContextConfigInsertSchema as fL, ContextConfigUpdateSchema as fM, ContextConfigApiSelectSchema as fN, ContextConfigApiInsertSchema as fO, ContextConfigApiUpdateSchema as fP, SubAgentToolRelationSelectSchema as fQ, SubAgentToolRelationInsertSchema as fR, SubAgentToolRelationUpdateSchema as fS, SubAgentToolRelationApiSelectSchema as fT, SubAgentToolRelationApiInsertSchema as fU, SubAgentToolRelationApiUpdateSchema as fV, SubAgentExternalAgentRelationSelectSchema as fW, SubAgentExternalAgentRelationInsertSchema as fX, SubAgentExternalAgentRelationUpdateSchema as fY, SubAgentExternalAgentRelationApiSelectSchema as fZ, SubAgentExternalAgentRelationApiInsertSchema as f_, ApiKeyInsertSchema as fa, ApiKeyUpdateSchema as fb, ApiKeyApiSelectSchema as fc, ApiKeyApiCreationResponseSchema as fd, ApiKeyApiInsertSchema as fe, CredentialReferenceSelectSchema as ff, CredentialReferenceInsertSchema as fg, CredentialReferenceUpdateSchema as fh, CredentialReferenceApiSelectSchema as fi, CredentialReferenceApiInsertSchema as fj, CredentialReferenceApiUpdateSchema as fk, CredentialStoreSchema as fl, CredentialStoreListResponseSchema as fm, CreateCredentialInStoreRequestSchema as fn, CreateCredentialInStoreResponseSchema as fo, RelatedAgentInfoSchema as fp, ComponentAssociationSchema as fq, OAuthLoginQuerySchema as fr, OAuthCallbackQuerySchema as fs, McpToolSchema as ft, MCPToolConfigSchema as fu, ToolUpdateSchema as fv, ToolApiSelectSchema as fw, ToolApiInsertSchema as fx, ToolApiUpdateSchema as fy, FunctionToolSelectSchema as fz, type ModelSettings as g, MessageListResponse as g$, SubAgentTeamAgentRelationSelectSchema as g0, SubAgentTeamAgentRelationInsertSchema as g1, SubAgentTeamAgentRelationUpdateSchema as g2, SubAgentTeamAgentRelationApiSelectSchema as g3, SubAgentTeamAgentRelationApiInsertSchema as g4, SubAgentTeamAgentRelationApiUpdateSchema as g5, LedgerArtifactSelectSchema as g6, LedgerArtifactInsertSchema as g7, LedgerArtifactUpdateSchema as g8, LedgerArtifactApiSelectSchema as g9, ExternalAgentResponse as gA, ContextConfigResponse as gB, ApiKeyResponse as gC, CredentialReferenceResponse as gD, FunctionResponse as gE, FunctionToolResponse as gF, DataComponentResponse as gG, ArtifactComponentResponse as gH, SubAgentRelationResponse as gI, SubAgentToolRelationResponse as gJ, ConversationResponse as gK, MessageResponse as gL, ProjectListResponse as gM, SubAgentListResponse as gN, AgentListResponse as gO, ToolListResponse as gP, ExternalAgentListResponse as gQ, ContextConfigListResponse as gR, ApiKeyListResponse as gS, CredentialReferenceListResponse as gT, FunctionListResponse as gU, FunctionToolListResponse as gV, DataComponentListResponse as gW, ArtifactComponentListResponse as gX, SubAgentRelationListResponse as gY, SubAgentToolRelationListResponse as gZ, ConversationListResponse as g_, LedgerArtifactApiInsertSchema as ga, LedgerArtifactApiUpdateSchema as gb, StatusComponentSchema as gc, StatusUpdateSchema as gd, CanUseItemSchema as ge, canDelegateToExternalAgentSchema as gf, canDelegateToTeamAgentSchema as gg, TeamAgentSchema as gh, AgentWithinContextOfProjectSchema as gi, PaginationSchema as gj, ListResponseSchema as gk, SingleResponseSchema as gl, ErrorResponseSchema as gm, ExistsResponseSchema as gn, RemovedResponseSchema as go, ProjectSelectSchema as gp, ProjectInsertSchema as gq, ProjectUpdateSchema as gr, ProjectApiSelectSchema as gs, ProjectApiInsertSchema as gt, ProjectApiUpdateSchema as gu, FullProjectDefinitionSchema as gv, ProjectResponse as gw, SubAgentResponse as gx, AgentResponse as gy, ToolResponse as gz, CredentialStoreType as h, SubAgentDataComponentResponse as h0, SubAgentArtifactComponentResponse as h1, SubAgentDataComponentListResponse as h2, SubAgentArtifactComponentListResponse as h3, FullProjectDefinitionResponse as h4, AgentWithinContextOfProjectResponse as h5, RelatedAgentInfoListResponse as h6, ComponentAssociationListResponse as h7, McpToolResponse as h8, McpToolListResponse as h9, SubAgentTeamAgentRelationResponse as ha, SubAgentTeamAgentRelationListResponse as hb, SubAgentExternalAgentRelationResponse as hc, SubAgentExternalAgentRelationListResponse as hd, DataComponentArrayResponse as he, ArtifactComponentArrayResponse as hf, HeadersScopeSchema as hg, TenantParamsSchema as hh, TenantIdParamsSchema as hi, TenantProjectParamsSchema as hj, TenantProjectIdParamsSchema as hk, TenantProjectAgentParamsSchema as hl, TenantProjectAgentIdParamsSchema as hm, TenantProjectAgentSubAgentParamsSchema as hn, TenantProjectAgentSubAgentIdParamsSchema as ho, PaginationQueryParamsSchema as hp, MCPCatalogListResponse as hq, ThirdPartyMCPServerResponse as hr, MCPTransportType as i, FunctionApiSelectSchema as j, FunctionApiUpdateSchema as k, type ContextFetchDefinition as l, type ToolMcpConfig as m, type ToolServerCapabilities as n, type ConversationMetadata as o, type MessageContent as p, type MessageMetadata as q, type CredentialReferenceApiInsert as r, type ContextConfigSelect as s, type MCPToolConfig as t, type ProjectScopeConfig as u, type FullAgentDefinition as v, type AgentScopeConfig as w, type PaginationConfig as x, type AgentInsert as y, type AgentUpdate as z };
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 };