@inkeep/agents-core 0.33.1 → 0.33.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -492,8 +492,8 @@ declare const SubAgentSelectSchema: drizzle_zod.BuildSchema<"select", {
492
492
  columnType: "PgJsonb";
493
493
  data: ConversationHistoryConfig;
494
494
  driverParam: unknown;
495
- notNull: false;
496
- hasDefault: false;
495
+ notNull: true;
496
+ hasDefault: true;
497
497
  isPrimaryKey: false;
498
498
  isAutoincrement: false;
499
499
  hasRuntimeDefault: false;
@@ -743,8 +743,8 @@ declare const SubAgentSelectSchema: drizzle_zod.BuildSchema<"select", {
743
743
  columnType: "PgJsonb";
744
744
  data: ConversationHistoryConfig;
745
745
  driverParam: unknown;
746
- notNull: false;
747
- hasDefault: false;
746
+ notNull: true;
747
+ hasDefault: true;
748
748
  isPrimaryKey: false;
749
749
  isAutoincrement: false;
750
750
  hasRuntimeDefault: false;
@@ -940,7 +940,7 @@ declare const SubAgentInsertSchema: z.ZodObject<{
940
940
  createdAt: z.ZodOptional<z.ZodString>;
941
941
  updatedAt: z.ZodOptional<z.ZodString>;
942
942
  prompt: z.ZodString;
943
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
943
+ conversationHistoryConfig: z.ZodOptional<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
944
944
  stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
945
945
  stepCountIs?: number | undefined;
946
946
  }, {
@@ -978,7 +978,7 @@ declare const SubAgentUpdateSchema: z.ZodObject<{
978
978
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
979
979
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
980
980
  prompt: z.ZodOptional<z.ZodString>;
981
- conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>;
981
+ conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
982
982
  stopWhen: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
983
983
  stepCountIs?: number | undefined;
984
984
  }, {
@@ -1013,10 +1013,9 @@ declare const SubAgentUpdateSchema: z.ZodObject<{
1013
1013
  in: {};
1014
1014
  }>;
1015
1015
  declare const SubAgentApiSelectSchema: z.ZodObject<{
1016
- id: z.ZodString;
1017
1016
  name: z.ZodString;
1017
+ id: z.ZodString;
1018
1018
  description: z.ZodString;
1019
- prompt: z.ZodString;
1020
1019
  createdAt: z.ZodString;
1021
1020
  updatedAt: z.ZodString;
1022
1021
  models: z.ZodNullable<z.ZodType<{
@@ -1081,13 +1080,13 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
1081
1080
  }, {
1082
1081
  stepCountIs?: number | undefined;
1083
1082
  }>>>;
1084
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
1083
+ prompt: z.ZodString;
1084
+ conversationHistoryConfig: z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>;
1085
1085
  }, z.core.$strip>;
1086
1086
  declare const SubAgentApiInsertSchema: z.ZodObject<{
1087
- id: z.ZodString;
1088
1087
  name: z.ZodString;
1088
+ id: z.ZodString;
1089
1089
  description: z.ZodString;
1090
- prompt: z.ZodString;
1091
1090
  createdAt: z.ZodOptional<z.ZodString>;
1092
1091
  updatedAt: z.ZodOptional<z.ZodString>;
1093
1092
  models: z.ZodOptional<z.ZodObject<{
@@ -1113,13 +1112,13 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
1113
1112
  }, {
1114
1113
  stepCountIs?: number | undefined;
1115
1114
  }>>>>;
1116
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
1115
+ prompt: z.ZodString;
1116
+ conversationHistoryConfig: z.ZodOptional<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
1117
1117
  }, z.core.$strip>;
1118
1118
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
1119
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1120
1119
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1120
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1121
1121
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1122
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1123
1122
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
1124
1123
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
1125
1124
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -1145,7 +1144,8 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
1145
1144
  }, {
1146
1145
  stepCountIs?: number | undefined;
1147
1146
  }>>>>>>;
1148
- conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
1147
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1148
+ conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>;
1149
1149
  }, z.core.$strip>;
1150
1150
  declare const SubAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
1151
1151
  createdAt: drizzle_orm_pg_core.PgColumn<{
@@ -1573,9 +1573,9 @@ declare const ExternalSubAgentRelationInsertSchema: z.ZodObject<{
1573
1573
  }>;
1574
1574
  declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<{
1575
1575
  id: z.ZodString;
1576
- agentId: z.ZodString;
1577
1576
  createdAt: z.ZodOptional<z.ZodString>;
1578
1577
  updatedAt: z.ZodOptional<z.ZodString>;
1578
+ agentId: z.ZodString;
1579
1579
  sourceSubAgentId: z.ZodString;
1580
1580
  targetSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1581
1581
  relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2447,10 +2447,9 @@ declare const AgentUpdateSchema: z.ZodObject<{
2447
2447
  in: {};
2448
2448
  }>;
2449
2449
  declare const AgentApiSelectSchema: z.ZodObject<{
2450
- id: z.ZodString;
2451
2450
  name: z.ZodString;
2451
+ id: z.ZodString;
2452
2452
  description: z.ZodNullable<z.ZodString>;
2453
- prompt: z.ZodNullable<z.ZodString>;
2454
2453
  createdAt: z.ZodString;
2455
2454
  updatedAt: z.ZodString;
2456
2455
  models: z.ZodNullable<z.ZodType<{
@@ -2517,6 +2516,7 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2517
2516
  }>>>;
2518
2517
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
2519
2518
  contextConfigId: z.ZodNullable<z.ZodString>;
2519
+ prompt: z.ZodNullable<z.ZodString>;
2520
2520
  statusUpdates: z.ZodNullable<z.ZodType<{
2521
2521
  enabled?: boolean | undefined;
2522
2522
  numEvents?: number | undefined;
@@ -2578,7 +2578,6 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2578
2578
  declare const AgentApiInsertSchema: z.ZodObject<{
2579
2579
  name: z.ZodString;
2580
2580
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2581
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2582
2581
  createdAt: z.ZodOptional<z.ZodString>;
2583
2582
  updatedAt: z.ZodOptional<z.ZodString>;
2584
2583
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -2645,6 +2644,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2645
2644
  }>>>>;
2646
2645
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2647
2646
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2647
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2648
2648
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2649
2649
  enabled?: boolean | undefined;
2650
2650
  numEvents?: number | undefined;
@@ -2705,10 +2705,9 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2705
2705
  id: z.ZodString;
2706
2706
  }, z.core.$strip>;
2707
2707
  declare const AgentApiUpdateSchema: z.ZodObject<{
2708
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2709
2708
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2709
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2710
2710
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2711
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2712
2711
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2713
2712
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2714
2713
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -2775,6 +2774,7 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2775
2774
  }>>>>>>;
2776
2775
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2777
2776
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2777
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2778
2778
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2779
2779
  enabled?: boolean | undefined;
2780
2780
  numEvents?: number | undefined;
@@ -3242,9 +3242,9 @@ declare const TaskUpdateSchema: z.ZodObject<{
3242
3242
  }>;
3243
3243
  declare const TaskApiSelectSchema: z.ZodObject<{
3244
3244
  id: z.ZodString;
3245
- agentId: z.ZodString;
3246
3245
  createdAt: z.ZodString;
3247
3246
  updatedAt: z.ZodString;
3247
+ agentId: z.ZodString;
3248
3248
  status: z.ZodString;
3249
3249
  metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
3250
3250
  contextId: z.ZodString;
@@ -3252,9 +3252,9 @@ declare const TaskApiSelectSchema: z.ZodObject<{
3252
3252
  }, z.core.$strip>;
3253
3253
  declare const TaskApiInsertSchema: z.ZodObject<{
3254
3254
  id: z.ZodString;
3255
- agentId: z.ZodString;
3256
3255
  createdAt: z.ZodOptional<z.ZodString>;
3257
3256
  updatedAt: z.ZodOptional<z.ZodString>;
3257
+ agentId: z.ZodString;
3258
3258
  status: z.ZodString;
3259
3259
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
3260
3260
  conversationId: z.ZodOptional<z.ZodString>;
@@ -3263,9 +3263,9 @@ declare const TaskApiInsertSchema: z.ZodObject<{
3263
3263
  }, z.core.$strip>;
3264
3264
  declare const TaskApiUpdateSchema: z.ZodObject<{
3265
3265
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3266
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3267
3266
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3268
3267
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3268
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3269
3269
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3270
3270
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
3271
3271
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -6467,7 +6467,7 @@ declare const ContextCacheInsertSchema: drizzle_zod.BuildSchema<"insert", {
6467
6467
  }, {}, {
6468
6468
  length: 256;
6469
6469
  }>;
6470
- }, "tenantId" | "projectId" | "id" | "value" | "createdAt" | "updatedAt" | "contextConfigId" | "conversationId" | "contextVariableKey" | "requestHash" | "fetchedAt" | "fetchSource" | "fetchDurationMs">, undefined>, undefined>;
6470
+ }, "id" | "value" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "contextConfigId" | "conversationId" | "contextVariableKey" | "requestHash" | "fetchedAt" | "fetchSource" | "fetchDurationMs">, undefined>, undefined>;
6471
6471
  declare const ContextCacheUpdateSchema: z.ZodObject<{
6472
6472
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6473
6473
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6897,11 +6897,11 @@ declare const DataComponentInsertSchema: z.ZodObject<{
6897
6897
  in: {};
6898
6898
  }>;
6899
6899
  declare const DataComponentBaseSchema: z.ZodObject<{
6900
- tenantId: z.ZodString;
6901
- projectId: z.ZodString;
6902
- id: z.ZodString;
6903
6900
  name: z.ZodString;
6901
+ id: z.ZodString;
6904
6902
  description: z.ZodString;
6903
+ projectId: z.ZodString;
6904
+ tenantId: z.ZodString;
6905
6905
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
6906
6906
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
6907
6907
  component: string;
@@ -6947,8 +6947,8 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
6947
6947
  in: {};
6948
6948
  }>;
6949
6949
  declare const DataComponentApiSelectSchema: z.ZodObject<{
6950
- id: z.ZodString;
6951
6950
  name: z.ZodString;
6951
+ id: z.ZodString;
6952
6952
  description: z.ZodString;
6953
6953
  createdAt: z.ZodString;
6954
6954
  updatedAt: z.ZodString;
@@ -6968,8 +6968,8 @@ declare const DataComponentApiSelectSchema: z.ZodObject<{
6968
6968
  }>>>;
6969
6969
  }, z.core.$strip>;
6970
6970
  declare const DataComponentApiInsertSchema: z.ZodObject<{
6971
- id: z.ZodString;
6972
6971
  name: z.ZodString;
6972
+ id: z.ZodString;
6973
6973
  description: z.ZodString;
6974
6974
  createdAt: z.ZodOptional<z.ZodString>;
6975
6975
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -6989,8 +6989,8 @@ declare const DataComponentApiInsertSchema: z.ZodObject<{
6989
6989
  }>>>>;
6990
6990
  }, z.core.$strip>;
6991
6991
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
6992
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6993
6992
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6993
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6994
6994
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6995
6995
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6996
6996
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -7538,7 +7538,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod.BuildSchema<"insert
7538
7538
  }, {}, {
7539
7539
  length: 256;
7540
7540
  }>;
7541
- }, "tenantId" | "projectId" | "id" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
7541
+ }, "id" | "createdAt" | "projectId" | "tenantId" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
7542
7542
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
7543
7543
  dataComponentId: z.ZodOptional<z.ZodString>;
7544
7544
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -7893,16 +7893,16 @@ declare const ArtifactComponentUpdateSchema: z.ZodObject<{
7893
7893
  in: {};
7894
7894
  }>;
7895
7895
  declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
7896
- id: z.ZodString;
7897
7896
  name: z.ZodString;
7897
+ id: z.ZodString;
7898
7898
  description: z.ZodString;
7899
7899
  createdAt: z.ZodString;
7900
7900
  updatedAt: z.ZodString;
7901
7901
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
7902
7902
  }, z.core.$strip>;
7903
7903
  declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
7904
- id: z.ZodString;
7905
7904
  name: z.ZodString;
7905
+ id: z.ZodString;
7906
7906
  description: z.ZodString;
7907
7907
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
7908
7908
  }, {
@@ -7910,8 +7910,8 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
7910
7910
  in: {};
7911
7911
  }>;
7912
7912
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
7913
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7914
7913
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7914
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7915
7915
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7916
7916
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7917
7917
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -8269,37 +8269,36 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
8269
8269
  in: {};
8270
8270
  }>;
8271
8271
  declare const ExternalAgentApiSelectSchema: z.ZodObject<{
8272
- id: z.ZodString;
8273
8272
  name: z.ZodString;
8273
+ id: z.ZodString;
8274
8274
  description: z.ZodString;
8275
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8276
8275
  createdAt: z.ZodString;
8277
8276
  updatedAt: z.ZodString;
8277
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8278
8278
  baseUrl: z.ZodString;
8279
8279
  }, z.core.$strip>;
8280
8280
  declare const ExternalAgentApiInsertSchema: z.ZodObject<{
8281
- id: z.ZodString;
8282
8281
  name: z.ZodString;
8282
+ id: z.ZodString;
8283
8283
  description: z.ZodString;
8284
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8285
8284
  createdAt: z.ZodOptional<z.ZodString>;
8286
8285
  updatedAt: z.ZodOptional<z.ZodString>;
8286
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8287
8287
  baseUrl: z.ZodString;
8288
8288
  }, z.core.$strip>;
8289
8289
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
8290
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8291
8290
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8291
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8292
8292
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8293
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8294
8293
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8295
8294
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8295
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8296
8296
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8297
8297
  }, z.core.$strip>;
8298
8298
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8299
- id: z.ZodString;
8300
8299
  name: z.ZodString;
8300
+ id: z.ZodString;
8301
8301
  description: z.ZodString;
8302
- prompt: z.ZodString;
8303
8302
  createdAt: z.ZodString;
8304
8303
  updatedAt: z.ZodString;
8305
8304
  models: z.ZodNullable<z.ZodType<{
@@ -8364,15 +8363,16 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8364
8363
  }, {
8365
8364
  stepCountIs?: number | undefined;
8366
8365
  }>>>;
8367
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
8366
+ prompt: z.ZodString;
8367
+ conversationHistoryConfig: z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>;
8368
8368
  type: z.ZodLiteral<"internal">;
8369
8369
  }, z.core.$strip>, z.ZodObject<{
8370
- id: z.ZodString;
8371
8370
  name: z.ZodString;
8371
+ id: z.ZodString;
8372
8372
  description: z.ZodString;
8373
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8374
8373
  createdAt: z.ZodString;
8375
8374
  updatedAt: z.ZodString;
8375
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8376
8376
  baseUrl: z.ZodString;
8377
8377
  type: z.ZodLiteral<"external">;
8378
8378
  }, z.core.$strip>], "type">;
@@ -8838,24 +8838,24 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
8838
8838
  }>;
8839
8839
  declare const ApiKeyUpdateSchema: z.ZodObject<{
8840
8840
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8841
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8841
8842
  agentId: z.ZodOptional<z.ZodString>;
8842
- lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8843
8843
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8844
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8844
+ lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8845
8845
  }, {
8846
8846
  out: {};
8847
8847
  in: {};
8848
8848
  }>;
8849
8849
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
8850
- id: z.ZodString;
8851
8850
  name: z.ZodNullable<z.ZodString>;
8851
+ id: z.ZodString;
8852
+ createdAt: z.ZodString;
8853
+ updatedAt: z.ZodString;
8852
8854
  agentId: z.ZodString;
8855
+ expiresAt: z.ZodNullable<z.ZodString>;
8853
8856
  publicId: z.ZodString;
8854
8857
  keyPrefix: z.ZodString;
8855
8858
  lastUsedAt: z.ZodNullable<z.ZodString>;
8856
- expiresAt: z.ZodNullable<z.ZodString>;
8857
- createdAt: z.ZodString;
8858
- updatedAt: z.ZodString;
8859
8859
  }, {
8860
8860
  out: {};
8861
8861
  in: {};
@@ -8863,15 +8863,15 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
8863
8863
  declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
8864
8864
  data: z.ZodObject<{
8865
8865
  apiKey: z.ZodObject<{
8866
- id: z.ZodString;
8867
8866
  name: z.ZodNullable<z.ZodString>;
8867
+ id: z.ZodString;
8868
+ createdAt: z.ZodString;
8869
+ updatedAt: z.ZodString;
8868
8870
  agentId: z.ZodString;
8871
+ expiresAt: z.ZodNullable<z.ZodString>;
8869
8872
  publicId: z.ZodString;
8870
8873
  keyPrefix: z.ZodString;
8871
8874
  lastUsedAt: z.ZodNullable<z.ZodString>;
8872
- expiresAt: z.ZodNullable<z.ZodString>;
8873
- createdAt: z.ZodString;
8874
- updatedAt: z.ZodString;
8875
8875
  }, {
8876
8876
  out: {};
8877
8877
  in: {};
@@ -8881,20 +8881,20 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
8881
8881
  }, z.core.$strip>;
8882
8882
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
8883
8883
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8884
- agentId: z.ZodString;
8885
- expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8886
8884
  createdAt: z.ZodOptional<z.ZodString>;
8887
8885
  updatedAt: z.ZodOptional<z.ZodString>;
8886
+ agentId: z.ZodString;
8887
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8888
8888
  }, {
8889
8889
  out: {};
8890
8890
  in: {};
8891
8891
  }>;
8892
8892
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
8893
8893
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8894
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8894
8895
  agentId: z.ZodOptional<z.ZodString>;
8895
- lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8896
8896
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8897
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8897
+ lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8898
8898
  }, {
8899
8899
  out: {};
8900
8900
  in: {};
@@ -8939,12 +8939,12 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
8939
8939
  in: {};
8940
8940
  }>;
8941
8941
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
8942
- id: z.ZodString;
8943
8942
  name: z.ZodString;
8944
- createdAt: z.ZodString;
8945
- updatedAt: z.ZodString;
8943
+ id: z.ZodString;
8946
8944
  credentialStoreId: z.ZodString;
8947
8945
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8946
+ createdAt: z.ZodString;
8947
+ updatedAt: z.ZodString;
8948
8948
  type: z.ZodEnum<{
8949
8949
  readonly memory: "memory";
8950
8950
  readonly keychain: "keychain";
@@ -9455,12 +9455,12 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
9455
9455
  }>>>;
9456
9456
  }, z.core.$strip>;
9457
9457
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
9458
- id: z.ZodString;
9459
9458
  name: z.ZodString;
9460
- createdAt: z.ZodOptional<z.ZodString>;
9461
- updatedAt: z.ZodOptional<z.ZodString>;
9459
+ id: z.ZodString;
9462
9460
  credentialStoreId: z.ZodString;
9463
9461
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9462
+ createdAt: z.ZodOptional<z.ZodString>;
9463
+ updatedAt: z.ZodOptional<z.ZodString>;
9464
9464
  type: z.ZodEnum<{
9465
9465
  readonly memory: "memory";
9466
9466
  readonly keychain: "keychain";
@@ -9468,12 +9468,12 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
9468
9468
  }>;
9469
9469
  }, z.core.$strip>;
9470
9470
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
9471
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9472
9471
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9473
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9474
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9472
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9475
9473
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9476
9474
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
9475
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9476
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9477
9477
  type: z.ZodOptional<z.ZodEnum<{
9478
9478
  readonly memory: "memory";
9479
9479
  readonly keychain: "keychain";
@@ -9584,10 +9584,10 @@ declare const McpToolSchema: z.ZodObject<{
9584
9584
  in: {};
9585
9585
  }>;
9586
9586
  declare const MCPToolConfigSchema: z.ZodObject<{
9587
- id: z.ZodString;
9588
9587
  name: z.ZodString;
9589
- expiresAt: z.ZodOptional<z.ZodDate>;
9590
9588
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9589
+ id: z.ZodString;
9590
+ expiresAt: z.ZodOptional<z.ZodDate>;
9591
9591
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
9592
9592
  imageUrl: z.ZodOptional<z.ZodString>;
9593
9593
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -9616,12 +9616,12 @@ declare const MCPToolConfigSchema: z.ZodObject<{
9616
9616
  sessionId: z.ZodOptional<z.ZodString>;
9617
9617
  }, z.core.$strip>>;
9618
9618
  credential: z.ZodOptional<z.ZodObject<{
9619
- id: z.ZodString;
9620
9619
  name: z.ZodString;
9621
- createdAt: z.ZodOptional<z.ZodString>;
9622
- updatedAt: z.ZodOptional<z.ZodString>;
9620
+ id: z.ZodString;
9623
9621
  credentialStoreId: z.ZodString;
9624
9622
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9623
+ createdAt: z.ZodOptional<z.ZodString>;
9624
+ updatedAt: z.ZodOptional<z.ZodString>;
9625
9625
  type: z.ZodEnum<{
9626
9626
  readonly memory: "memory";
9627
9627
  readonly keychain: "keychain";
@@ -9669,9 +9669,8 @@ declare const ToolUpdateSchema: z.ZodObject<{
9669
9669
  in: {};
9670
9670
  }>;
9671
9671
  declare const ToolApiSelectSchema: z.ZodObject<{
9672
- id: z.ZodString;
9673
9672
  name: z.ZodString;
9674
- description: z.ZodNullable<z.ZodString>;
9673
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
9675
9674
  config: z.ZodType<{
9676
9675
  type: "mcp";
9677
9676
  mcp: ToolMcpConfig;
@@ -9685,18 +9684,18 @@ declare const ToolApiSelectSchema: z.ZodObject<{
9685
9684
  type: "mcp";
9686
9685
  mcp: ToolMcpConfig;
9687
9686
  }>>;
9688
- credentialReferenceId: z.ZodNullable<z.ZodString>;
9687
+ id: z.ZodString;
9688
+ description: z.ZodNullable<z.ZodString>;
9689
9689
  createdAt: z.ZodString;
9690
9690
  updatedAt: z.ZodString;
9691
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
9692
9691
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
9692
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
9693
9693
  imageUrl: z.ZodNullable<z.ZodString>;
9694
9694
  lastError: z.ZodNullable<z.ZodString>;
9695
9695
  }, z.core.$strip>;
9696
9696
  declare const ToolApiInsertSchema: z.ZodObject<{
9697
- id: z.ZodString;
9698
9697
  name: z.ZodString;
9699
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9698
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9700
9699
  config: z.ZodObject<{
9701
9700
  type: z.ZodLiteral<"mcp">;
9702
9701
  mcp: z.ZodObject<{
@@ -9716,18 +9715,18 @@ declare const ToolApiInsertSchema: z.ZodObject<{
9716
9715
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
9717
9716
  }, z.core.$strip>;
9718
9717
  }, z.core.$strip>;
9719
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9718
+ id: z.ZodString;
9719
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9720
9720
  createdAt: z.ZodOptional<z.ZodString>;
9721
9721
  updatedAt: z.ZodOptional<z.ZodString>;
9722
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
9723
9722
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
9723
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9724
9724
  imageUrl: z.ZodOptional<z.ZodString>;
9725
9725
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9726
9726
  }, z.core.$strip>;
9727
9727
  declare const ToolApiUpdateSchema: z.ZodObject<{
9728
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9729
9728
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9730
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9729
+ 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>>>>>>>;
9731
9730
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
9732
9731
  type: z.ZodLiteral<"mcp">;
9733
9732
  mcp: z.ZodObject<{
@@ -9747,11 +9746,12 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
9747
9746
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
9748
9747
  }, z.core.$strip>;
9749
9748
  }, z.core.$strip>>>;
9750
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9749
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9750
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9751
9751
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9752
9752
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9753
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
9754
9753
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
9754
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9755
9755
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9756
9756
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9757
9757
  }, z.core.$strip>;
@@ -10117,29 +10117,29 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
10117
10117
  in: {};
10118
10118
  }>;
10119
10119
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
10120
- id: z.ZodString;
10121
10120
  name: z.ZodString;
10121
+ id: z.ZodString;
10122
10122
  description: z.ZodNullable<z.ZodString>;
10123
- agentId: z.ZodString;
10124
10123
  createdAt: z.ZodString;
10125
10124
  updatedAt: z.ZodString;
10125
+ agentId: z.ZodString;
10126
10126
  functionId: z.ZodString;
10127
10127
  }, z.core.$strip>;
10128
10128
  declare const FunctionToolApiInsertSchema: z.ZodObject<{
10129
- id: z.ZodString;
10130
10129
  name: z.ZodString;
10130
+ id: z.ZodString;
10131
10131
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10132
10132
  createdAt: z.ZodOptional<z.ZodString>;
10133
10133
  updatedAt: z.ZodOptional<z.ZodString>;
10134
10134
  functionId: z.ZodString;
10135
10135
  }, z.core.$strip>;
10136
10136
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
10137
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10138
10137
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10138
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10139
10139
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10140
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10141
10140
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10142
10141
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10142
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10143
10143
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10144
10144
  }, z.core.$strip>;
10145
10145
  declare const FunctionSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -10525,12 +10525,12 @@ declare const FetchDefinitionSchema: z.ZodObject<{
10525
10525
  responseSchema: z.ZodOptional<z.ZodAny>;
10526
10526
  defaultValue: z.ZodOptional<z.ZodAny>;
10527
10527
  credential: z.ZodOptional<z.ZodObject<{
10528
- id: z.ZodString;
10529
10528
  name: z.ZodString;
10530
- createdAt: z.ZodOptional<z.ZodString>;
10531
- updatedAt: z.ZodOptional<z.ZodString>;
10529
+ id: z.ZodString;
10532
10530
  credentialStoreId: z.ZodString;
10533
10531
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10532
+ createdAt: z.ZodOptional<z.ZodString>;
10533
+ updatedAt: z.ZodOptional<z.ZodString>;
10534
10534
  type: z.ZodEnum<{
10535
10535
  readonly memory: "memory";
10536
10536
  readonly keychain: "keychain";
@@ -10552,23 +10552,23 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
10552
10552
  in: {};
10553
10553
  }>;
10554
10554
  declare const ContextConfigInsertSchema: z.ZodObject<{
10555
- tenantId: z.ZodString;
10556
- projectId: z.ZodString;
10557
10555
  id: z.ZodOptional<z.ZodString>;
10558
- agentId: z.ZodString;
10556
+ projectId: z.ZodString;
10557
+ tenantId: z.ZodString;
10559
10558
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
10560
10559
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
10560
+ agentId: z.ZodString;
10561
10561
  }, {
10562
10562
  out: {};
10563
10563
  in: {};
10564
10564
  }>;
10565
10565
  declare const ContextConfigUpdateSchema: z.ZodObject<{
10566
- tenantId: z.ZodOptional<z.ZodString>;
10567
- projectId: z.ZodOptional<z.ZodString>;
10568
10566
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10569
- agentId: z.ZodOptional<z.ZodString>;
10567
+ projectId: z.ZodOptional<z.ZodString>;
10568
+ tenantId: z.ZodOptional<z.ZodString>;
10570
10569
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
10571
10570
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
10571
+ agentId: z.ZodOptional<z.ZodString>;
10572
10572
  }, {
10573
10573
  out: {};
10574
10574
  in: {};
@@ -10996,31 +10996,31 @@ declare const SubAgentToolRelationUpdateSchema: z.ZodObject<{
10996
10996
  in: {};
10997
10997
  }>;
10998
10998
  declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
10999
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10999
11000
  id: z.ZodString;
11000
11001
  createdAt: z.ZodString;
11001
11002
  updatedAt: z.ZodString;
11002
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11003
- toolId: z.ZodString;
11004
11003
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11005
11004
  subAgentId: z.ZodString;
11005
+ toolId: z.ZodString;
11006
11006
  }, z.core.$strip>;
11007
11007
  declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
11008
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
11008
11009
  id: z.ZodString;
11009
11010
  createdAt: z.ZodOptional<z.ZodString>;
11010
11011
  updatedAt: z.ZodOptional<z.ZodString>;
11011
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
11012
- toolId: z.ZodString;
11013
11012
  selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
11014
11013
  subAgentId: z.ZodString;
11014
+ toolId: z.ZodString;
11015
11015
  }, z.core.$strip>;
11016
11016
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
11017
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
11017
11018
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11018
11019
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11019
11020
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11020
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
11021
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11022
11021
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
11023
11022
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11023
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11024
11024
  }, z.core.$strip>;
11025
11025
  declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
11026
11026
  createdAt: drizzle_orm_pg_core.PgColumn<{
@@ -11388,26 +11388,26 @@ declare const SubAgentExternalAgentRelationUpdateSchema: z.ZodObject<{
11388
11388
  in: {};
11389
11389
  }>;
11390
11390
  declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<{
11391
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11391
11392
  id: z.ZodString;
11392
11393
  createdAt: z.ZodString;
11393
11394
  updatedAt: z.ZodString;
11394
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11395
- externalAgentId: z.ZodString;
11396
11395
  subAgentId: z.ZodString;
11396
+ externalAgentId: z.ZodString;
11397
11397
  }, z.core.$strip>;
11398
11398
  declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
11399
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
11399
11400
  createdAt: z.ZodOptional<z.ZodString>;
11400
11401
  updatedAt: z.ZodOptional<z.ZodString>;
11401
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
11402
11402
  externalAgentId: z.ZodString;
11403
11403
  }, z.core.$strip>;
11404
11404
  declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
11405
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
11405
11406
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11406
11407
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11407
11408
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11408
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
11409
- externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11410
11409
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11410
+ externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11411
11411
  }, z.core.$strip>;
11412
11412
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
11413
11413
  createdAt: drizzle_orm_pg_core.PgColumn<{
@@ -11775,24 +11775,24 @@ declare const SubAgentTeamAgentRelationUpdateSchema: z.ZodObject<{
11775
11775
  in: {};
11776
11776
  }>;
11777
11777
  declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<{
11778
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11778
11779
  id: z.ZodString;
11779
11780
  createdAt: z.ZodString;
11780
11781
  updatedAt: z.ZodString;
11781
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
11782
11782
  subAgentId: z.ZodString;
11783
11783
  targetAgentId: z.ZodString;
11784
11784
  }, z.core.$strip>;
11785
11785
  declare const SubAgentTeamAgentRelationApiInsertSchema: z.ZodObject<{
11786
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
11786
11787
  createdAt: z.ZodOptional<z.ZodString>;
11787
11788
  updatedAt: z.ZodOptional<z.ZodString>;
11788
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
11789
11789
  targetAgentId: z.ZodString;
11790
11790
  }, z.core.$strip>;
11791
11791
  declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
11792
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
11792
11793
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11793
11794
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11794
11795
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11795
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
11796
11796
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11797
11797
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11798
11798
  }, z.core.$strip>;
@@ -13137,7 +13137,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod.BuildSchema<"insert", {
13137
13137
  }, {}, {
13138
13138
  length: 256;
13139
13139
  }>;
13140
- }, "tenantId" | "projectId" | "id" | "type" | "name" | "description" | "createdAt" | "updatedAt" | "metadata" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
13140
+ }, "type" | "name" | "id" | "description" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "metadata" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
13141
13141
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
13142
13142
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13143
13143
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -13162,9 +13162,9 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
13162
13162
  in: {};
13163
13163
  }>;
13164
13164
  declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
13165
- id: z.ZodString;
13166
13165
  type: z.ZodString;
13167
13166
  name: z.ZodNullable<z.ZodString>;
13167
+ id: z.ZodString;
13168
13168
  description: z.ZodNullable<z.ZodString>;
13169
13169
  createdAt: z.ZodString;
13170
13170
  updatedAt: z.ZodString;
@@ -13180,9 +13180,9 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
13180
13180
  derivedFrom: z.ZodNullable<z.ZodString>;
13181
13181
  }, z.core.$strip>;
13182
13182
  declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
13183
- id: z.ZodString;
13184
13183
  type: z.ZodOptional<z.ZodString>;
13185
13184
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13185
+ id: z.ZodString;
13186
13186
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13187
13187
  createdAt: z.ZodOptional<z.ZodString>;
13188
13188
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -13198,9 +13198,9 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
13198
13198
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13199
13199
  }, z.core.$strip>;
13200
13200
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
13201
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13202
13201
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13203
13202
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13203
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13204
13204
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13205
13205
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13206
13206
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -13261,8 +13261,8 @@ declare const TeamAgentSchema: z.ZodObject<{
13261
13261
  description: z.ZodString;
13262
13262
  }, z.core.$strip>;
13263
13263
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
13264
- id: z.ZodString;
13265
13264
  name: z.ZodString;
13265
+ id: z.ZodString;
13266
13266
  description: z.ZodString;
13267
13267
  createdAt: z.ZodOptional<z.ZodString>;
13268
13268
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -13289,7 +13289,7 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
13289
13289
  }, {
13290
13290
  stepCountIs?: number | undefined;
13291
13291
  }>>>>;
13292
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
13292
+ conversationHistoryConfig: z.ZodOptional<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
13293
13293
  type: z.ZodLiteral<"internal">;
13294
13294
  canUse: z.ZodArray<z.ZodObject<{
13295
13295
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -13320,8 +13320,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13320
13320
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13321
13321
  id: z.ZodString;
13322
13322
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
13323
- id: z.ZodString;
13324
13323
  name: z.ZodString;
13324
+ id: z.ZodString;
13325
13325
  description: z.ZodString;
13326
13326
  createdAt: z.ZodOptional<z.ZodString>;
13327
13327
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -13348,7 +13348,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13348
13348
  }, {
13349
13349
  stepCountIs?: number | undefined;
13350
13350
  }>>>>;
13351
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
13351
+ conversationHistoryConfig: z.ZodOptional<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
13352
13352
  type: z.ZodLiteral<"internal">;
13353
13353
  canUse: z.ZodArray<z.ZodObject<{
13354
13354
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -13371,9 +13371,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13371
13371
  }, z.core.$strip>]>>>;
13372
13372
  }, z.core.$strip>>;
13373
13373
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13374
- id: z.ZodString;
13375
13374
  name: z.ZodString;
13376
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13375
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13377
13376
  config: z.ZodObject<{
13378
13377
  type: z.ZodLiteral<"mcp">;
13379
13378
  mcp: z.ZodObject<{
@@ -13393,21 +13392,22 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13393
13392
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
13394
13393
  }, z.core.$strip>;
13395
13394
  }, z.core.$strip>;
13396
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13395
+ id: z.ZodString;
13396
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13397
13397
  createdAt: z.ZodOptional<z.ZodString>;
13398
13398
  updatedAt: z.ZodOptional<z.ZodString>;
13399
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13400
13399
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
13400
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13401
13401
  imageUrl: z.ZodOptional<z.ZodString>;
13402
13402
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13403
13403
  }, z.core.$strip>>>;
13404
13404
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13405
- id: z.ZodString;
13406
13405
  name: z.ZodString;
13406
+ id: z.ZodString;
13407
13407
  description: z.ZodString;
13408
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13409
13408
  createdAt: z.ZodOptional<z.ZodString>;
13410
13409
  updatedAt: z.ZodOptional<z.ZodString>;
13410
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13411
13411
  baseUrl: z.ZodString;
13412
13412
  }, z.core.$strip>>>;
13413
13413
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13416,8 +13416,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
13416
13416
  description: z.ZodString;
13417
13417
  }, z.core.$strip>>>;
13418
13418
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13419
- id: z.ZodString;
13420
13419
  name: z.ZodString;
13420
+ id: z.ZodString;
13421
13421
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13422
13422
  createdAt: z.ZodOptional<z.ZodString>;
13423
13423
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -13530,10 +13530,10 @@ declare const ProjectSelectSchema: z.ZodObject<{
13530
13530
  in: {};
13531
13531
  }>;
13532
13532
  declare const ProjectInsertSchema: z.ZodObject<{
13533
- tenantId: z.ZodString;
13534
- id: z.ZodString;
13535
13533
  name: z.ZodString;
13534
+ id: z.ZodString;
13536
13535
  description: z.ZodString;
13536
+ tenantId: z.ZodString;
13537
13537
  models: z.ZodObject<{
13538
13538
  base: z.ZodObject<{
13539
13539
  model: z.ZodOptional<z.ZodString>;
@@ -13582,8 +13582,8 @@ declare const ProjectUpdateSchema: z.ZodObject<{
13582
13582
  in: {};
13583
13583
  }>;
13584
13584
  declare const ProjectApiSelectSchema: z.ZodObject<{
13585
- id: z.ZodString;
13586
13585
  name: z.ZodString;
13586
+ id: z.ZodString;
13587
13587
  description: z.ZodString;
13588
13588
  createdAt: z.ZodString;
13589
13589
  updatedAt: z.ZodString;
@@ -13610,8 +13610,8 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
13610
13610
  in: {};
13611
13611
  }>;
13612
13612
  declare const ProjectApiInsertSchema: z.ZodObject<{
13613
- id: z.ZodString;
13614
13613
  name: z.ZodString;
13614
+ id: z.ZodString;
13615
13615
  description: z.ZodString;
13616
13616
  models: z.ZodObject<{
13617
13617
  base: z.ZodObject<{
@@ -13661,8 +13661,8 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
13661
13661
  in: {};
13662
13662
  }>;
13663
13663
  declare const FullProjectDefinitionSchema: z.ZodObject<{
13664
- id: z.ZodString;
13665
13664
  name: z.ZodString;
13665
+ id: z.ZodString;
13666
13666
  description: z.ZodString;
13667
13667
  models: z.ZodObject<{
13668
13668
  base: z.ZodObject<{
@@ -13691,8 +13691,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13691
13691
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13692
13692
  id: z.ZodString;
13693
13693
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
13694
- id: z.ZodString;
13695
13694
  name: z.ZodString;
13695
+ id: z.ZodString;
13696
13696
  description: z.ZodString;
13697
13697
  createdAt: z.ZodOptional<z.ZodString>;
13698
13698
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -13719,7 +13719,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13719
13719
  }, {
13720
13720
  stepCountIs?: number | undefined;
13721
13721
  }>>>>;
13722
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
13722
+ conversationHistoryConfig: z.ZodOptional<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
13723
13723
  type: z.ZodLiteral<"internal">;
13724
13724
  canUse: z.ZodArray<z.ZodObject<{
13725
13725
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -13742,9 +13742,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13742
13742
  }, z.core.$strip>]>>>;
13743
13743
  }, z.core.$strip>>;
13744
13744
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13745
- id: z.ZodString;
13746
13745
  name: z.ZodString;
13747
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13746
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13748
13747
  config: z.ZodObject<{
13749
13748
  type: z.ZodLiteral<"mcp">;
13750
13749
  mcp: z.ZodObject<{
@@ -13764,21 +13763,22 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13764
13763
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
13765
13764
  }, z.core.$strip>;
13766
13765
  }, z.core.$strip>;
13767
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13766
+ id: z.ZodString;
13767
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13768
13768
  createdAt: z.ZodOptional<z.ZodString>;
13769
13769
  updatedAt: z.ZodOptional<z.ZodString>;
13770
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13771
13770
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
13771
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13772
13772
  imageUrl: z.ZodOptional<z.ZodString>;
13773
13773
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13774
13774
  }, z.core.$strip>>>;
13775
13775
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13776
- id: z.ZodString;
13777
13776
  name: z.ZodString;
13777
+ id: z.ZodString;
13778
13778
  description: z.ZodString;
13779
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13780
13779
  createdAt: z.ZodOptional<z.ZodString>;
13781
13780
  updatedAt: z.ZodOptional<z.ZodString>;
13781
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13782
13782
  baseUrl: z.ZodString;
13783
13783
  }, z.core.$strip>>>;
13784
13784
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13787,8 +13787,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13787
13787
  description: z.ZodString;
13788
13788
  }, z.core.$strip>>>;
13789
13789
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13790
- id: z.ZodString;
13791
13790
  name: z.ZodString;
13791
+ id: z.ZodString;
13792
13792
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13793
13793
  createdAt: z.ZodOptional<z.ZodString>;
13794
13794
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -13842,9 +13842,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13842
13842
  prompt: z.ZodOptional<z.ZodString>;
13843
13843
  }, z.core.$strip>>;
13844
13844
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
13845
- id: z.ZodString;
13846
13845
  name: z.ZodString;
13847
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13846
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13848
13847
  config: z.ZodObject<{
13849
13848
  type: z.ZodLiteral<"mcp">;
13850
13849
  mcp: z.ZodObject<{
@@ -13864,17 +13863,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13864
13863
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
13865
13864
  }, z.core.$strip>;
13866
13865
  }, z.core.$strip>;
13867
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13866
+ id: z.ZodString;
13867
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13868
13868
  createdAt: z.ZodOptional<z.ZodString>;
13869
13869
  updatedAt: z.ZodOptional<z.ZodString>;
13870
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13871
13870
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
13871
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13872
13872
  imageUrl: z.ZodOptional<z.ZodString>;
13873
13873
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13874
13874
  }, z.core.$strip>>;
13875
13875
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13876
- id: z.ZodString;
13877
13876
  name: z.ZodString;
13877
+ id: z.ZodString;
13878
13878
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13879
13879
  createdAt: z.ZodOptional<z.ZodString>;
13880
13880
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -13889,8 +13889,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13889
13889
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
13890
13890
  }, z.core.$strip>>>;
13891
13891
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13892
- id: z.ZodString;
13893
13892
  name: z.ZodString;
13893
+ id: z.ZodString;
13894
13894
  description: z.ZodString;
13895
13895
  createdAt: z.ZodOptional<z.ZodString>;
13896
13896
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -13910,8 +13910,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13910
13910
  }>>>>;
13911
13911
  }, z.core.$strip>>>;
13912
13912
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13913
- id: z.ZodString;
13914
13913
  name: z.ZodString;
13914
+ id: z.ZodString;
13915
13915
  description: z.ZodString;
13916
13916
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
13917
13917
  }, {
@@ -13919,12 +13919,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13919
13919
  in: {};
13920
13920
  }>>>;
13921
13921
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13922
- id: z.ZodString;
13923
13922
  name: z.ZodString;
13923
+ id: z.ZodString;
13924
13924
  description: z.ZodString;
13925
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13926
13925
  createdAt: z.ZodOptional<z.ZodString>;
13927
13926
  updatedAt: z.ZodOptional<z.ZodString>;
13927
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13928
13928
  baseUrl: z.ZodString;
13929
13929
  }, z.core.$strip>>>;
13930
13930
  statusUpdates: z.ZodOptional<z.ZodObject<{
@@ -13943,12 +13943,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13943
13943
  }, z.core.$strip>>>;
13944
13944
  }, z.core.$strip>>;
13945
13945
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13946
- id: z.ZodString;
13947
13946
  name: z.ZodString;
13948
- createdAt: z.ZodOptional<z.ZodString>;
13949
- updatedAt: z.ZodOptional<z.ZodString>;
13947
+ id: z.ZodString;
13950
13948
  credentialStoreId: z.ZodString;
13951
13949
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
13950
+ createdAt: z.ZodOptional<z.ZodString>;
13951
+ updatedAt: z.ZodOptional<z.ZodString>;
13952
13952
  type: z.ZodEnum<{
13953
13953
  readonly memory: "memory";
13954
13954
  readonly keychain: "keychain";
@@ -13963,8 +13963,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
13963
13963
  }>;
13964
13964
  declare const ProjectResponse: z.ZodObject<{
13965
13965
  data: z.ZodObject<{
13966
- id: z.ZodString;
13967
13966
  name: z.ZodString;
13967
+ id: z.ZodString;
13968
13968
  description: z.ZodString;
13969
13969
  createdAt: z.ZodString;
13970
13970
  updatedAt: z.ZodString;
@@ -13993,10 +13993,9 @@ declare const ProjectResponse: z.ZodObject<{
13993
13993
  }, z.core.$strip>;
13994
13994
  declare const SubAgentResponse: z.ZodObject<{
13995
13995
  data: z.ZodObject<{
13996
- id: z.ZodString;
13997
13996
  name: z.ZodString;
13997
+ id: z.ZodString;
13998
13998
  description: z.ZodString;
13999
- prompt: z.ZodString;
14000
13999
  createdAt: z.ZodString;
14001
14000
  updatedAt: z.ZodString;
14002
14001
  models: z.ZodNullable<z.ZodType<{
@@ -14061,15 +14060,15 @@ declare const SubAgentResponse: z.ZodObject<{
14061
14060
  }, {
14062
14061
  stepCountIs?: number | undefined;
14063
14062
  }>>>;
14064
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
14063
+ prompt: z.ZodString;
14064
+ conversationHistoryConfig: z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>;
14065
14065
  }, z.core.$strip>;
14066
14066
  }, z.core.$strip>;
14067
14067
  declare const AgentResponse: z.ZodObject<{
14068
14068
  data: z.ZodObject<{
14069
- id: z.ZodString;
14070
14069
  name: z.ZodString;
14070
+ id: z.ZodString;
14071
14071
  description: z.ZodNullable<z.ZodString>;
14072
- prompt: z.ZodNullable<z.ZodString>;
14073
14072
  createdAt: z.ZodString;
14074
14073
  updatedAt: z.ZodString;
14075
14074
  models: z.ZodNullable<z.ZodType<{
@@ -14136,6 +14135,7 @@ declare const AgentResponse: z.ZodObject<{
14136
14135
  }>>>;
14137
14136
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
14138
14137
  contextConfigId: z.ZodNullable<z.ZodString>;
14138
+ prompt: z.ZodNullable<z.ZodString>;
14139
14139
  statusUpdates: z.ZodNullable<z.ZodType<{
14140
14140
  enabled?: boolean | undefined;
14141
14141
  numEvents?: number | undefined;
@@ -14197,9 +14197,8 @@ declare const AgentResponse: z.ZodObject<{
14197
14197
  }, z.core.$strip>;
14198
14198
  declare const ToolResponse: z.ZodObject<{
14199
14199
  data: z.ZodObject<{
14200
- id: z.ZodString;
14201
14200
  name: z.ZodString;
14202
- description: z.ZodNullable<z.ZodString>;
14201
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
14203
14202
  config: z.ZodType<{
14204
14203
  type: "mcp";
14205
14204
  mcp: ToolMcpConfig;
@@ -14213,23 +14212,24 @@ declare const ToolResponse: z.ZodObject<{
14213
14212
  type: "mcp";
14214
14213
  mcp: ToolMcpConfig;
14215
14214
  }>>;
14216
- credentialReferenceId: z.ZodNullable<z.ZodString>;
14215
+ id: z.ZodString;
14216
+ description: z.ZodNullable<z.ZodString>;
14217
14217
  createdAt: z.ZodString;
14218
14218
  updatedAt: z.ZodString;
14219
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
14220
14219
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
14220
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
14221
14221
  imageUrl: z.ZodNullable<z.ZodString>;
14222
14222
  lastError: z.ZodNullable<z.ZodString>;
14223
14223
  }, z.core.$strip>;
14224
14224
  }, z.core.$strip>;
14225
14225
  declare const ExternalAgentResponse: z.ZodObject<{
14226
14226
  data: z.ZodObject<{
14227
- id: z.ZodString;
14228
14227
  name: z.ZodString;
14228
+ id: z.ZodString;
14229
14229
  description: z.ZodString;
14230
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14231
14230
  createdAt: z.ZodString;
14232
14231
  updatedAt: z.ZodString;
14232
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14233
14233
  baseUrl: z.ZodString;
14234
14234
  }, z.core.$strip>;
14235
14235
  }, z.core.$strip>;
@@ -14244,15 +14244,15 @@ declare const ContextConfigResponse: z.ZodObject<{
14244
14244
  }, z.core.$strip>;
14245
14245
  declare const ApiKeyResponse: z.ZodObject<{
14246
14246
  data: z.ZodObject<{
14247
- id: z.ZodString;
14248
14247
  name: z.ZodNullable<z.ZodString>;
14248
+ id: z.ZodString;
14249
+ createdAt: z.ZodString;
14250
+ updatedAt: z.ZodString;
14249
14251
  agentId: z.ZodString;
14252
+ expiresAt: z.ZodNullable<z.ZodString>;
14250
14253
  publicId: z.ZodString;
14251
14254
  keyPrefix: z.ZodString;
14252
14255
  lastUsedAt: z.ZodNullable<z.ZodString>;
14253
- expiresAt: z.ZodNullable<z.ZodString>;
14254
- createdAt: z.ZodString;
14255
- updatedAt: z.ZodString;
14256
14256
  }, {
14257
14257
  out: {};
14258
14258
  in: {};
@@ -14260,12 +14260,12 @@ declare const ApiKeyResponse: z.ZodObject<{
14260
14260
  }, z.core.$strip>;
14261
14261
  declare const CredentialReferenceResponse: z.ZodObject<{
14262
14262
  data: z.ZodObject<{
14263
- id: z.ZodString;
14264
14263
  name: z.ZodString;
14265
- createdAt: z.ZodString;
14266
- updatedAt: z.ZodString;
14264
+ id: z.ZodString;
14267
14265
  credentialStoreId: z.ZodString;
14268
14266
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
14267
+ createdAt: z.ZodString;
14268
+ updatedAt: z.ZodString;
14269
14269
  type: z.ZodEnum<{
14270
14270
  readonly memory: "memory";
14271
14271
  readonly keychain: "keychain";
@@ -14788,19 +14788,19 @@ declare const FunctionResponse: z.ZodObject<{
14788
14788
  }, z.core.$strip>;
14789
14789
  declare const FunctionToolResponse: z.ZodObject<{
14790
14790
  data: z.ZodObject<{
14791
- id: z.ZodString;
14792
14791
  name: z.ZodString;
14792
+ id: z.ZodString;
14793
14793
  description: z.ZodNullable<z.ZodString>;
14794
- agentId: z.ZodString;
14795
14794
  createdAt: z.ZodString;
14796
14795
  updatedAt: z.ZodString;
14796
+ agentId: z.ZodString;
14797
14797
  functionId: z.ZodString;
14798
14798
  }, z.core.$strip>;
14799
14799
  }, z.core.$strip>;
14800
14800
  declare const DataComponentResponse: z.ZodObject<{
14801
14801
  data: z.ZodObject<{
14802
- id: z.ZodString;
14803
14802
  name: z.ZodString;
14803
+ id: z.ZodString;
14804
14804
  description: z.ZodString;
14805
14805
  createdAt: z.ZodString;
14806
14806
  updatedAt: z.ZodString;
@@ -14822,8 +14822,8 @@ declare const DataComponentResponse: z.ZodObject<{
14822
14822
  }, z.core.$strip>;
14823
14823
  declare const ArtifactComponentResponse: z.ZodObject<{
14824
14824
  data: z.ZodObject<{
14825
- id: z.ZodString;
14826
14825
  name: z.ZodString;
14826
+ id: z.ZodString;
14827
14827
  description: z.ZodString;
14828
14828
  createdAt: z.ZodString;
14829
14829
  updatedAt: z.ZodString;
@@ -14842,13 +14842,13 @@ declare const SubAgentRelationResponse: z.ZodObject<{
14842
14842
  }, z.core.$strip>;
14843
14843
  declare const SubAgentToolRelationResponse: z.ZodObject<{
14844
14844
  data: z.ZodObject<{
14845
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
14845
14846
  id: z.ZodString;
14846
14847
  createdAt: z.ZodString;
14847
14848
  updatedAt: z.ZodString;
14848
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
14849
- toolId: z.ZodString;
14850
14849
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
14851
14850
  subAgentId: z.ZodString;
14851
+ toolId: z.ZodString;
14852
14852
  }, z.core.$strip>;
14853
14853
  }, z.core.$strip>;
14854
14854
  declare const ConversationResponse: z.ZodObject<{
@@ -14888,8 +14888,8 @@ declare const MessageResponse: z.ZodObject<{
14888
14888
  }, z.core.$strip>;
14889
14889
  declare const ProjectListResponse: z.ZodObject<{
14890
14890
  data: z.ZodArray<z.ZodObject<{
14891
- id: z.ZodString;
14892
14891
  name: z.ZodString;
14892
+ id: z.ZodString;
14893
14893
  description: z.ZodString;
14894
14894
  createdAt: z.ZodString;
14895
14895
  updatedAt: z.ZodString;
@@ -14924,10 +14924,9 @@ declare const ProjectListResponse: z.ZodObject<{
14924
14924
  }, z.core.$strip>;
14925
14925
  declare const SubAgentListResponse: z.ZodObject<{
14926
14926
  data: z.ZodArray<z.ZodObject<{
14927
- id: z.ZodString;
14928
14927
  name: z.ZodString;
14928
+ id: z.ZodString;
14929
14929
  description: z.ZodString;
14930
- prompt: z.ZodString;
14931
14930
  createdAt: z.ZodString;
14932
14931
  updatedAt: z.ZodString;
14933
14932
  models: z.ZodNullable<z.ZodType<{
@@ -14992,7 +14991,8 @@ declare const SubAgentListResponse: z.ZodObject<{
14992
14991
  }, {
14993
14992
  stepCountIs?: number | undefined;
14994
14993
  }>>>;
14995
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
14994
+ prompt: z.ZodString;
14995
+ conversationHistoryConfig: z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>;
14996
14996
  }, z.core.$strip>>;
14997
14997
  pagination: z.ZodObject<{
14998
14998
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -15003,10 +15003,9 @@ declare const SubAgentListResponse: z.ZodObject<{
15003
15003
  }, z.core.$strip>;
15004
15004
  declare const AgentListResponse: z.ZodObject<{
15005
15005
  data: z.ZodArray<z.ZodObject<{
15006
- id: z.ZodString;
15007
15006
  name: z.ZodString;
15007
+ id: z.ZodString;
15008
15008
  description: z.ZodNullable<z.ZodString>;
15009
- prompt: z.ZodNullable<z.ZodString>;
15010
15009
  createdAt: z.ZodString;
15011
15010
  updatedAt: z.ZodString;
15012
15011
  models: z.ZodNullable<z.ZodType<{
@@ -15073,6 +15072,7 @@ declare const AgentListResponse: z.ZodObject<{
15073
15072
  }>>>;
15074
15073
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
15075
15074
  contextConfigId: z.ZodNullable<z.ZodString>;
15075
+ prompt: z.ZodNullable<z.ZodString>;
15076
15076
  statusUpdates: z.ZodNullable<z.ZodType<{
15077
15077
  enabled?: boolean | undefined;
15078
15078
  numEvents?: number | undefined;
@@ -15140,9 +15140,8 @@ declare const AgentListResponse: z.ZodObject<{
15140
15140
  }, z.core.$strip>;
15141
15141
  declare const ToolListResponse: z.ZodObject<{
15142
15142
  data: z.ZodArray<z.ZodObject<{
15143
- id: z.ZodString;
15144
15143
  name: z.ZodString;
15145
- description: z.ZodNullable<z.ZodString>;
15144
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
15146
15145
  config: z.ZodType<{
15147
15146
  type: "mcp";
15148
15147
  mcp: ToolMcpConfig;
@@ -15156,11 +15155,12 @@ declare const ToolListResponse: z.ZodObject<{
15156
15155
  type: "mcp";
15157
15156
  mcp: ToolMcpConfig;
15158
15157
  }>>;
15159
- credentialReferenceId: z.ZodNullable<z.ZodString>;
15158
+ id: z.ZodString;
15159
+ description: z.ZodNullable<z.ZodString>;
15160
15160
  createdAt: z.ZodString;
15161
15161
  updatedAt: z.ZodString;
15162
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
15163
15162
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
15163
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
15164
15164
  imageUrl: z.ZodNullable<z.ZodString>;
15165
15165
  lastError: z.ZodNullable<z.ZodString>;
15166
15166
  }, z.core.$strip>>;
@@ -15173,12 +15173,12 @@ declare const ToolListResponse: z.ZodObject<{
15173
15173
  }, z.core.$strip>;
15174
15174
  declare const ExternalAgentListResponse: z.ZodObject<{
15175
15175
  data: z.ZodArray<z.ZodObject<{
15176
- id: z.ZodString;
15177
15176
  name: z.ZodString;
15177
+ id: z.ZodString;
15178
15178
  description: z.ZodString;
15179
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15180
15179
  createdAt: z.ZodString;
15181
15180
  updatedAt: z.ZodString;
15181
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15182
15182
  baseUrl: z.ZodString;
15183
15183
  }, z.core.$strip>>;
15184
15184
  pagination: z.ZodObject<{
@@ -15205,15 +15205,15 @@ declare const ContextConfigListResponse: z.ZodObject<{
15205
15205
  }, z.core.$strip>;
15206
15206
  declare const ApiKeyListResponse: z.ZodObject<{
15207
15207
  data: z.ZodArray<z.ZodObject<{
15208
- id: z.ZodString;
15209
15208
  name: z.ZodNullable<z.ZodString>;
15209
+ id: z.ZodString;
15210
+ createdAt: z.ZodString;
15211
+ updatedAt: z.ZodString;
15210
15212
  agentId: z.ZodString;
15213
+ expiresAt: z.ZodNullable<z.ZodString>;
15211
15214
  publicId: z.ZodString;
15212
15215
  keyPrefix: z.ZodString;
15213
15216
  lastUsedAt: z.ZodNullable<z.ZodString>;
15214
- expiresAt: z.ZodNullable<z.ZodString>;
15215
- createdAt: z.ZodString;
15216
- updatedAt: z.ZodString;
15217
15217
  }, {
15218
15218
  out: {};
15219
15219
  in: {};
@@ -15227,12 +15227,12 @@ declare const ApiKeyListResponse: z.ZodObject<{
15227
15227
  }, z.core.$strip>;
15228
15228
  declare const CredentialReferenceListResponse: z.ZodObject<{
15229
15229
  data: z.ZodArray<z.ZodObject<{
15230
- id: z.ZodString;
15231
15230
  name: z.ZodString;
15232
- createdAt: z.ZodString;
15233
- updatedAt: z.ZodString;
15231
+ id: z.ZodString;
15234
15232
  credentialStoreId: z.ZodString;
15235
15233
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
15234
+ createdAt: z.ZodString;
15235
+ updatedAt: z.ZodString;
15236
15236
  type: z.ZodEnum<{
15237
15237
  readonly memory: "memory";
15238
15238
  readonly keychain: "keychain";
@@ -15767,12 +15767,12 @@ declare const FunctionListResponse: z.ZodObject<{
15767
15767
  }, z.core.$strip>;
15768
15768
  declare const FunctionToolListResponse: z.ZodObject<{
15769
15769
  data: z.ZodArray<z.ZodObject<{
15770
- id: z.ZodString;
15771
15770
  name: z.ZodString;
15771
+ id: z.ZodString;
15772
15772
  description: z.ZodNullable<z.ZodString>;
15773
- agentId: z.ZodString;
15774
15773
  createdAt: z.ZodString;
15775
15774
  updatedAt: z.ZodString;
15775
+ agentId: z.ZodString;
15776
15776
  functionId: z.ZodString;
15777
15777
  }, z.core.$strip>>;
15778
15778
  pagination: z.ZodObject<{
@@ -15784,8 +15784,8 @@ declare const FunctionToolListResponse: z.ZodObject<{
15784
15784
  }, z.core.$strip>;
15785
15785
  declare const DataComponentListResponse: z.ZodObject<{
15786
15786
  data: z.ZodArray<z.ZodObject<{
15787
- id: z.ZodString;
15788
15787
  name: z.ZodString;
15788
+ id: z.ZodString;
15789
15789
  description: z.ZodString;
15790
15790
  createdAt: z.ZodString;
15791
15791
  updatedAt: z.ZodString;
@@ -15813,8 +15813,8 @@ declare const DataComponentListResponse: z.ZodObject<{
15813
15813
  }, z.core.$strip>;
15814
15814
  declare const ArtifactComponentListResponse: z.ZodObject<{
15815
15815
  data: z.ZodArray<z.ZodObject<{
15816
- id: z.ZodString;
15817
15816
  name: z.ZodString;
15817
+ id: z.ZodString;
15818
15818
  description: z.ZodString;
15819
15819
  createdAt: z.ZodString;
15820
15820
  updatedAt: z.ZodString;
@@ -15845,13 +15845,13 @@ declare const SubAgentRelationListResponse: z.ZodObject<{
15845
15845
  }, z.core.$strip>;
15846
15846
  declare const SubAgentToolRelationListResponse: z.ZodObject<{
15847
15847
  data: z.ZodArray<z.ZodObject<{
15848
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
15848
15849
  id: z.ZodString;
15849
15850
  createdAt: z.ZodString;
15850
15851
  updatedAt: z.ZodString;
15851
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
15852
- toolId: z.ZodString;
15853
15852
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
15854
15853
  subAgentId: z.ZodString;
15854
+ toolId: z.ZodString;
15855
15855
  }, z.core.$strip>>;
15856
15856
  pagination: z.ZodObject<{
15857
15857
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -15953,8 +15953,8 @@ declare const SubAgentArtifactComponentListResponse: z.ZodObject<{
15953
15953
  }, z.core.$strip>;
15954
15954
  declare const FullProjectDefinitionResponse: z.ZodObject<{
15955
15955
  data: z.ZodObject<{
15956
- id: z.ZodString;
15957
15956
  name: z.ZodString;
15957
+ id: z.ZodString;
15958
15958
  description: z.ZodString;
15959
15959
  models: z.ZodObject<{
15960
15960
  base: z.ZodObject<{
@@ -15983,8 +15983,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
15983
15983
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15984
15984
  id: z.ZodString;
15985
15985
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
15986
- id: z.ZodString;
15987
15986
  name: z.ZodString;
15987
+ id: z.ZodString;
15988
15988
  description: z.ZodString;
15989
15989
  createdAt: z.ZodOptional<z.ZodString>;
15990
15990
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -16011,7 +16011,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16011
16011
  }, {
16012
16012
  stepCountIs?: number | undefined;
16013
16013
  }>>>>;
16014
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
16014
+ conversationHistoryConfig: z.ZodOptional<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
16015
16015
  type: z.ZodLiteral<"internal">;
16016
16016
  canUse: z.ZodArray<z.ZodObject<{
16017
16017
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -16034,9 +16034,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16034
16034
  }, z.core.$strip>]>>>;
16035
16035
  }, z.core.$strip>>;
16036
16036
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16037
- id: z.ZodString;
16038
16037
  name: z.ZodString;
16039
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16038
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16040
16039
  config: z.ZodObject<{
16041
16040
  type: z.ZodLiteral<"mcp">;
16042
16041
  mcp: z.ZodObject<{
@@ -16056,21 +16055,22 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16056
16055
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
16057
16056
  }, z.core.$strip>;
16058
16057
  }, z.core.$strip>;
16059
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16058
+ id: z.ZodString;
16059
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16060
16060
  createdAt: z.ZodOptional<z.ZodString>;
16061
16061
  updatedAt: z.ZodOptional<z.ZodString>;
16062
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16063
16062
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
16063
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16064
16064
  imageUrl: z.ZodOptional<z.ZodString>;
16065
16065
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16066
16066
  }, z.core.$strip>>>;
16067
16067
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16068
- id: z.ZodString;
16069
16068
  name: z.ZodString;
16069
+ id: z.ZodString;
16070
16070
  description: z.ZodString;
16071
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16072
16071
  createdAt: z.ZodOptional<z.ZodString>;
16073
16072
  updatedAt: z.ZodOptional<z.ZodString>;
16073
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16074
16074
  baseUrl: z.ZodString;
16075
16075
  }, z.core.$strip>>>;
16076
16076
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16079,8 +16079,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16079
16079
  description: z.ZodString;
16080
16080
  }, z.core.$strip>>>;
16081
16081
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16082
- id: z.ZodString;
16083
16082
  name: z.ZodString;
16083
+ id: z.ZodString;
16084
16084
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16085
16085
  createdAt: z.ZodOptional<z.ZodString>;
16086
16086
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -16134,9 +16134,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16134
16134
  prompt: z.ZodOptional<z.ZodString>;
16135
16135
  }, z.core.$strip>>;
16136
16136
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
16137
- id: z.ZodString;
16138
16137
  name: z.ZodString;
16139
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16138
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16140
16139
  config: z.ZodObject<{
16141
16140
  type: z.ZodLiteral<"mcp">;
16142
16141
  mcp: z.ZodObject<{
@@ -16156,17 +16155,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16156
16155
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
16157
16156
  }, z.core.$strip>;
16158
16157
  }, z.core.$strip>;
16159
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16158
+ id: z.ZodString;
16159
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16160
16160
  createdAt: z.ZodOptional<z.ZodString>;
16161
16161
  updatedAt: z.ZodOptional<z.ZodString>;
16162
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16163
16162
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
16163
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16164
16164
  imageUrl: z.ZodOptional<z.ZodString>;
16165
16165
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16166
16166
  }, z.core.$strip>>;
16167
16167
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16168
- id: z.ZodString;
16169
16168
  name: z.ZodString;
16169
+ id: z.ZodString;
16170
16170
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16171
16171
  createdAt: z.ZodOptional<z.ZodString>;
16172
16172
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -16181,8 +16181,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16181
16181
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16182
16182
  }, z.core.$strip>>>;
16183
16183
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16184
- id: z.ZodString;
16185
16184
  name: z.ZodString;
16185
+ id: z.ZodString;
16186
16186
  description: z.ZodString;
16187
16187
  createdAt: z.ZodOptional<z.ZodString>;
16188
16188
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -16202,8 +16202,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16202
16202
  }>>>>;
16203
16203
  }, z.core.$strip>>>;
16204
16204
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16205
- id: z.ZodString;
16206
16205
  name: z.ZodString;
16206
+ id: z.ZodString;
16207
16207
  description: z.ZodString;
16208
16208
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
16209
16209
  }, {
@@ -16211,12 +16211,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16211
16211
  in: {};
16212
16212
  }>>>;
16213
16213
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16214
- id: z.ZodString;
16215
16214
  name: z.ZodString;
16215
+ id: z.ZodString;
16216
16216
  description: z.ZodString;
16217
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16218
16217
  createdAt: z.ZodOptional<z.ZodString>;
16219
16218
  updatedAt: z.ZodOptional<z.ZodString>;
16219
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16220
16220
  baseUrl: z.ZodString;
16221
16221
  }, z.core.$strip>>>;
16222
16222
  statusUpdates: z.ZodOptional<z.ZodObject<{
@@ -16235,12 +16235,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16235
16235
  }, z.core.$strip>>>;
16236
16236
  }, z.core.$strip>>;
16237
16237
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16238
- id: z.ZodString;
16239
16238
  name: z.ZodString;
16240
- createdAt: z.ZodOptional<z.ZodString>;
16241
- updatedAt: z.ZodOptional<z.ZodString>;
16239
+ id: z.ZodString;
16242
16240
  credentialStoreId: z.ZodString;
16243
16241
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16242
+ createdAt: z.ZodOptional<z.ZodString>;
16243
+ updatedAt: z.ZodOptional<z.ZodString>;
16244
16244
  type: z.ZodEnum<{
16245
16245
  readonly memory: "memory";
16246
16246
  readonly keychain: "keychain";
@@ -16264,8 +16264,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16264
16264
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16265
16265
  id: z.ZodString;
16266
16266
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
16267
- id: z.ZodString;
16268
16267
  name: z.ZodString;
16268
+ id: z.ZodString;
16269
16269
  description: z.ZodString;
16270
16270
  createdAt: z.ZodOptional<z.ZodString>;
16271
16271
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -16292,7 +16292,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16292
16292
  }, {
16293
16293
  stepCountIs?: number | undefined;
16294
16294
  }>>>>;
16295
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
16295
+ conversationHistoryConfig: z.ZodOptional<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
16296
16296
  type: z.ZodLiteral<"internal">;
16297
16297
  canUse: z.ZodArray<z.ZodObject<{
16298
16298
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -16315,9 +16315,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16315
16315
  }, z.core.$strip>]>>>;
16316
16316
  }, z.core.$strip>>;
16317
16317
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16318
- id: z.ZodString;
16319
16318
  name: z.ZodString;
16320
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16319
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16321
16320
  config: z.ZodObject<{
16322
16321
  type: z.ZodLiteral<"mcp">;
16323
16322
  mcp: z.ZodObject<{
@@ -16337,21 +16336,22 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16337
16336
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
16338
16337
  }, z.core.$strip>;
16339
16338
  }, z.core.$strip>;
16340
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16339
+ id: z.ZodString;
16340
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16341
16341
  createdAt: z.ZodOptional<z.ZodString>;
16342
16342
  updatedAt: z.ZodOptional<z.ZodString>;
16343
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16344
16343
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
16344
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16345
16345
  imageUrl: z.ZodOptional<z.ZodString>;
16346
16346
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16347
16347
  }, z.core.$strip>>>;
16348
16348
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16349
- id: z.ZodString;
16350
16349
  name: z.ZodString;
16350
+ id: z.ZodString;
16351
16351
  description: z.ZodString;
16352
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16353
16352
  createdAt: z.ZodOptional<z.ZodString>;
16354
16353
  updatedAt: z.ZodOptional<z.ZodString>;
16354
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16355
16355
  baseUrl: z.ZodString;
16356
16356
  }, z.core.$strip>>>;
16357
16357
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -16360,8 +16360,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
16360
16360
  description: z.ZodString;
16361
16361
  }, z.core.$strip>>>;
16362
16362
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16363
- id: z.ZodString;
16364
16363
  name: z.ZodString;
16364
+ id: z.ZodString;
16365
16365
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16366
16366
  createdAt: z.ZodOptional<z.ZodString>;
16367
16367
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -16544,20 +16544,20 @@ declare const McpToolListResponse: z.ZodObject<{
16544
16544
  }, z.core.$strip>;
16545
16545
  declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
16546
16546
  data: z.ZodObject<{
16547
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
16547
16548
  id: z.ZodString;
16548
16549
  createdAt: z.ZodString;
16549
16550
  updatedAt: z.ZodString;
16550
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
16551
16551
  subAgentId: z.ZodString;
16552
16552
  targetAgentId: z.ZodString;
16553
16553
  }, z.core.$strip>;
16554
16554
  }, z.core.$strip>;
16555
16555
  declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
16556
16556
  data: z.ZodArray<z.ZodObject<{
16557
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
16557
16558
  id: z.ZodString;
16558
16559
  createdAt: z.ZodString;
16559
16560
  updatedAt: z.ZodString;
16560
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
16561
16561
  subAgentId: z.ZodString;
16562
16562
  targetAgentId: z.ZodString;
16563
16563
  }, z.core.$strip>>;
@@ -16570,22 +16570,22 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
16570
16570
  }, z.core.$strip>;
16571
16571
  declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
16572
16572
  data: z.ZodObject<{
16573
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
16573
16574
  id: z.ZodString;
16574
16575
  createdAt: z.ZodString;
16575
16576
  updatedAt: z.ZodString;
16576
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
16577
- externalAgentId: z.ZodString;
16578
16577
  subAgentId: z.ZodString;
16578
+ externalAgentId: z.ZodString;
16579
16579
  }, z.core.$strip>;
16580
16580
  }, z.core.$strip>;
16581
16581
  declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
16582
16582
  data: z.ZodArray<z.ZodObject<{
16583
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
16583
16584
  id: z.ZodString;
16584
16585
  createdAt: z.ZodString;
16585
16586
  updatedAt: z.ZodString;
16586
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
16587
- externalAgentId: z.ZodString;
16588
16587
  subAgentId: z.ZodString;
16588
+ externalAgentId: z.ZodString;
16589
16589
  }, z.core.$strip>>;
16590
16590
  pagination: z.ZodObject<{
16591
16591
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16596,8 +16596,8 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
16596
16596
  }, z.core.$strip>;
16597
16597
  declare const DataComponentArrayResponse: z.ZodObject<{
16598
16598
  data: z.ZodArray<z.ZodObject<{
16599
- id: z.ZodString;
16600
16599
  name: z.ZodString;
16600
+ id: z.ZodString;
16601
16601
  description: z.ZodString;
16602
16602
  createdAt: z.ZodString;
16603
16603
  updatedAt: z.ZodString;
@@ -16619,8 +16619,8 @@ declare const DataComponentArrayResponse: z.ZodObject<{
16619
16619
  }, z.core.$strip>;
16620
16620
  declare const ArtifactComponentArrayResponse: z.ZodObject<{
16621
16621
  data: z.ZodArray<z.ZodObject<{
16622
- id: z.ZodString;
16623
16622
  name: z.ZodString;
16623
+ id: z.ZodString;
16624
16624
  description: z.ZodString;
16625
16625
  createdAt: z.ZodString;
16626
16626
  updatedAt: z.ZodString;
@@ -16852,7 +16852,7 @@ interface SummaryEvent {
16852
16852
  }
16853
16853
 
16854
16854
  type MessageVisibility = 'user-facing' | 'internal' | 'system' | 'external';
16855
- type MessageType = 'chat' | 'a2a-request' | 'a2a-response' | 'task-update' | 'tool-call';
16855
+ type MessageType = 'chat' | 'a2a-request' | 'a2a-response' | 'task-update' | 'tool-call' | 'tool-result';
16856
16856
  type MessageRole = 'user' | 'agent' | 'system';
16857
16857
  type MessageMode = 'full' | 'scoped' | 'none';
16858
16858
  type Models = z$1.infer<typeof ModelSchema>;
@@ -16882,6 +16882,8 @@ type SubAgentScopeConfig = AgentScopeConfig & {
16882
16882
  interface ConversationScopeOptions {
16883
16883
  taskId?: string;
16884
16884
  subAgentId?: string;
16885
+ delegationId?: string;
16886
+ isDelegated?: boolean;
16885
16887
  }
16886
16888
  type ConversationHistoryConfig = {
16887
16889
  mode?: 'full' | 'scoped' | 'none';