@inkeep/agents-core 0.0.0-dev-20260120222159 → 0.0.0-dev-20260121022749

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/dist/auth/auth.d.ts +53 -53
  2. package/dist/auth/auth.js +1 -1
  3. package/dist/auth/permissions.d.ts +13 -13
  4. package/dist/context/ContextConfig.js +3 -3
  5. package/dist/data-access/index.d.ts +5 -5
  6. package/dist/data-access/index.js +5 -5
  7. package/dist/data-access/manage/agents.d.ts +37 -37
  8. package/dist/data-access/manage/artifactComponents.d.ts +12 -12
  9. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  10. package/dist/data-access/manage/dataComponents.d.ts +6 -6
  11. package/dist/data-access/manage/evalConfig.d.ts +12 -2
  12. package/dist/data-access/manage/evalConfig.js +25 -1
  13. package/dist/data-access/manage/functionTools.d.ts +14 -14
  14. package/dist/data-access/manage/projectFull.d.ts +0 -4
  15. package/dist/data-access/manage/projectFull.js +8 -21
  16. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  17. package/dist/data-access/manage/subAgentRelations.d.ts +36 -36
  18. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  19. package/dist/data-access/manage/subAgents.d.ts +27 -27
  20. package/dist/data-access/manage/tools.d.ts +41 -34
  21. package/dist/data-access/manage/tools.js +9 -1
  22. package/dist/data-access/manage/triggers.d.ts +0 -4
  23. package/dist/data-access/manage/triggers.js +1 -15
  24. package/dist/data-access/runtime/apiKeys.d.ts +20 -20
  25. package/dist/data-access/runtime/conversations.d.ts +31 -31
  26. package/dist/data-access/runtime/messages.d.ts +18 -18
  27. package/dist/data-access/runtime/organizations.d.ts +10 -1
  28. package/dist/data-access/runtime/organizations.js +13 -1
  29. package/dist/data-access/runtime/tasks.d.ts +7 -7
  30. package/dist/db/manage/manage-client.d.ts +3 -1
  31. package/dist/db/manage/manage-client.js +13 -1
  32. package/dist/db/manage/manage-schema.d.ts +375 -375
  33. package/dist/db/migrations/cleanup-old-trigger-auth.d.ts +1 -0
  34. package/dist/db/migrations/cleanup-old-trigger-auth.js +68 -0
  35. package/dist/db/runtime/runtime-schema.d.ts +181 -181
  36. package/dist/dolt/branch.d.ts +4 -53
  37. package/dist/dolt/branch.js +23 -81
  38. package/dist/dolt/branches-api.js +1 -1
  39. package/dist/dolt/index.d.ts +5 -3
  40. package/dist/dolt/index.js +5 -3
  41. package/dist/dolt/migrate-all-branches.js +1 -1
  42. package/dist/dolt/{ref.d.ts → ref-helpers.d.ts} +5 -2
  43. package/dist/dolt/{ref.js → ref-helpers.js} +15 -3
  44. package/dist/dolt/ref-middleware.d.ts +82 -0
  45. package/dist/dolt/ref-middleware.js +217 -0
  46. package/dist/dolt/ref-scope.d.ts +101 -0
  47. package/dist/dolt/ref-scope.js +231 -0
  48. package/dist/env.d.ts +2 -2
  49. package/dist/env.js +1 -1
  50. package/dist/index.d.ts +12 -10
  51. package/dist/index.js +15 -13
  52. package/dist/types/entities.d.ts +3 -2
  53. package/dist/types/index.d.ts +2 -2
  54. package/dist/utils/index.d.ts +2 -2
  55. package/dist/utils/index.js +2 -2
  56. package/dist/utils/third-party-mcp-servers/composio-client.js +23 -23
  57. package/dist/utils/trigger-auth.d.ts +37 -7
  58. package/dist/utils/trigger-auth.js +72 -77
  59. package/dist/validation/dolt-schemas.d.ts +1 -1
  60. package/dist/validation/index.d.ts +2 -2
  61. package/dist/validation/index.js +2 -2
  62. package/dist/validation/schemas.d.ts +473 -486
  63. package/dist/validation/schemas.js +23 -28
  64. package/package.json +2 -1
@@ -768,10 +768,20 @@ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
768
768
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
769
769
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
770
770
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
771
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
772
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
773
771
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
774
772
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
773
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
774
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
775
+ stepCountIs?: number | undefined;
776
+ }, {
777
+ stepCountIs?: number | undefined;
778
+ }, z.core.$ZodTypeInternals<{
779
+ stepCountIs?: number | undefined;
780
+ }, {
781
+ stepCountIs?: number | undefined;
782
+ }>>>>>>;
783
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
784
+ conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
775
785
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
776
786
  base: z.ZodOptional<z.ZodObject<{
777
787
  model: z.ZodOptional<z.ZodString>;
@@ -786,16 +796,6 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
786
796
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
787
797
  }, z.core.$strip>>;
788
798
  }, z.core.$strip>>>>;
789
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
790
- stepCountIs?: number | undefined;
791
- }, {
792
- stepCountIs?: number | undefined;
793
- }, z.core.$ZodTypeInternals<{
794
- stepCountIs?: number | undefined;
795
- }, {
796
- stepCountIs?: number | undefined;
797
- }>>>>>>;
798
- conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
799
799
  }, z.core.$strip>;
800
800
  declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
801
801
  createdAt: drizzle_orm_pg_core208.PgColumn<{
@@ -2429,7 +2429,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2429
2429
  }, {}, {
2430
2430
  length: 256;
2431
2431
  }>;
2432
- }, "tenantId" | "projectId" | "id" | "name" | "description" | "prompt" | "createdAt" | "updatedAt" | "models" | "stopWhen" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2432
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "stopWhen" | "prompt" | "models" | "projectId" | "tenantId" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2433
2433
  declare const AgentUpdateSchema: z.ZodObject<{
2434
2434
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2435
2435
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2697,10 +2697,19 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2697
2697
  }>, z.core.$strip>;
2698
2698
  declare const AgentApiInsertSchema: z.ZodObject<{
2699
2699
  name: z.ZodString;
2700
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2701
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2702
2700
  createdAt: z.ZodOptional<z.ZodString>;
2703
2701
  updatedAt: z.ZodOptional<z.ZodString>;
2702
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2703
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2704
+ transferCountIs?: number | undefined;
2705
+ }, {
2706
+ transferCountIs?: number | undefined;
2707
+ }, z.core.$ZodTypeInternals<{
2708
+ transferCountIs?: number | undefined;
2709
+ }, {
2710
+ transferCountIs?: number | undefined;
2711
+ }>>>>;
2712
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2704
2713
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2705
2714
  base?: {
2706
2715
  model?: string | undefined;
@@ -2754,15 +2763,6 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2754
2763
  providerOptions?: Record<string, any> | undefined;
2755
2764
  } | undefined;
2756
2765
  }>>>>;
2757
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2758
- transferCountIs?: number | undefined;
2759
- }, {
2760
- transferCountIs?: number | undefined;
2761
- }, z.core.$ZodTypeInternals<{
2762
- transferCountIs?: number | undefined;
2763
- }, {
2764
- transferCountIs?: number | undefined;
2765
- }>>>>;
2766
2766
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2767
2767
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2768
2768
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -2827,10 +2827,19 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2827
2827
  declare const AgentApiUpdateSchema: z.ZodObject<{
2828
2828
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2829
2829
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2830
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2831
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2832
2830
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2833
2831
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2832
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2833
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2834
+ transferCountIs?: number | undefined;
2835
+ }, {
2836
+ transferCountIs?: number | undefined;
2837
+ }, z.core.$ZodTypeInternals<{
2838
+ transferCountIs?: number | undefined;
2839
+ }, {
2840
+ transferCountIs?: number | undefined;
2841
+ }>>>>>>;
2842
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2834
2843
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2835
2844
  base?: {
2836
2845
  model?: string | undefined;
@@ -2884,15 +2893,6 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2884
2893
  providerOptions?: Record<string, any> | undefined;
2885
2894
  } | undefined;
2886
2895
  }>>>>>>;
2887
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2888
- transferCountIs?: number | undefined;
2889
- }, {
2890
- transferCountIs?: number | undefined;
2891
- }, z.core.$ZodTypeInternals<{
2892
- transferCountIs?: number | undefined;
2893
- }, {
2894
- transferCountIs?: number | undefined;
2895
- }>>>>>>;
2896
2896
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2897
2897
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2898
2898
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -2953,36 +2953,53 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2953
2953
  }[] | undefined;
2954
2954
  }>>>>>>;
2955
2955
  }, z.core.$strip>;
2956
- declare const TriggerAuthenticationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2957
- type: z.ZodLiteral<"api_key">;
2958
- data: z.ZodObject<{
2956
+ declare const TriggerAuthHeaderInputSchema: z.ZodObject<{
2957
+ name: z.ZodString;
2958
+ value: z.ZodString;
2959
+ }, z.core.$strip>;
2960
+ declare const TriggerAuthHeaderUpdateSchema: z.ZodObject<{
2961
+ name: z.ZodString;
2962
+ value: z.ZodOptional<z.ZodString>;
2963
+ keepExisting: z.ZodOptional<z.ZodBoolean>;
2964
+ }, z.core.$strip>;
2965
+ declare const TriggerAuthenticationInputSchema: z.ZodObject<{
2966
+ headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
2959
2967
  name: z.ZodString;
2960
2968
  value: z.ZodString;
2961
- }, z.core.$strip>;
2962
- add_position: z.ZodLiteral<"header">;
2963
- }, z.core.$strip>, z.ZodObject<{
2964
- type: z.ZodLiteral<"basic_auth">;
2965
- data: z.ZodObject<{
2966
- username: z.ZodString;
2967
- password: z.ZodString;
2968
- }, z.core.$strip>;
2969
- add_position: z.ZodLiteral<"header">;
2970
- }, z.core.$strip>, z.ZodObject<{
2971
- type: z.ZodLiteral<"bearer_token">;
2972
- data: z.ZodObject<{
2973
- token: z.ZodString;
2974
- }, z.core.$strip>;
2975
- add_position: z.ZodLiteral<"header">;
2976
- }, z.core.$strip>, z.ZodObject<{
2977
- type: z.ZodLiteral<"none">;
2978
- }, z.core.$strip>], "type">;
2969
+ }, z.core.$strip>>>;
2970
+ }, z.core.$strip>;
2971
+ declare const TriggerAuthenticationUpdateSchema: z.ZodObject<{
2972
+ headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
2973
+ name: z.ZodString;
2974
+ value: z.ZodOptional<z.ZodString>;
2975
+ keepExisting: z.ZodOptional<z.ZodBoolean>;
2976
+ }, z.core.$strip>>>;
2977
+ }, z.core.$strip>;
2978
+ declare const TriggerAuthHeaderStoredSchema: z.ZodObject<{
2979
+ name: z.ZodString;
2980
+ valueHash: z.ZodString;
2981
+ valuePrefix: z.ZodString;
2982
+ }, z.core.$strip>;
2983
+ declare const TriggerAuthenticationStoredSchema: z.ZodObject<{
2984
+ headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
2985
+ name: z.ZodString;
2986
+ valueHash: z.ZodString;
2987
+ valuePrefix: z.ZodString;
2988
+ }, z.core.$strip>>>;
2989
+ }, z.core.$strip>;
2990
+ declare const TriggerAuthenticationSchema: z.ZodObject<{
2991
+ headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
2992
+ name: z.ZodString;
2993
+ value: z.ZodString;
2994
+ }, z.core.$strip>>>;
2995
+ }, z.core.$strip>;
2979
2996
  declare const TriggerOutputTransformSchema: z.ZodObject<{
2980
2997
  jmespath: z.ZodOptional<z.ZodString>;
2981
2998
  objectTransformation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2982
2999
  }, z.core.$strip>;
2983
3000
  declare const TriggerInvocationStatusEnum: z.ZodEnum<{
2984
- success: "success";
2985
3001
  pending: "pending";
3002
+ success: "success";
2986
3003
  failed: "failed";
2987
3004
  }>;
2988
3005
  declare const TriggerSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -4030,7 +4047,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4030
4047
  }, {}, {
4031
4048
  length: 256;
4032
4049
  }>;
4033
- }, "tenantId" | "projectId" | "id" | "name" | "description" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecret">, undefined>, undefined>;
4050
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "enabled" | "inputSchema" | "agentId" | "projectId" | "tenantId" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecret">, undefined>, undefined>;
4034
4051
  declare const TriggerUpdateSchema: z.ZodObject<{
4035
4052
  name: z.ZodOptional<z.ZodString>;
4036
4053
  description: z.ZodOptional<z.ZodString>;
@@ -4041,30 +4058,15 @@ declare const TriggerUpdateSchema: z.ZodObject<{
4041
4058
  objectTransformation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4042
4059
  }, z.core.$strip>>;
4043
4060
  messageTemplate: z.ZodOptional<z.ZodString>;
4044
- authentication: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
4045
- type: z.ZodLiteral<"api_key">;
4046
- data: z.ZodObject<{
4061
+ authentication: z.ZodOptional<z.ZodObject<{
4062
+ headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
4047
4063
  name: z.ZodString;
4048
- value: z.ZodString;
4049
- }, z.core.$strip>;
4050
- add_position: z.ZodLiteral<"header">;
4051
- }, z.core.$strip>, z.ZodObject<{
4052
- type: z.ZodLiteral<"basic_auth">;
4053
- data: z.ZodObject<{
4054
- username: z.ZodString;
4055
- password: z.ZodString;
4056
- }, z.core.$strip>;
4057
- add_position: z.ZodLiteral<"header">;
4058
- }, z.core.$strip>, z.ZodObject<{
4059
- type: z.ZodLiteral<"bearer_token">;
4060
- data: z.ZodObject<{
4061
- token: z.ZodString;
4062
- }, z.core.$strip>;
4063
- add_position: z.ZodLiteral<"header">;
4064
- }, z.core.$strip>, z.ZodObject<{
4065
- type: z.ZodLiteral<"none">;
4066
- }, z.core.$strip>], "type">>;
4064
+ value: z.ZodOptional<z.ZodString>;
4065
+ keepExisting: z.ZodOptional<z.ZodBoolean>;
4066
+ }, z.core.$strip>>>;
4067
+ }, z.core.$strip>>;
4067
4068
  signingSecret: z.ZodOptional<z.ZodString>;
4069
+ keepExistingSigningSecret: z.ZodOptional<z.ZodBoolean>;
4068
4070
  }, z.core.$strip>;
4069
4071
  declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4070
4072
  createdAt: z.ZodString;
@@ -4096,9 +4098,9 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4096
4098
  }>, z.core.$strip>;
4097
4099
  declare const TriggerApiInsertSchema: z.ZodObject<{
4098
4100
  name: z.ZodString;
4099
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4100
4101
  createdAt: z.ZodOptional<z.ZodString>;
4101
4102
  updatedAt: z.ZodOptional<z.ZodString>;
4103
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4102
4104
  enabled: z.ZodOptional<z.ZodBoolean>;
4103
4105
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4104
4106
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -4129,30 +4131,15 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4129
4131
  objectTransformation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4130
4132
  }, z.core.$strip>>;
4131
4133
  messageTemplate: z.ZodOptional<z.ZodString>;
4132
- authentication: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
4133
- type: z.ZodLiteral<"api_key">;
4134
- data: z.ZodObject<{
4134
+ authentication: z.ZodOptional<z.ZodObject<{
4135
+ headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
4135
4136
  name: z.ZodString;
4136
- value: z.ZodString;
4137
- }, z.core.$strip>;
4138
- add_position: z.ZodLiteral<"header">;
4139
- }, z.core.$strip>, z.ZodObject<{
4140
- type: z.ZodLiteral<"basic_auth">;
4141
- data: z.ZodObject<{
4142
- username: z.ZodString;
4143
- password: z.ZodString;
4144
- }, z.core.$strip>;
4145
- add_position: z.ZodLiteral<"header">;
4146
- }, z.core.$strip>, z.ZodObject<{
4147
- type: z.ZodLiteral<"bearer_token">;
4148
- data: z.ZodObject<{
4149
- token: z.ZodString;
4150
- }, z.core.$strip>;
4151
- add_position: z.ZodLiteral<"header">;
4152
- }, z.core.$strip>, z.ZodObject<{
4153
- type: z.ZodLiteral<"none">;
4154
- }, z.core.$strip>], "type">>;
4137
+ value: z.ZodOptional<z.ZodString>;
4138
+ keepExisting: z.ZodOptional<z.ZodBoolean>;
4139
+ }, z.core.$strip>>>;
4140
+ }, z.core.$strip>>;
4155
4141
  signingSecret: z.ZodOptional<z.ZodString>;
4142
+ keepExistingSigningSecret: z.ZodOptional<z.ZodBoolean>;
4156
4143
  }, z.core.$strip>;
4157
4144
  declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select", {
4158
4145
  triggerId: drizzle_orm_pg_core208.PgColumn<{
@@ -4963,7 +4950,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
4963
4950
  }, {}, {
4964
4951
  length: 256;
4965
4952
  }>;
4966
- }, "tenantId" | "projectId" | "id" | "agentId" | "createdAt" | "status" | "conversationId" | "triggerId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4953
+ }, "id" | "createdAt" | "status" | "agentId" | "projectId" | "tenantId" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4967
4954
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
4968
4955
  triggerId: z.ZodOptional<z.ZodString>;
4969
4956
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -4996,8 +4983,8 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
4996
4983
  declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
4997
4984
  createdAt: z.ZodOptional<z.ZodString>;
4998
4985
  status: z.ZodOptional<z.ZodString>;
4999
- conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5000
4986
  triggerId: z.ZodString;
4987
+ conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5001
4988
  requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
5002
4989
  transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5003
4990
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5007,8 +4994,8 @@ declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
5007
4994
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5008
4995
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5009
4996
  status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5010
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5011
4997
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4998
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5012
4999
  requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5013
5000
  transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
5014
5001
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -5073,7 +5060,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5073
5060
  dataType: "json";
5074
5061
  columnType: "PgJsonb";
5075
5062
  data: {
5076
- type: "tag" | "commit" | "branch";
5063
+ type: "commit" | "tag" | "branch";
5077
5064
  name: string;
5078
5065
  hash: string;
5079
5066
  };
@@ -5089,7 +5076,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5089
5076
  generated: undefined;
5090
5077
  }, {}, {
5091
5078
  $type: {
5092
- type: "tag" | "commit" | "branch";
5079
+ type: "commit" | "tag" | "branch";
5093
5080
  name: string;
5094
5081
  hash: string;
5095
5082
  };
@@ -5287,7 +5274,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5287
5274
  dataType: "json";
5288
5275
  columnType: "PgJsonb";
5289
5276
  data: {
5290
- type: "tag" | "commit" | "branch";
5277
+ type: "commit" | "tag" | "branch";
5291
5278
  name: string;
5292
5279
  hash: string;
5293
5280
  };
@@ -5303,7 +5290,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5303
5290
  generated: undefined;
5304
5291
  }, {}, {
5305
5292
  $type: {
5306
- type: "tag" | "commit" | "branch";
5293
+ type: "commit" | "tag" | "branch";
5307
5294
  name: string;
5308
5295
  hash: string;
5309
5296
  };
@@ -5456,8 +5443,8 @@ declare const TaskInsertSchema: z.ZodObject<{
5456
5443
  conversationId: z.ZodOptional<z.ZodString>;
5457
5444
  ref: z.ZodObject<{
5458
5445
  type: z.ZodEnum<{
5459
- tag: "tag";
5460
5446
  commit: "commit";
5447
+ tag: "tag";
5461
5448
  branch: "branch";
5462
5449
  }>;
5463
5450
  name: z.ZodString;
@@ -5481,8 +5468,8 @@ declare const TaskUpdateSchema: z.ZodObject<{
5481
5468
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5482
5469
  ref: z.ZodOptional<z.ZodObject<{
5483
5470
  type: z.ZodEnum<{
5484
- tag: "tag";
5485
5471
  commit: "commit";
5472
+ tag: "tag";
5486
5473
  branch: "branch";
5487
5474
  }>;
5488
5475
  name: z.ZodString;
@@ -5497,19 +5484,19 @@ declare const TaskApiSelectSchema: z.ZodObject<OmitProjectScope<{
5497
5484
  updatedAt: z.ZodString;
5498
5485
  contextId: z.ZodString;
5499
5486
  ref: z.ZodNullable<z.ZodType<{
5500
- type: "tag" | "commit" | "branch";
5487
+ type: "commit" | "tag" | "branch";
5501
5488
  name: string;
5502
5489
  hash: string;
5503
5490
  }, {
5504
- type: "tag" | "commit" | "branch";
5491
+ type: "commit" | "tag" | "branch";
5505
5492
  name: string;
5506
5493
  hash: string;
5507
5494
  }, z.core.$ZodTypeInternals<{
5508
- type: "tag" | "commit" | "branch";
5495
+ type: "commit" | "tag" | "branch";
5509
5496
  name: string;
5510
5497
  hash: string;
5511
5498
  }, {
5512
- type: "tag" | "commit" | "branch";
5499
+ type: "commit" | "tag" | "branch";
5513
5500
  name: string;
5514
5501
  hash: string;
5515
5502
  }>>>;
@@ -5535,8 +5522,8 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
5535
5522
  conversationId: z.ZodOptional<z.ZodString>;
5536
5523
  ref: z.ZodObject<{
5537
5524
  type: z.ZodEnum<{
5538
- tag: "tag";
5539
5525
  commit: "commit";
5526
+ tag: "tag";
5540
5527
  branch: "branch";
5541
5528
  }>;
5542
5529
  name: z.ZodString;
@@ -5545,23 +5532,23 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
5545
5532
  }>, z.core.$strip>;
5546
5533
  declare const TaskApiUpdateSchema: z.ZodObject<{
5547
5534
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5548
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5549
5535
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5550
5536
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5551
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
5552
5537
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
5553
5538
  type: z.ZodEnum<{
5554
- tag: "tag";
5555
5539
  commit: "commit";
5540
+ tag: "tag";
5556
5541
  branch: "branch";
5557
5542
  }>;
5558
5543
  name: z.ZodString;
5559
5544
  hash: z.ZodString;
5560
5545
  }, z.core.$strip>>>;
5546
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
5561
5547
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5548
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5549
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5562
5550
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5563
5551
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5564
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5565
5552
  }, z.core.$strip>;
5566
5553
  declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
5567
5554
  createdAt: drizzle_orm_pg_core208.PgColumn<{
@@ -5912,9 +5899,9 @@ declare const TaskRelationApiUpdateSchema: z.ZodObject<{
5912
5899
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5913
5900
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5914
5901
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5902
+ relationType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5915
5903
  parentTaskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5916
5904
  childTaskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5917
- relationType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5918
5905
  }, z.core.$strip>;
5919
5906
  declare const McpTransportConfigSchema: z.ZodObject<{
5920
5907
  type: z.ZodEnum<{
@@ -6606,7 +6593,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6606
6593
  dataType: "json";
6607
6594
  columnType: "PgJsonb";
6608
6595
  data: {
6609
- type: "tag" | "commit" | "branch";
6596
+ type: "commit" | "tag" | "branch";
6610
6597
  name: string;
6611
6598
  hash: string;
6612
6599
  };
@@ -6622,7 +6609,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6622
6609
  generated: undefined;
6623
6610
  }, {}, {
6624
6611
  $type: {
6625
- type: "tag" | "commit" | "branch";
6612
+ type: "commit" | "tag" | "branch";
6626
6613
  name: string;
6627
6614
  hash: string;
6628
6615
  };
@@ -6835,7 +6822,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6835
6822
  dataType: "json";
6836
6823
  columnType: "PgJsonb";
6837
6824
  data: {
6838
- type: "tag" | "commit" | "branch";
6825
+ type: "commit" | "tag" | "branch";
6839
6826
  name: string;
6840
6827
  hash: string;
6841
6828
  };
@@ -6851,7 +6838,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6851
6838
  generated: undefined;
6852
6839
  }, {}, {
6853
6840
  $type: {
6854
- type: "tag" | "commit" | "branch";
6841
+ type: "commit" | "tag" | "branch";
6855
6842
  name: string;
6856
6843
  hash: string;
6857
6844
  };
@@ -6982,8 +6969,8 @@ declare const ConversationInsertSchema: z.ZodObject<{
6982
6969
  contextConfigId: z.ZodOptional<z.ZodString>;
6983
6970
  ref: z.ZodObject<{
6984
6971
  type: z.ZodEnum<{
6985
- tag: "tag";
6986
6972
  commit: "commit";
6973
+ tag: "tag";
6987
6974
  branch: "branch";
6988
6975
  }>;
6989
6976
  name: z.ZodString;
@@ -7008,8 +6995,8 @@ declare const ConversationUpdateSchema: z.ZodObject<{
7008
6995
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7009
6996
  ref: z.ZodOptional<z.ZodObject<{
7010
6997
  type: z.ZodEnum<{
7011
- tag: "tag";
7012
6998
  commit: "commit";
6999
+ tag: "tag";
7013
7000
  branch: "branch";
7014
7001
  }>;
7015
7002
  name: z.ZodString;
@@ -7026,19 +7013,19 @@ declare const ConversationApiSelectSchema: z.ZodObject<OmitProjectScope<{
7026
7013
  agentId: z.ZodNullable<z.ZodString>;
7027
7014
  activeSubAgentId: z.ZodString;
7028
7015
  ref: z.ZodNullable<z.ZodType<{
7029
- type: "tag" | "commit" | "branch";
7016
+ type: "commit" | "tag" | "branch";
7030
7017
  name: string;
7031
7018
  hash: string;
7032
7019
  }, {
7033
- type: "tag" | "commit" | "branch";
7020
+ type: "commit" | "tag" | "branch";
7034
7021
  name: string;
7035
7022
  hash: string;
7036
7023
  }, z.core.$ZodTypeInternals<{
7037
- type: "tag" | "commit" | "branch";
7024
+ type: "commit" | "tag" | "branch";
7038
7025
  name: string;
7039
7026
  hash: string;
7040
7027
  }, {
7041
- type: "tag" | "commit" | "branch";
7028
+ type: "commit" | "tag" | "branch";
7042
7029
  name: string;
7043
7030
  hash: string;
7044
7031
  }>>>;
@@ -7064,8 +7051,8 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
7064
7051
  contextConfigId: z.ZodOptional<z.ZodString>;
7065
7052
  ref: z.ZodObject<{
7066
7053
  type: z.ZodEnum<{
7067
- tag: "tag";
7068
7054
  commit: "commit";
7055
+ tag: "tag";
7069
7056
  branch: "branch";
7070
7057
  }>;
7071
7058
  name: z.ZodString;
@@ -7074,22 +7061,22 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
7074
7061
  }>, z.core.$strip>;
7075
7062
  declare const ConversationApiUpdateSchema: z.ZodObject<{
7076
7063
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7077
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7078
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7079
7064
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7080
7065
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7081
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7082
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7083
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7084
7066
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7085
7067
  type: z.ZodEnum<{
7086
- tag: "tag";
7087
7068
  commit: "commit";
7069
+ tag: "tag";
7088
7070
  branch: "branch";
7089
7071
  }>;
7090
7072
  name: z.ZodString;
7091
7073
  hash: z.ZodString;
7092
7074
  }, z.core.$strip>>>;
7075
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7076
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7077
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7078
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7079
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7093
7080
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7094
7081
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7095
7082
  }, z.core.$strip>;
@@ -7989,20 +7976,20 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
7989
7976
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7990
7977
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7991
7978
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
7992
- content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
7993
7979
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7994
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7995
7980
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7996
7981
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7997
7982
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7998
7983
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7984
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7985
+ a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7986
+ content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
7987
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7999
7988
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8000
7989
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8001
7990
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8002
7991
  messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8003
- taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8004
7992
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8005
- a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8006
7993
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8007
7994
  }, z.core.$strip>;
8008
7995
  declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -8103,7 +8090,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8103
8090
  dataType: "json";
8104
8091
  columnType: "PgJsonb";
8105
8092
  data: {
8106
- type: "tag" | "commit" | "branch";
8093
+ type: "commit" | "tag" | "branch";
8107
8094
  name: string;
8108
8095
  hash: string;
8109
8096
  };
@@ -8119,7 +8106,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8119
8106
  generated: undefined;
8120
8107
  }, {}, {
8121
8108
  $type: {
8122
- type: "tag" | "commit" | "branch";
8109
+ type: "commit" | "tag" | "branch";
8123
8110
  name: string;
8124
8111
  hash: string;
8125
8112
  };
@@ -8353,7 +8340,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8353
8340
  dataType: "json";
8354
8341
  columnType: "PgJsonb";
8355
8342
  data: {
8356
- type: "tag" | "commit" | "branch";
8343
+ type: "commit" | "tag" | "branch";
8357
8344
  name: string;
8358
8345
  hash: string;
8359
8346
  };
@@ -8369,7 +8356,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8369
8356
  generated: undefined;
8370
8357
  }, {}, {
8371
8358
  $type: {
8372
- type: "tag" | "commit" | "branch";
8359
+ type: "commit" | "tag" | "branch";
8373
8360
  name: string;
8374
8361
  hash: string;
8375
8362
  };
@@ -8521,8 +8508,8 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
8521
8508
  id: z.ZodString;
8522
8509
  ref: z.ZodObject<{
8523
8510
  type: z.ZodEnum<{
8524
- tag: "tag";
8525
8511
  commit: "commit";
8512
+ tag: "tag";
8526
8513
  branch: "branch";
8527
8514
  }>;
8528
8515
  name: z.ZodString;
@@ -8547,8 +8534,8 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
8547
8534
  id: z.ZodOptional<z.ZodString>;
8548
8535
  ref: z.ZodOptional<z.ZodObject<{
8549
8536
  type: z.ZodEnum<{
8550
- tag: "tag";
8551
8537
  commit: "commit";
8538
+ tag: "tag";
8552
8539
  branch: "branch";
8553
8540
  }>;
8554
8541
  name: z.ZodString;
@@ -8565,19 +8552,19 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
8565
8552
  contextConfigId: z.ZodString;
8566
8553
  contextVariableKey: z.ZodString;
8567
8554
  ref: z.ZodNullable<z.ZodType<{
8568
- type: "tag" | "commit" | "branch";
8555
+ type: "commit" | "tag" | "branch";
8569
8556
  name: string;
8570
8557
  hash: string;
8571
8558
  }, {
8572
- type: "tag" | "commit" | "branch";
8559
+ type: "commit" | "tag" | "branch";
8573
8560
  name: string;
8574
8561
  hash: string;
8575
8562
  }, z.core.$ZodTypeInternals<{
8576
- type: "tag" | "commit" | "branch";
8563
+ type: "commit" | "tag" | "branch";
8577
8564
  name: string;
8578
8565
  hash: string;
8579
8566
  }, {
8580
- type: "tag" | "commit" | "branch";
8567
+ type: "commit" | "tag" | "branch";
8581
8568
  name: string;
8582
8569
  hash: string;
8583
8570
  }>>>;
@@ -8604,8 +8591,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
8604
8591
  id: z.ZodString;
8605
8592
  ref: z.ZodObject<{
8606
8593
  type: z.ZodEnum<{
8607
- tag: "tag";
8608
8594
  commit: "commit";
8595
+ tag: "tag";
8609
8596
  branch: "branch";
8610
8597
  }>;
8611
8598
  name: z.ZodString;
@@ -8614,19 +8601,19 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
8614
8601
  }>, z.core.$strip>;
8615
8602
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8616
8603
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8617
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
8618
8604
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8619
8605
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8620
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8621
8606
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8622
8607
  type: z.ZodEnum<{
8623
- tag: "tag";
8624
8608
  commit: "commit";
8609
+ tag: "tag";
8625
8610
  branch: "branch";
8626
8611
  }>;
8627
8612
  name: z.ZodString;
8628
8613
  hash: z.ZodString;
8629
8614
  }, z.core.$strip>>>;
8615
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
8616
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8630
8617
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8631
8618
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8632
8619
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -10314,26 +10301,26 @@ declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
10314
10301
  }>, z.core.$strip>;
10315
10302
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
10316
10303
  name: z.ZodString;
10317
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10318
10304
  createdAt: z.ZodOptional<z.ZodString>;
10319
10305
  updatedAt: z.ZodOptional<z.ZodString>;
10306
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10320
10307
  isActive: z.ZodOptional<z.ZodBoolean>;
10321
10308
  suiteConfigIds: z.ZodArray<z.ZodString>;
10322
10309
  }, z.core.$strip>;
10323
10310
  declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
10324
10311
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10325
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10326
10312
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10327
10313
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10314
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10328
10315
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
10329
10316
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
10330
10317
  }, z.core.$strip>;
10331
10318
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
10332
10319
  id: z.ZodString;
10333
10320
  name: z.ZodString;
10334
- description: z.ZodNullable<z.ZodString>;
10335
10321
  createdAt: z.ZodString;
10336
10322
  updatedAt: z.ZodString;
10323
+ description: z.ZodNullable<z.ZodString>;
10337
10324
  isActive: z.ZodBoolean;
10338
10325
  suiteConfigIds: z.ZodArray<z.ZodString>;
10339
10326
  }, z.core.$strip>;
@@ -12467,8 +12454,10 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
12467
12454
  }>, z.core.$strip>;
12468
12455
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
12469
12456
  name: z.ZodString;
12457
+ createdAt: z.ZodOptional<z.ZodString>;
12458
+ updatedAt: z.ZodOptional<z.ZodString>;
12459
+ schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12470
12460
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12471
- prompt: z.ZodString;
12472
12461
  model: z.ZodType<{
12473
12462
  model?: string | undefined;
12474
12463
  providerOptions?: Record<string, any> | undefined;
@@ -12482,15 +12471,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
12482
12471
  model?: string | undefined;
12483
12472
  providerOptions?: Record<string, any> | undefined;
12484
12473
  }>>;
12485
- createdAt: z.ZodOptional<z.ZodString>;
12486
- updatedAt: z.ZodOptional<z.ZodString>;
12487
- schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12474
+ prompt: z.ZodString;
12488
12475
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
12489
12476
  }, z.core.$strip>;
12490
12477
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12491
12478
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12479
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12480
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12481
+ schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12492
12482
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12493
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12494
12483
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
12495
12484
  model?: string | undefined;
12496
12485
  providerOptions?: Record<string, any> | undefined;
@@ -12504,9 +12493,7 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12504
12493
  model?: string | undefined;
12505
12494
  providerOptions?: Record<string, any> | undefined;
12506
12495
  }>>>>;
12507
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12508
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12509
- schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12496
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12510
12497
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
12511
12498
  }, z.core.$strip>;
12512
12499
  declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -13399,8 +13386,8 @@ declare const DatasetItemApiUpdateSchema: z.ZodObject<{
13399
13386
  }>>>>>>;
13400
13387
  }, z.core.$strip>;
13401
13388
  declare const DatasetRunItemSchema: z.ZodObject<{
13402
- id: z.ZodOptional<z.ZodString>;
13403
13389
  input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13390
+ id: z.ZodOptional<z.ZodString>;
13404
13391
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
13405
13392
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
13406
13393
  prompt: string;
@@ -13448,8 +13435,8 @@ declare const DatasetRunItemSchema: z.ZodObject<{
13448
13435
  declare const TriggerDatasetRunSchema: z.ZodObject<{
13449
13436
  datasetRunId: z.ZodString;
13450
13437
  items: z.ZodArray<z.ZodObject<{
13451
- id: z.ZodOptional<z.ZodString>;
13452
13438
  input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13439
+ id: z.ZodOptional<z.ZodString>;
13453
13440
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
13454
13441
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
13455
13442
  prompt: string;
@@ -13856,16 +13843,16 @@ declare const DatasetRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
13856
13843
  }>, z.core.$strip>;
13857
13844
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
13858
13845
  name: z.ZodString;
13859
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13860
13846
  createdAt: z.ZodOptional<z.ZodString>;
13861
13847
  updatedAt: z.ZodOptional<z.ZodString>;
13848
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13862
13849
  datasetId: z.ZodString;
13863
13850
  }, z.core.$strip>;
13864
13851
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
13865
13852
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13866
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13867
13853
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13868
13854
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13855
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13869
13856
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13870
13857
  }, z.core.$strip>;
13871
13858
  declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -14155,15 +14142,15 @@ declare const DatasetRunConfigAgentRelationApiSelectSchema: z.ZodObject<OmitProj
14155
14142
  id: z.ZodString;
14156
14143
  }>, z.core.$strip>;
14157
14144
  declare const DatasetRunConfigAgentRelationApiInsertSchema: z.ZodObject<{
14158
- agentId: z.ZodString;
14159
14145
  createdAt: z.ZodOptional<z.ZodString>;
14160
14146
  updatedAt: z.ZodOptional<z.ZodString>;
14147
+ agentId: z.ZodString;
14161
14148
  datasetRunConfigId: z.ZodString;
14162
14149
  }, z.core.$strip>;
14163
14150
  declare const DatasetRunConfigAgentRelationApiUpdateSchema: z.ZodObject<{
14164
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14165
14151
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14166
14152
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14153
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14167
14154
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14168
14155
  }, z.core.$strip>;
14169
14156
  declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -14538,11 +14525,11 @@ declare const DataComponentInsertSchema: z.ZodObject<{
14538
14525
  in: {};
14539
14526
  }>;
14540
14527
  declare const DataComponentBaseSchema: z.ZodObject<{
14541
- tenantId: z.ZodString;
14542
- projectId: z.ZodString;
14543
14528
  id: z.ZodString;
14544
14529
  name: z.ZodString;
14545
14530
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14531
+ projectId: z.ZodString;
14532
+ tenantId: z.ZodString;
14546
14533
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14547
14534
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
14548
14535
  component: string;
@@ -14636,9 +14623,9 @@ declare const DataComponentApiInsertSchema: z.ZodObject<OmitProjectScope<{
14636
14623
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
14637
14624
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14638
14625
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14639
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14640
14626
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14641
14627
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14628
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14642
14629
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
14643
14630
  render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
14644
14631
  component: string;
@@ -15183,7 +15170,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
15183
15170
  }, {}, {
15184
15171
  length: 256;
15185
15172
  }>;
15186
- }, "tenantId" | "projectId" | "id" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15173
+ }, "id" | "createdAt" | "subAgentId" | "agentId" | "projectId" | "tenantId" | "dataComponentId">, undefined>, undefined>;
15187
15174
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
15188
15175
  dataComponentId: z.ZodOptional<z.ZodString>;
15189
15176
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -15206,8 +15193,8 @@ declare const SubAgentDataComponentApiSelectSchema: z.ZodObject<OmitAgentScope<{
15206
15193
  id: z.ZodString;
15207
15194
  }>, z.core.$strip>;
15208
15195
  declare const SubAgentDataComponentApiInsertSchema: z.ZodObject<{
15209
- agentId: z.ZodString;
15210
15196
  subAgentId: z.ZodString;
15197
+ agentId: z.ZodString;
15211
15198
  dataComponentId: z.ZodString;
15212
15199
  }, {
15213
15200
  out: {};
@@ -15664,9 +15651,9 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
15664
15651
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
15665
15652
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15666
15653
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15667
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15668
15654
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15669
15655
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15656
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15670
15657
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
15671
15658
  render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
15672
15659
  component: string;
@@ -15981,8 +15968,8 @@ declare const SubAgentArtifactComponentApiSelectSchema: z.ZodObject<OmitAgentSco
15981
15968
  id: z.ZodString;
15982
15969
  }>, z.core.$strip>;
15983
15970
  declare const SubAgentArtifactComponentApiInsertSchema: z.ZodObject<{
15984
- agentId: z.ZodString;
15985
15971
  subAgentId: z.ZodString;
15972
+ agentId: z.ZodString;
15986
15973
  artifactComponentId: z.ZodString;
15987
15974
  }, {
15988
15975
  out: {};
@@ -16061,19 +16048,29 @@ declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
16061
16048
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
16062
16049
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16063
16050
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16064
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16065
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16066
16051
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16067
16052
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16053
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16054
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16068
16055
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16069
16056
  }, z.core.$strip>;
16070
16057
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16071
16058
  id: z.ZodString;
16072
16059
  name: z.ZodString;
16073
- description: z.ZodNullable<z.ZodString>;
16074
- prompt: z.ZodNullable<z.ZodString>;
16075
16060
  createdAt: z.ZodString;
16076
16061
  updatedAt: z.ZodString;
16062
+ description: z.ZodNullable<z.ZodString>;
16063
+ stopWhen: z.ZodNullable<z.ZodType<{
16064
+ stepCountIs?: number | undefined;
16065
+ }, {
16066
+ stepCountIs?: number | undefined;
16067
+ }, z.core.$ZodTypeInternals<{
16068
+ stepCountIs?: number | undefined;
16069
+ }, {
16070
+ stepCountIs?: number | undefined;
16071
+ }>>>;
16072
+ prompt: z.ZodNullable<z.ZodString>;
16073
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
16077
16074
  models: z.ZodNullable<z.ZodType<{
16078
16075
  base?: {
16079
16076
  model?: string | undefined;
@@ -16127,24 +16124,14 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16127
16124
  providerOptions?: Record<string, any> | undefined;
16128
16125
  } | undefined;
16129
16126
  }>>>;
16130
- stopWhen: z.ZodNullable<z.ZodType<{
16131
- stepCountIs?: number | undefined;
16132
- }, {
16133
- stepCountIs?: number | undefined;
16134
- }, z.core.$ZodTypeInternals<{
16135
- stepCountIs?: number | undefined;
16136
- }, {
16137
- stepCountIs?: number | undefined;
16138
- }>>>;
16139
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
16140
16127
  type: z.ZodLiteral<"internal">;
16141
16128
  }, z.core.$strip>, z.ZodObject<{
16142
16129
  id: z.ZodString;
16143
16130
  name: z.ZodString;
16144
- description: z.ZodNullable<z.ZodString>;
16145
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16146
16131
  createdAt: z.ZodString;
16147
16132
  updatedAt: z.ZodString;
16133
+ description: z.ZodNullable<z.ZodString>;
16134
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16148
16135
  baseUrl: z.ZodString;
16149
16136
  type: z.ZodLiteral<"external">;
16150
16137
  }, z.core.$strip>], "type">;
@@ -16610,10 +16597,10 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
16610
16597
  }>;
16611
16598
  declare const ApiKeyUpdateSchema: z.ZodObject<{
16612
16599
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16600
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16601
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16613
16602
  agentId: z.ZodOptional<z.ZodString>;
16614
16603
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16615
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16616
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16617
16604
  }, {
16618
16605
  out: {};
16619
16606
  in: {};
@@ -16621,13 +16608,13 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
16621
16608
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
16622
16609
  id: z.ZodString;
16623
16610
  name: z.ZodNullable<z.ZodString>;
16611
+ createdAt: z.ZodString;
16612
+ updatedAt: z.ZodString;
16613
+ expiresAt: z.ZodNullable<z.ZodString>;
16624
16614
  agentId: z.ZodString;
16625
16615
  publicId: z.ZodString;
16626
16616
  keyPrefix: z.ZodString;
16627
16617
  lastUsedAt: z.ZodNullable<z.ZodString>;
16628
- expiresAt: z.ZodNullable<z.ZodString>;
16629
- createdAt: z.ZodString;
16630
- updatedAt: z.ZodString;
16631
16618
  }, {
16632
16619
  out: {};
16633
16620
  in: {};
@@ -16637,13 +16624,13 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16637
16624
  apiKey: z.ZodObject<{
16638
16625
  id: z.ZodString;
16639
16626
  name: z.ZodNullable<z.ZodString>;
16627
+ createdAt: z.ZodString;
16628
+ updatedAt: z.ZodString;
16629
+ expiresAt: z.ZodNullable<z.ZodString>;
16640
16630
  agentId: z.ZodString;
16641
16631
  publicId: z.ZodString;
16642
16632
  keyPrefix: z.ZodString;
16643
16633
  lastUsedAt: z.ZodNullable<z.ZodString>;
16644
- expiresAt: z.ZodNullable<z.ZodString>;
16645
- createdAt: z.ZodString;
16646
- updatedAt: z.ZodString;
16647
16634
  }, {
16648
16635
  out: {};
16649
16636
  in: {};
@@ -16653,20 +16640,20 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16653
16640
  }, z.core.$strip>;
16654
16641
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
16655
16642
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16656
- agentId: z.ZodString;
16657
- expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16658
16643
  createdAt: z.ZodOptional<z.ZodString>;
16659
16644
  updatedAt: z.ZodOptional<z.ZodString>;
16645
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16646
+ agentId: z.ZodString;
16660
16647
  }, {
16661
16648
  out: {};
16662
16649
  in: {};
16663
16650
  }>;
16664
16651
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
16665
16652
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16653
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16654
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16666
16655
  agentId: z.ZodOptional<z.ZodString>;
16667
16656
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16668
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16669
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16670
16657
  }, {
16671
16658
  out: {};
16672
16659
  in: {};
@@ -17161,9 +17148,9 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
17161
17148
  name: z.ZodString;
17162
17149
  createdAt: z.ZodString;
17163
17150
  updatedAt: z.ZodString;
17151
+ userId: z.ZodNullable<z.ZodString>;
17164
17152
  credentialStoreId: z.ZodString;
17165
17153
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
17166
- userId: z.ZodNullable<z.ZodString>;
17167
17154
  toolId: z.ZodNullable<z.ZodString>;
17168
17155
  createdBy: z.ZodNullable<z.ZodString>;
17169
17156
  type: z.ZodEnum<{
@@ -17718,9 +17705,9 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
17718
17705
  name: z.ZodString;
17719
17706
  createdAt: z.ZodOptional<z.ZodString>;
17720
17707
  updatedAt: z.ZodOptional<z.ZodString>;
17708
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17721
17709
  credentialStoreId: z.ZodString;
17722
17710
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17723
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17724
17711
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17725
17712
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17726
17713
  type: z.ZodEnum<{
@@ -17734,9 +17721,9 @@ declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
17734
17721
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17735
17722
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17736
17723
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17724
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17737
17725
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17738
17726
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
17739
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17740
17727
  toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17741
17728
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17742
17729
  type: z.ZodOptional<z.ZodEnum<{
@@ -17862,12 +17849,12 @@ declare const MCPToolConfigSchema: z.ZodObject<{
17862
17849
  id: z.ZodString;
17863
17850
  name: z.ZodString;
17864
17851
  expiresAt: z.ZodOptional<z.ZodString>;
17865
- createdBy: z.ZodOptional<z.ZodString>;
17866
17852
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17867
17853
  credentialScope: z.ZodOptional<z.ZodString>;
17868
17854
  imageUrl: z.ZodOptional<z.ZodString>;
17869
17855
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
17870
17856
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17857
+ createdBy: z.ZodOptional<z.ZodString>;
17871
17858
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
17872
17859
  name: z.ZodString;
17873
17860
  description: z.ZodOptional<z.ZodString>;
@@ -17898,9 +17885,9 @@ declare const MCPToolConfigSchema: z.ZodObject<{
17898
17885
  name: z.ZodString;
17899
17886
  createdAt: z.ZodOptional<z.ZodString>;
17900
17887
  updatedAt: z.ZodOptional<z.ZodString>;
17888
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17901
17889
  credentialStoreId: z.ZodString;
17902
17890
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17903
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17904
17891
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17905
17892
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17906
17893
  type: z.ZodEnum<{
@@ -18036,7 +18023,10 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
18036
18023
  declare const ToolApiUpdateSchema: z.ZodObject<{
18037
18024
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18038
18025
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18026
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18027
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18039
18028
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18029
+ 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>>>>>>>;
18040
18030
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
18041
18031
  type: z.ZodLiteral<"mcp">;
18042
18032
  mcp: z.ZodObject<{
@@ -18064,9 +18054,6 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
18064
18054
  }, z.core.$strip>;
18065
18055
  }, z.core.$strip>>>;
18066
18056
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18067
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18068
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18069
- 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>>>>>>>;
18070
18057
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18071
18058
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18072
18059
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
@@ -18458,10 +18445,10 @@ declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
18458
18445
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
18459
18446
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18460
18447
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18461
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18462
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18463
18448
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18464
18449
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18450
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18451
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18465
18452
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18466
18453
  }, z.core.$strip>;
18467
18454
  declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -19139,8 +19126,8 @@ declare const FunctionApiUpdateSchema: z.ZodObject<{
19139
19126
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19140
19127
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19141
19128
  inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
19142
- executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19143
19129
  dependencies: 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>>>>>>>;
19130
+ executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19144
19131
  }, z.core.$strip>;
19145
19132
  declare const FetchConfigSchema: z.ZodObject<{
19146
19133
  url: z.ZodString;
@@ -19186,9 +19173,9 @@ declare const FetchDefinitionSchema: z.ZodObject<{
19186
19173
  name: z.ZodString;
19187
19174
  createdAt: z.ZodOptional<z.ZodString>;
19188
19175
  updatedAt: z.ZodOptional<z.ZodString>;
19176
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19189
19177
  credentialStoreId: z.ZodString;
19190
19178
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19191
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19192
19179
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19193
19180
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19194
19181
  type: z.ZodEnum<{
@@ -19212,10 +19199,10 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
19212
19199
  in: {};
19213
19200
  }>;
19214
19201
  declare const ContextConfigInsertSchema: z.ZodObject<{
19215
- tenantId: z.ZodString;
19216
- projectId: z.ZodString;
19217
19202
  id: z.ZodOptional<z.ZodString>;
19218
19203
  agentId: z.ZodString;
19204
+ projectId: z.ZodString;
19205
+ tenantId: z.ZodString;
19219
19206
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
19220
19207
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
19221
19208
  }, {
@@ -19223,10 +19210,10 @@ declare const ContextConfigInsertSchema: z.ZodObject<{
19223
19210
  in: {};
19224
19211
  }>;
19225
19212
  declare const ContextConfigUpdateSchema: z.ZodObject<{
19226
- tenantId: z.ZodOptional<z.ZodString>;
19227
- projectId: z.ZodOptional<z.ZodString>;
19228
19213
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19229
19214
  agentId: z.ZodOptional<z.ZodString>;
19215
+ projectId: z.ZodOptional<z.ZodString>;
19216
+ tenantId: z.ZodOptional<z.ZodString>;
19230
19217
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
19231
19218
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
19232
19219
  }, {
@@ -19739,13 +19726,13 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
19739
19726
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19740
19727
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19741
19728
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19742
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19743
19729
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
19730
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19731
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19732
+ selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
19744
19733
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
19745
19734
  needsApproval: z.ZodOptional<z.ZodBoolean>;
19746
19735
  }, z.core.$strip>>>>>>;
19747
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19748
- selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
19749
19736
  }, z.core.$strip>;
19750
19737
  declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
19751
19738
  createdAt: drizzle_orm_pg_core208.PgColumn<{
@@ -20134,8 +20121,8 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
20134
20121
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20135
20122
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20136
20123
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
20137
- externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20138
20124
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20125
+ externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20139
20126
  }, z.core.$strip>;
20140
20127
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
20141
20128
  createdAt: drizzle_orm_pg_core208.PgColumn<{
@@ -21868,7 +21855,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
21868
21855
  }, {}, {
21869
21856
  length: 256;
21870
21857
  }>;
21871
- }, "tenantId" | "projectId" | "id" | "type" | "name" | "description" | "createdAt" | "updatedAt" | "metadata" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
21858
+ }, "type" | "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "taskId" | "projectId" | "tenantId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
21872
21859
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
21873
21860
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21874
21861
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -21933,16 +21920,16 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
21933
21920
  id: z.ZodString;
21934
21921
  }>, z.core.$strip>;
21935
21922
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
21936
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21937
21923
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21924
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21938
21925
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21939
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21940
21926
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21941
21927
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21942
21928
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
21929
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21930
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21943
21931
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21944
21932
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21945
- taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21946
21933
  toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21947
21934
  parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
21948
21935
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -22015,9 +22002,19 @@ declare const TeamAgentSchema: z.ZodObject<{
22015
22002
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
22016
22003
  id: z.ZodString;
22017
22004
  name: z.ZodString;
22018
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22019
22005
  createdAt: z.ZodOptional<z.ZodString>;
22020
22006
  updatedAt: z.ZodOptional<z.ZodString>;
22007
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22008
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
22009
+ stepCountIs?: number | undefined;
22010
+ }, {
22011
+ stepCountIs?: number | undefined;
22012
+ }, z.core.$ZodTypeInternals<{
22013
+ stepCountIs?: number | undefined;
22014
+ }, {
22015
+ stepCountIs?: number | undefined;
22016
+ }>>>>;
22017
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22021
22018
  models: z.ZodOptional<z.ZodObject<{
22022
22019
  base: z.ZodOptional<z.ZodObject<{
22023
22020
  model: z.ZodOptional<z.ZodString>;
@@ -22032,16 +22029,6 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
22032
22029
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22033
22030
  }, z.core.$strip>>;
22034
22031
  }, z.core.$strip>>;
22035
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
22036
- stepCountIs?: number | undefined;
22037
- }, {
22038
- stepCountIs?: number | undefined;
22039
- }, z.core.$ZodTypeInternals<{
22040
- stepCountIs?: number | undefined;
22041
- }, {
22042
- stepCountIs?: number | undefined;
22043
- }>>>>;
22044
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22045
22032
  type: z.ZodLiteral<"internal">;
22046
22033
  canUse: z.ZodArray<z.ZodObject<{
22047
22034
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -22068,18 +22055,28 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
22068
22055
  }, z.core.$strip>;
22069
22056
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22070
22057
  name: z.ZodString;
22071
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22072
22058
  createdAt: z.ZodOptional<z.ZodString>;
22073
22059
  updatedAt: z.ZodOptional<z.ZodString>;
22060
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22074
22061
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22075
22062
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22076
22063
  id: z.ZodString;
22077
22064
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
22078
22065
  id: z.ZodString;
22079
22066
  name: z.ZodString;
22080
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22081
22067
  createdAt: z.ZodOptional<z.ZodString>;
22082
22068
  updatedAt: z.ZodOptional<z.ZodString>;
22069
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22070
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
22071
+ stepCountIs?: number | undefined;
22072
+ }, {
22073
+ stepCountIs?: number | undefined;
22074
+ }, z.core.$ZodTypeInternals<{
22075
+ stepCountIs?: number | undefined;
22076
+ }, {
22077
+ stepCountIs?: number | undefined;
22078
+ }>>>>;
22079
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22083
22080
  models: z.ZodOptional<z.ZodObject<{
22084
22081
  base: z.ZodOptional<z.ZodObject<{
22085
22082
  model: z.ZodOptional<z.ZodString>;
@@ -22094,16 +22091,6 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22094
22091
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22095
22092
  }, z.core.$strip>>;
22096
22093
  }, z.core.$strip>>;
22097
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
22098
- stepCountIs?: number | undefined;
22099
- }, {
22100
- stepCountIs?: number | undefined;
22101
- }, z.core.$ZodTypeInternals<{
22102
- stepCountIs?: number | undefined;
22103
- }, {
22104
- stepCountIs?: number | undefined;
22105
- }>>>>;
22106
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22107
22094
  type: z.ZodLiteral<"internal">;
22108
22095
  canUse: z.ZodArray<z.ZodObject<{
22109
22096
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -22208,9 +22195,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22208
22195
  }>, z.core.$strip>>>;
22209
22196
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
22210
22197
  name: z.ZodString;
22211
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22212
22198
  createdAt: z.ZodOptional<z.ZodString>;
22213
22199
  updatedAt: z.ZodOptional<z.ZodString>;
22200
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22214
22201
  enabled: z.ZodOptional<z.ZodBoolean>;
22215
22202
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
22216
22203
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -22330,10 +22317,13 @@ declare const ProjectSelectSchema: z.ZodObject<{
22330
22317
  in: {};
22331
22318
  }>;
22332
22319
  declare const ProjectInsertSchema: z.ZodObject<{
22333
- tenantId: z.ZodString;
22334
22320
  id: z.ZodString;
22335
22321
  name: z.ZodString;
22336
22322
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22323
+ stopWhen: z.ZodOptional<z.ZodObject<{
22324
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
22325
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
22326
+ }, z.core.$strip>>;
22337
22327
  models: z.ZodObject<{
22338
22328
  base: z.ZodObject<{
22339
22329
  model: z.ZodOptional<z.ZodString>;
@@ -22348,10 +22338,7 @@ declare const ProjectInsertSchema: z.ZodObject<{
22348
22338
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22349
22339
  }, z.core.$strip>>;
22350
22340
  }, z.core.$strip>;
22351
- stopWhen: z.ZodOptional<z.ZodObject<{
22352
- transferCountIs: z.ZodOptional<z.ZodNumber>;
22353
- stepCountIs: z.ZodOptional<z.ZodNumber>;
22354
- }, z.core.$strip>>;
22341
+ tenantId: z.ZodString;
22355
22342
  }, {
22356
22343
  out: {};
22357
22344
  in: {};
@@ -22359,6 +22346,10 @@ declare const ProjectInsertSchema: z.ZodObject<{
22359
22346
  declare const ProjectUpdateSchema: z.ZodObject<{
22360
22347
  name: z.ZodOptional<z.ZodString>;
22361
22348
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22349
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodObject<{
22350
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
22351
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
22352
+ }, z.core.$strip>>>;
22362
22353
  models: z.ZodOptional<z.ZodObject<{
22363
22354
  base: z.ZodObject<{
22364
22355
  model: z.ZodOptional<z.ZodString>;
@@ -22373,10 +22364,6 @@ declare const ProjectUpdateSchema: z.ZodObject<{
22373
22364
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22374
22365
  }, z.core.$strip>>;
22375
22366
  }, z.core.$strip>>;
22376
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodObject<{
22377
- transferCountIs: z.ZodOptional<z.ZodNumber>;
22378
- stepCountIs: z.ZodOptional<z.ZodNumber>;
22379
- }, z.core.$strip>>>;
22380
22367
  }, {
22381
22368
  out: {};
22382
22369
  in: {};
@@ -22384,9 +22371,13 @@ declare const ProjectUpdateSchema: z.ZodObject<{
22384
22371
  declare const ProjectApiSelectSchema: z.ZodObject<{
22385
22372
  id: z.ZodString;
22386
22373
  name: z.ZodString;
22387
- description: z.ZodNullable<z.ZodString>;
22388
22374
  createdAt: z.ZodString;
22389
22375
  updatedAt: z.ZodString;
22376
+ description: z.ZodNullable<z.ZodString>;
22377
+ stopWhen: z.ZodNullable<z.ZodObject<{
22378
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
22379
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
22380
+ }, z.core.$strip>>;
22390
22381
  models: z.ZodNullable<z.ZodObject<{
22391
22382
  base: z.ZodObject<{
22392
22383
  model: z.ZodOptional<z.ZodString>;
@@ -22401,10 +22392,6 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
22401
22392
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22402
22393
  }, z.core.$strip>>;
22403
22394
  }, z.core.$strip>>;
22404
- stopWhen: z.ZodNullable<z.ZodObject<{
22405
- transferCountIs: z.ZodOptional<z.ZodNumber>;
22406
- stepCountIs: z.ZodOptional<z.ZodNumber>;
22407
- }, z.core.$strip>>;
22408
22395
  }, {
22409
22396
  out: {};
22410
22397
  in: {};
@@ -22413,6 +22400,10 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
22413
22400
  id: z.ZodString;
22414
22401
  name: z.ZodString;
22415
22402
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22403
+ stopWhen: z.ZodOptional<z.ZodObject<{
22404
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
22405
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
22406
+ }, z.core.$strip>>;
22416
22407
  models: z.ZodObject<{
22417
22408
  base: z.ZodObject<{
22418
22409
  model: z.ZodOptional<z.ZodString>;
@@ -22427,10 +22418,6 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
22427
22418
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22428
22419
  }, z.core.$strip>>;
22429
22420
  }, z.core.$strip>;
22430
- stopWhen: z.ZodOptional<z.ZodObject<{
22431
- transferCountIs: z.ZodOptional<z.ZodNumber>;
22432
- stepCountIs: z.ZodOptional<z.ZodNumber>;
22433
- }, z.core.$strip>>;
22434
22421
  }, {
22435
22422
  out: {};
22436
22423
  in: {};
@@ -22438,6 +22425,10 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
22438
22425
  declare const ProjectApiUpdateSchema: z.ZodObject<{
22439
22426
  name: z.ZodOptional<z.ZodString>;
22440
22427
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22428
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodObject<{
22429
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
22430
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
22431
+ }, z.core.$strip>>>;
22441
22432
  models: z.ZodOptional<z.ZodObject<{
22442
22433
  base: z.ZodObject<{
22443
22434
  model: z.ZodOptional<z.ZodString>;
@@ -22452,10 +22443,6 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
22452
22443
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22453
22444
  }, z.core.$strip>>;
22454
22445
  }, z.core.$strip>>;
22455
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodObject<{
22456
- transferCountIs: z.ZodOptional<z.ZodNumber>;
22457
- stepCountIs: z.ZodOptional<z.ZodNumber>;
22458
- }, z.core.$strip>>>;
22459
22446
  }, {
22460
22447
  out: {};
22461
22448
  in: {};
@@ -22464,6 +22451,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22464
22451
  id: z.ZodString;
22465
22452
  name: z.ZodString;
22466
22453
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22454
+ stopWhen: z.ZodOptional<z.ZodObject<{
22455
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
22456
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
22457
+ }, z.core.$strip>>;
22467
22458
  models: z.ZodObject<{
22468
22459
  base: z.ZodObject<{
22469
22460
  model: z.ZodOptional<z.ZodString>;
@@ -22478,24 +22469,30 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22478
22469
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22479
22470
  }, z.core.$strip>>;
22480
22471
  }, z.core.$strip>;
22481
- stopWhen: z.ZodOptional<z.ZodObject<{
22482
- transferCountIs: z.ZodOptional<z.ZodNumber>;
22483
- stepCountIs: z.ZodOptional<z.ZodNumber>;
22484
- }, z.core.$strip>>;
22485
22472
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
22486
22473
  name: z.ZodString;
22487
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22488
22474
  createdAt: z.ZodOptional<z.ZodString>;
22489
22475
  updatedAt: z.ZodOptional<z.ZodString>;
22476
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22490
22477
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22491
22478
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22492
22479
  id: z.ZodString;
22493
22480
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
22494
22481
  id: z.ZodString;
22495
22482
  name: z.ZodString;
22496
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22497
22483
  createdAt: z.ZodOptional<z.ZodString>;
22498
22484
  updatedAt: z.ZodOptional<z.ZodString>;
22485
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22486
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
22487
+ stepCountIs?: number | undefined;
22488
+ }, {
22489
+ stepCountIs?: number | undefined;
22490
+ }, z.core.$ZodTypeInternals<{
22491
+ stepCountIs?: number | undefined;
22492
+ }, {
22493
+ stepCountIs?: number | undefined;
22494
+ }>>>>;
22495
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22499
22496
  models: z.ZodOptional<z.ZodObject<{
22500
22497
  base: z.ZodOptional<z.ZodObject<{
22501
22498
  model: z.ZodOptional<z.ZodString>;
@@ -22510,16 +22507,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22510
22507
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22511
22508
  }, z.core.$strip>>;
22512
22509
  }, z.core.$strip>>;
22513
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
22514
- stepCountIs?: number | undefined;
22515
- }, {
22516
- stepCountIs?: number | undefined;
22517
- }, z.core.$ZodTypeInternals<{
22518
- stepCountIs?: number | undefined;
22519
- }, {
22520
- stepCountIs?: number | undefined;
22521
- }>>>>;
22522
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22523
22510
  type: z.ZodLiteral<"internal">;
22524
22511
  canUse: z.ZodArray<z.ZodObject<{
22525
22512
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -22624,9 +22611,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22624
22611
  }>, z.core.$strip>>>;
22625
22612
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
22626
22613
  name: z.ZodString;
22627
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22628
22614
  createdAt: z.ZodOptional<z.ZodString>;
22629
22615
  updatedAt: z.ZodOptional<z.ZodString>;
22616
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22630
22617
  enabled: z.ZodOptional<z.ZodBoolean>;
22631
22618
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
22632
22619
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -22824,9 +22811,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22824
22811
  name: z.ZodString;
22825
22812
  createdAt: z.ZodOptional<z.ZodString>;
22826
22813
  updatedAt: z.ZodOptional<z.ZodString>;
22814
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22827
22815
  credentialStoreId: z.ZodString;
22828
22816
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22829
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22830
22817
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22831
22818
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22832
22819
  type: z.ZodEnum<{
@@ -22844,9 +22831,19 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22844
22831
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
22845
22832
  id: z.ZodString;
22846
22833
  name: z.ZodString;
22847
- description: z.ZodNullable<z.ZodString>;
22848
22834
  createdAt: z.ZodString;
22849
22835
  updatedAt: z.ZodString;
22836
+ description: z.ZodNullable<z.ZodString>;
22837
+ stopWhen: z.ZodNullable<z.ZodType<{
22838
+ stepCountIs?: number | undefined;
22839
+ }, {
22840
+ stepCountIs?: number | undefined;
22841
+ }, z.core.$ZodTypeInternals<{
22842
+ stepCountIs?: number | undefined;
22843
+ }, {
22844
+ stepCountIs?: number | undefined;
22845
+ }>>>;
22846
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
22850
22847
  models: z.ZodNullable<z.ZodType<{
22851
22848
  base?: {
22852
22849
  model?: string | undefined;
@@ -22900,16 +22897,6 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
22900
22897
  providerOptions?: Record<string, any> | undefined;
22901
22898
  } | undefined;
22902
22899
  }>>>;
22903
- stopWhen: z.ZodNullable<z.ZodType<{
22904
- stepCountIs?: number | undefined;
22905
- }, {
22906
- stepCountIs?: number | undefined;
22907
- }, z.core.$ZodTypeInternals<{
22908
- stepCountIs?: number | undefined;
22909
- }, {
22910
- stepCountIs?: number | undefined;
22911
- }>>>;
22912
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
22913
22900
  type: z.ZodLiteral<"internal">;
22914
22901
  canUse: z.ZodArray<z.ZodObject<{
22915
22902
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -22937,9 +22924,19 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
22937
22924
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
22938
22925
  id: z.ZodString;
22939
22926
  name: z.ZodString;
22940
- description: z.ZodNullable<z.ZodString>;
22941
22927
  createdAt: z.ZodString;
22942
22928
  updatedAt: z.ZodString;
22929
+ description: z.ZodNullable<z.ZodString>;
22930
+ stopWhen: z.ZodNullable<z.ZodType<{
22931
+ stepCountIs?: number | undefined;
22932
+ }, {
22933
+ stepCountIs?: number | undefined;
22934
+ }, z.core.$ZodTypeInternals<{
22935
+ stepCountIs?: number | undefined;
22936
+ }, {
22937
+ stepCountIs?: number | undefined;
22938
+ }>>>;
22939
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
22943
22940
  models: z.ZodNullable<z.ZodType<{
22944
22941
  base?: {
22945
22942
  model?: string | undefined;
@@ -22993,16 +22990,6 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
22993
22990
  providerOptions?: Record<string, any> | undefined;
22994
22991
  } | undefined;
22995
22992
  }>>>;
22996
- stopWhen: z.ZodNullable<z.ZodType<{
22997
- stepCountIs?: number | undefined;
22998
- }, {
22999
- stepCountIs?: number | undefined;
23000
- }, z.core.$ZodTypeInternals<{
23001
- stepCountIs?: number | undefined;
23002
- }, {
23003
- stepCountIs?: number | undefined;
23004
- }>>>;
23005
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23006
22993
  type: z.ZodLiteral<"internal">;
23007
22994
  canUse: z.ZodArray<z.ZodObject<{
23008
22995
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -23036,17 +23023,27 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
23036
23023
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23037
23024
  id: z.ZodString;
23038
23025
  name: z.ZodString;
23039
- description: z.ZodNullable<z.ZodString>;
23040
23026
  createdAt: z.ZodString;
23041
23027
  updatedAt: z.ZodString;
23028
+ description: z.ZodNullable<z.ZodString>;
23042
23029
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23043
23030
  contextConfigId: z.ZodNullable<z.ZodString>;
23044
23031
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23045
23032
  id: z.ZodString;
23046
23033
  name: z.ZodString;
23047
- description: z.ZodNullable<z.ZodString>;
23048
23034
  createdAt: z.ZodString;
23049
23035
  updatedAt: z.ZodString;
23036
+ description: z.ZodNullable<z.ZodString>;
23037
+ stopWhen: z.ZodNullable<z.ZodType<{
23038
+ stepCountIs?: number | undefined;
23039
+ }, {
23040
+ stepCountIs?: number | undefined;
23041
+ }, z.core.$ZodTypeInternals<{
23042
+ stepCountIs?: number | undefined;
23043
+ }, {
23044
+ stepCountIs?: number | undefined;
23045
+ }>>>;
23046
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23050
23047
  models: z.ZodNullable<z.ZodType<{
23051
23048
  base?: {
23052
23049
  model?: string | undefined;
@@ -23100,16 +23097,6 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23100
23097
  providerOptions?: Record<string, any> | undefined;
23101
23098
  } | undefined;
23102
23099
  }>>>;
23103
- stopWhen: z.ZodNullable<z.ZodType<{
23104
- stepCountIs?: number | undefined;
23105
- }, {
23106
- stepCountIs?: number | undefined;
23107
- }, z.core.$ZodTypeInternals<{
23108
- stepCountIs?: number | undefined;
23109
- }, {
23110
- stepCountIs?: number | undefined;
23111
- }>>>;
23112
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23113
23100
  type: z.ZodLiteral<"internal">;
23114
23101
  canUse: z.ZodArray<z.ZodObject<{
23115
23102
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -23243,9 +23230,9 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23243
23230
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
23244
23231
  id: z.ZodString;
23245
23232
  name: z.ZodString;
23246
- description: z.ZodNullable<z.ZodString>;
23247
23233
  createdAt: z.ZodString;
23248
23234
  updatedAt: z.ZodString;
23235
+ description: z.ZodNullable<z.ZodString>;
23249
23236
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23250
23237
  contextConfigId: z.ZodNullable<z.ZodString>;
23251
23238
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -23356,9 +23343,19 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23356
23343
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23357
23344
  id: z.ZodString;
23358
23345
  name: z.ZodString;
23359
- description: z.ZodNullable<z.ZodString>;
23360
23346
  createdAt: z.ZodString;
23361
23347
  updatedAt: z.ZodString;
23348
+ description: z.ZodNullable<z.ZodString>;
23349
+ stopWhen: z.ZodNullable<z.ZodType<{
23350
+ stepCountIs?: number | undefined;
23351
+ }, {
23352
+ stepCountIs?: number | undefined;
23353
+ }, z.core.$ZodTypeInternals<{
23354
+ stepCountIs?: number | undefined;
23355
+ }, {
23356
+ stepCountIs?: number | undefined;
23357
+ }>>>;
23358
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23362
23359
  models: z.ZodNullable<z.ZodType<{
23363
23360
  base?: {
23364
23361
  model?: string | undefined;
@@ -23412,16 +23409,6 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23412
23409
  providerOptions?: Record<string, any> | undefined;
23413
23410
  } | undefined;
23414
23411
  }>>>;
23415
- stopWhen: z.ZodNullable<z.ZodType<{
23416
- stepCountIs?: number | undefined;
23417
- }, {
23418
- stepCountIs?: number | undefined;
23419
- }, z.core.$ZodTypeInternals<{
23420
- stepCountIs?: number | undefined;
23421
- }, {
23422
- stepCountIs?: number | undefined;
23423
- }>>>;
23424
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23425
23412
  type: z.ZodLiteral<"internal">;
23426
23413
  canUse: z.ZodArray<z.ZodObject<{
23427
23414
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -23456,9 +23443,13 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23456
23443
  declare const FullProjectSelectSchema: z.ZodObject<{
23457
23444
  id: z.ZodString;
23458
23445
  name: z.ZodString;
23459
- description: z.ZodNullable<z.ZodString>;
23460
23446
  createdAt: z.ZodString;
23461
23447
  updatedAt: z.ZodString;
23448
+ description: z.ZodNullable<z.ZodString>;
23449
+ stopWhen: z.ZodNullable<z.ZodObject<{
23450
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
23451
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
23452
+ }, z.core.$strip>>;
23462
23453
  models: z.ZodNullable<z.ZodObject<{
23463
23454
  base: z.ZodObject<{
23464
23455
  model: z.ZodOptional<z.ZodString>;
@@ -23473,24 +23464,30 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23473
23464
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
23474
23465
  }, z.core.$strip>>;
23475
23466
  }, z.core.$strip>>;
23476
- stopWhen: z.ZodNullable<z.ZodObject<{
23477
- transferCountIs: z.ZodOptional<z.ZodNumber>;
23478
- stepCountIs: z.ZodOptional<z.ZodNumber>;
23479
- }, z.core.$strip>>;
23480
23467
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
23481
23468
  id: z.ZodString;
23482
23469
  name: z.ZodString;
23483
- description: z.ZodNullable<z.ZodString>;
23484
23470
  createdAt: z.ZodString;
23485
23471
  updatedAt: z.ZodString;
23472
+ description: z.ZodNullable<z.ZodString>;
23486
23473
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23487
23474
  contextConfigId: z.ZodNullable<z.ZodString>;
23488
23475
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23489
23476
  id: z.ZodString;
23490
23477
  name: z.ZodString;
23491
- description: z.ZodNullable<z.ZodString>;
23492
23478
  createdAt: z.ZodString;
23493
23479
  updatedAt: z.ZodString;
23480
+ description: z.ZodNullable<z.ZodString>;
23481
+ stopWhen: z.ZodNullable<z.ZodType<{
23482
+ stepCountIs?: number | undefined;
23483
+ }, {
23484
+ stepCountIs?: number | undefined;
23485
+ }, z.core.$ZodTypeInternals<{
23486
+ stepCountIs?: number | undefined;
23487
+ }, {
23488
+ stepCountIs?: number | undefined;
23489
+ }>>>;
23490
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23494
23491
  models: z.ZodNullable<z.ZodType<{
23495
23492
  base?: {
23496
23493
  model?: string | undefined;
@@ -23544,16 +23541,6 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23544
23541
  providerOptions?: Record<string, any> | undefined;
23545
23542
  } | undefined;
23546
23543
  }>>>;
23547
- stopWhen: z.ZodNullable<z.ZodType<{
23548
- stepCountIs?: number | undefined;
23549
- }, {
23550
- stepCountIs?: number | undefined;
23551
- }, z.core.$ZodTypeInternals<{
23552
- stepCountIs?: number | undefined;
23553
- }, {
23554
- stepCountIs?: number | undefined;
23555
- }>>>;
23556
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23557
23544
  type: z.ZodLiteral<"internal">;
23558
23545
  canUse: z.ZodArray<z.ZodObject<{
23559
23546
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -23810,9 +23797,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23810
23797
  name: z.ZodString;
23811
23798
  createdAt: z.ZodString;
23812
23799
  updatedAt: z.ZodString;
23800
+ userId: z.ZodNullable<z.ZodString>;
23813
23801
  credentialStoreId: z.ZodString;
23814
23802
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
23815
- userId: z.ZodNullable<z.ZodString>;
23816
23803
  toolId: z.ZodNullable<z.ZodString>;
23817
23804
  createdBy: z.ZodNullable<z.ZodString>;
23818
23805
  type: z.ZodEnum<{
@@ -24369,9 +24356,13 @@ declare const FullProjectSelectSchema: z.ZodObject<{
24369
24356
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24370
24357
  id: z.ZodString;
24371
24358
  name: z.ZodString;
24372
- description: z.ZodNullable<z.ZodString>;
24373
24359
  createdAt: z.ZodString;
24374
24360
  updatedAt: z.ZodString;
24361
+ description: z.ZodNullable<z.ZodString>;
24362
+ stopWhen: z.ZodNullable<z.ZodObject<{
24363
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
24364
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
24365
+ }, z.core.$strip>>;
24375
24366
  models: z.ZodNullable<z.ZodObject<{
24376
24367
  base: z.ZodObject<{
24377
24368
  model: z.ZodOptional<z.ZodString>;
@@ -24386,10 +24377,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24386
24377
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
24387
24378
  }, z.core.$strip>>;
24388
24379
  }, z.core.$strip>>;
24389
- stopWhen: z.ZodNullable<z.ZodObject<{
24390
- transferCountIs: z.ZodOptional<z.ZodNumber>;
24391
- stepCountIs: z.ZodOptional<z.ZodNumber>;
24392
- }, z.core.$strip>>;
24393
24380
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
24394
24381
  createdAt: z.ZodString;
24395
24382
  updatedAt: z.ZodString;
@@ -24516,9 +24503,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24516
24503
  name: z.ZodString;
24517
24504
  createdAt: z.ZodString;
24518
24505
  updatedAt: z.ZodString;
24506
+ userId: z.ZodNullable<z.ZodString>;
24519
24507
  credentialStoreId: z.ZodString;
24520
24508
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
24521
- userId: z.ZodNullable<z.ZodString>;
24522
24509
  toolId: z.ZodNullable<z.ZodString>;
24523
24510
  createdBy: z.ZodNullable<z.ZodString>;
24524
24511
  type: z.ZodEnum<{
@@ -25071,9 +25058,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25071
25058
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25072
25059
  id: z.ZodString;
25073
25060
  name: z.ZodString;
25074
- description: z.ZodNullable<z.ZodString>;
25075
25061
  createdAt: z.ZodString;
25076
25062
  updatedAt: z.ZodString;
25063
+ description: z.ZodNullable<z.ZodString>;
25077
25064
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
25078
25065
  contextConfigId: z.ZodNullable<z.ZodString>;
25079
25066
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -25184,9 +25171,19 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25184
25171
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25185
25172
  id: z.ZodString;
25186
25173
  name: z.ZodString;
25187
- description: z.ZodNullable<z.ZodString>;
25188
25174
  createdAt: z.ZodString;
25189
25175
  updatedAt: z.ZodString;
25176
+ description: z.ZodNullable<z.ZodString>;
25177
+ stopWhen: z.ZodNullable<z.ZodType<{
25178
+ stepCountIs?: number | undefined;
25179
+ }, {
25180
+ stepCountIs?: number | undefined;
25181
+ }, z.core.$ZodTypeInternals<{
25182
+ stepCountIs?: number | undefined;
25183
+ }, {
25184
+ stepCountIs?: number | undefined;
25185
+ }>>>;
25186
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25190
25187
  models: z.ZodNullable<z.ZodType<{
25191
25188
  base?: {
25192
25189
  model?: string | undefined;
@@ -25240,16 +25237,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25240
25237
  providerOptions?: Record<string, any> | undefined;
25241
25238
  } | undefined;
25242
25239
  }>>>;
25243
- stopWhen: z.ZodNullable<z.ZodType<{
25244
- stepCountIs?: number | undefined;
25245
- }, {
25246
- stepCountIs?: number | undefined;
25247
- }, z.core.$ZodTypeInternals<{
25248
- stepCountIs?: number | undefined;
25249
- }, {
25250
- stepCountIs?: number | undefined;
25251
- }>>>;
25252
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25253
25240
  type: z.ZodLiteral<"internal">;
25254
25241
  canUse: z.ZodArray<z.ZodObject<{
25255
25242
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25289,9 +25276,13 @@ declare const ProjectResponse: z.ZodObject<{
25289
25276
  data: z.ZodObject<{
25290
25277
  id: z.ZodString;
25291
25278
  name: z.ZodString;
25292
- description: z.ZodNullable<z.ZodString>;
25293
25279
  createdAt: z.ZodString;
25294
25280
  updatedAt: z.ZodString;
25281
+ description: z.ZodNullable<z.ZodString>;
25282
+ stopWhen: z.ZodNullable<z.ZodObject<{
25283
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
25284
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
25285
+ }, z.core.$strip>>;
25295
25286
  models: z.ZodNullable<z.ZodObject<{
25296
25287
  base: z.ZodObject<{
25297
25288
  model: z.ZodOptional<z.ZodString>;
@@ -25306,10 +25297,6 @@ declare const ProjectResponse: z.ZodObject<{
25306
25297
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25307
25298
  }, z.core.$strip>>;
25308
25299
  }, z.core.$strip>>;
25309
- stopWhen: z.ZodNullable<z.ZodObject<{
25310
- transferCountIs: z.ZodOptional<z.ZodNumber>;
25311
- stepCountIs: z.ZodOptional<z.ZodNumber>;
25312
- }, z.core.$strip>>;
25313
25300
  }, {
25314
25301
  out: {};
25315
25302
  in: {};
@@ -25580,13 +25567,13 @@ declare const ApiKeyResponse: z.ZodObject<{
25580
25567
  data: z.ZodObject<{
25581
25568
  id: z.ZodString;
25582
25569
  name: z.ZodNullable<z.ZodString>;
25570
+ createdAt: z.ZodString;
25571
+ updatedAt: z.ZodString;
25572
+ expiresAt: z.ZodNullable<z.ZodString>;
25583
25573
  agentId: z.ZodString;
25584
25574
  publicId: z.ZodString;
25585
25575
  keyPrefix: z.ZodString;
25586
25576
  lastUsedAt: z.ZodNullable<z.ZodString>;
25587
- expiresAt: z.ZodNullable<z.ZodString>;
25588
- createdAt: z.ZodString;
25589
- updatedAt: z.ZodString;
25590
25577
  }, {
25591
25578
  out: {};
25592
25579
  in: {};
@@ -25598,9 +25585,9 @@ declare const CredentialReferenceResponse: z.ZodObject<{
25598
25585
  name: z.ZodString;
25599
25586
  createdAt: z.ZodString;
25600
25587
  updatedAt: z.ZodString;
25588
+ userId: z.ZodNullable<z.ZodString>;
25601
25589
  credentialStoreId: z.ZodString;
25602
25590
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
25603
- userId: z.ZodNullable<z.ZodString>;
25604
25591
  toolId: z.ZodNullable<z.ZodString>;
25605
25592
  createdBy: z.ZodNullable<z.ZodString>;
25606
25593
  type: z.ZodEnum<{
@@ -26274,19 +26261,19 @@ declare const ConversationResponse: z.ZodObject<{
26274
26261
  agentId: z.ZodNullable<z.ZodString>;
26275
26262
  activeSubAgentId: z.ZodString;
26276
26263
  ref: z.ZodNullable<z.ZodType<{
26277
- type: "tag" | "commit" | "branch";
26264
+ type: "commit" | "tag" | "branch";
26278
26265
  name: string;
26279
26266
  hash: string;
26280
26267
  }, {
26281
- type: "tag" | "commit" | "branch";
26268
+ type: "commit" | "tag" | "branch";
26282
26269
  name: string;
26283
26270
  hash: string;
26284
26271
  }, z.core.$ZodTypeInternals<{
26285
- type: "tag" | "commit" | "branch";
26272
+ type: "commit" | "tag" | "branch";
26286
26273
  name: string;
26287
26274
  hash: string;
26288
26275
  }, {
26289
- type: "tag" | "commit" | "branch";
26276
+ type: "commit" | "tag" | "branch";
26290
26277
  name: string;
26291
26278
  hash: string;
26292
26279
  }>>>;
@@ -26372,9 +26359,13 @@ declare const ProjectListResponse: z.ZodObject<{
26372
26359
  data: z.ZodArray<z.ZodObject<{
26373
26360
  id: z.ZodString;
26374
26361
  name: z.ZodString;
26375
- description: z.ZodNullable<z.ZodString>;
26376
26362
  createdAt: z.ZodString;
26377
26363
  updatedAt: z.ZodString;
26364
+ description: z.ZodNullable<z.ZodString>;
26365
+ stopWhen: z.ZodNullable<z.ZodObject<{
26366
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
26367
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
26368
+ }, z.core.$strip>>;
26378
26369
  models: z.ZodNullable<z.ZodObject<{
26379
26370
  base: z.ZodObject<{
26380
26371
  model: z.ZodOptional<z.ZodString>;
@@ -26389,10 +26380,6 @@ declare const ProjectListResponse: z.ZodObject<{
26389
26380
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
26390
26381
  }, z.core.$strip>>;
26391
26382
  }, z.core.$strip>>;
26392
- stopWhen: z.ZodNullable<z.ZodObject<{
26393
- transferCountIs: z.ZodOptional<z.ZodNumber>;
26394
- stepCountIs: z.ZodOptional<z.ZodNumber>;
26395
- }, z.core.$strip>>;
26396
26383
  }, {
26397
26384
  out: {};
26398
26385
  in: {};
@@ -26699,13 +26686,13 @@ declare const ApiKeyListResponse: z.ZodObject<{
26699
26686
  data: z.ZodArray<z.ZodObject<{
26700
26687
  id: z.ZodString;
26701
26688
  name: z.ZodNullable<z.ZodString>;
26689
+ createdAt: z.ZodString;
26690
+ updatedAt: z.ZodString;
26691
+ expiresAt: z.ZodNullable<z.ZodString>;
26702
26692
  agentId: z.ZodString;
26703
26693
  publicId: z.ZodString;
26704
26694
  keyPrefix: z.ZodString;
26705
26695
  lastUsedAt: z.ZodNullable<z.ZodString>;
26706
- expiresAt: z.ZodNullable<z.ZodString>;
26707
- createdAt: z.ZodString;
26708
- updatedAt: z.ZodString;
26709
26696
  }, {
26710
26697
  out: {};
26711
26698
  in: {};
@@ -26723,9 +26710,9 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
26723
26710
  name: z.ZodString;
26724
26711
  createdAt: z.ZodString;
26725
26712
  updatedAt: z.ZodString;
26713
+ userId: z.ZodNullable<z.ZodString>;
26726
26714
  credentialStoreId: z.ZodString;
26727
26715
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26728
- userId: z.ZodNullable<z.ZodString>;
26729
26716
  toolId: z.ZodNullable<z.ZodString>;
26730
26717
  createdBy: z.ZodNullable<z.ZodString>;
26731
26718
  type: z.ZodEnum<{
@@ -27447,19 +27434,19 @@ declare const ConversationListResponse: z.ZodObject<{
27447
27434
  agentId: z.ZodNullable<z.ZodString>;
27448
27435
  activeSubAgentId: z.ZodString;
27449
27436
  ref: z.ZodNullable<z.ZodType<{
27450
- type: "tag" | "commit" | "branch";
27437
+ type: "commit" | "tag" | "branch";
27451
27438
  name: string;
27452
27439
  hash: string;
27453
27440
  }, {
27454
- type: "tag" | "commit" | "branch";
27441
+ type: "commit" | "tag" | "branch";
27455
27442
  name: string;
27456
27443
  hash: string;
27457
27444
  }, z.core.$ZodTypeInternals<{
27458
- type: "tag" | "commit" | "branch";
27445
+ type: "commit" | "tag" | "branch";
27459
27446
  name: string;
27460
27447
  hash: string;
27461
27448
  }, {
27462
- type: "tag" | "commit" | "branch";
27449
+ type: "commit" | "tag" | "branch";
27463
27450
  name: string;
27464
27451
  hash: string;
27465
27452
  }>>>;
@@ -27626,6 +27613,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27626
27613
  id: z.ZodString;
27627
27614
  name: z.ZodString;
27628
27615
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27616
+ stopWhen: z.ZodOptional<z.ZodObject<{
27617
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
27618
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
27619
+ }, z.core.$strip>>;
27629
27620
  models: z.ZodObject<{
27630
27621
  base: z.ZodObject<{
27631
27622
  model: z.ZodOptional<z.ZodString>;
@@ -27640,24 +27631,30 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27640
27631
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
27641
27632
  }, z.core.$strip>>;
27642
27633
  }, z.core.$strip>;
27643
- stopWhen: z.ZodOptional<z.ZodObject<{
27644
- transferCountIs: z.ZodOptional<z.ZodNumber>;
27645
- stepCountIs: z.ZodOptional<z.ZodNumber>;
27646
- }, z.core.$strip>>;
27647
27634
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
27648
27635
  name: z.ZodString;
27649
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27650
27636
  createdAt: z.ZodOptional<z.ZodString>;
27651
27637
  updatedAt: z.ZodOptional<z.ZodString>;
27638
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27652
27639
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27653
27640
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27654
27641
  id: z.ZodString;
27655
27642
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
27656
27643
  id: z.ZodString;
27657
27644
  name: z.ZodString;
27658
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27659
27645
  createdAt: z.ZodOptional<z.ZodString>;
27660
27646
  updatedAt: z.ZodOptional<z.ZodString>;
27647
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27648
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
27649
+ stepCountIs?: number | undefined;
27650
+ }, {
27651
+ stepCountIs?: number | undefined;
27652
+ }, z.core.$ZodTypeInternals<{
27653
+ stepCountIs?: number | undefined;
27654
+ }, {
27655
+ stepCountIs?: number | undefined;
27656
+ }>>>>;
27657
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
27661
27658
  models: z.ZodOptional<z.ZodObject<{
27662
27659
  base: z.ZodOptional<z.ZodObject<{
27663
27660
  model: z.ZodOptional<z.ZodString>;
@@ -27672,16 +27669,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27672
27669
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
27673
27670
  }, z.core.$strip>>;
27674
27671
  }, z.core.$strip>>;
27675
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
27676
- stepCountIs?: number | undefined;
27677
- }, {
27678
- stepCountIs?: number | undefined;
27679
- }, z.core.$ZodTypeInternals<{
27680
- stepCountIs?: number | undefined;
27681
- }, {
27682
- stepCountIs?: number | undefined;
27683
- }>>>>;
27684
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
27685
27672
  type: z.ZodLiteral<"internal">;
27686
27673
  canUse: z.ZodArray<z.ZodObject<{
27687
27674
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -27786,9 +27773,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27786
27773
  }>, z.core.$strip>>>;
27787
27774
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
27788
27775
  name: z.ZodString;
27789
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27790
27776
  createdAt: z.ZodOptional<z.ZodString>;
27791
27777
  updatedAt: z.ZodOptional<z.ZodString>;
27778
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27792
27779
  enabled: z.ZodOptional<z.ZodBoolean>;
27793
27780
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
27794
27781
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -27986,9 +27973,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27986
27973
  name: z.ZodString;
27987
27974
  createdAt: z.ZodOptional<z.ZodString>;
27988
27975
  updatedAt: z.ZodOptional<z.ZodString>;
27976
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27989
27977
  credentialStoreId: z.ZodString;
27990
27978
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
27991
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27992
27979
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27993
27980
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27994
27981
  type: z.ZodEnum<{
@@ -28008,9 +27995,13 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28008
27995
  data: z.ZodObject<{
28009
27996
  id: z.ZodString;
28010
27997
  name: z.ZodString;
28011
- description: z.ZodNullable<z.ZodString>;
28012
27998
  createdAt: z.ZodString;
28013
27999
  updatedAt: z.ZodString;
28000
+ description: z.ZodNullable<z.ZodString>;
28001
+ stopWhen: z.ZodNullable<z.ZodObject<{
28002
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
28003
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
28004
+ }, z.core.$strip>>;
28014
28005
  models: z.ZodNullable<z.ZodObject<{
28015
28006
  base: z.ZodObject<{
28016
28007
  model: z.ZodOptional<z.ZodString>;
@@ -28025,24 +28016,30 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28025
28016
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
28026
28017
  }, z.core.$strip>>;
28027
28018
  }, z.core.$strip>>;
28028
- stopWhen: z.ZodNullable<z.ZodObject<{
28029
- transferCountIs: z.ZodOptional<z.ZodNumber>;
28030
- stepCountIs: z.ZodOptional<z.ZodNumber>;
28031
- }, z.core.$strip>>;
28032
28019
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28033
28020
  id: z.ZodString;
28034
28021
  name: z.ZodString;
28035
- description: z.ZodNullable<z.ZodString>;
28036
28022
  createdAt: z.ZodString;
28037
28023
  updatedAt: z.ZodString;
28024
+ description: z.ZodNullable<z.ZodString>;
28038
28025
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
28039
28026
  contextConfigId: z.ZodNullable<z.ZodString>;
28040
28027
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28041
28028
  id: z.ZodString;
28042
28029
  name: z.ZodString;
28043
- description: z.ZodNullable<z.ZodString>;
28044
28030
  createdAt: z.ZodString;
28045
28031
  updatedAt: z.ZodString;
28032
+ description: z.ZodNullable<z.ZodString>;
28033
+ stopWhen: z.ZodNullable<z.ZodType<{
28034
+ stepCountIs?: number | undefined;
28035
+ }, {
28036
+ stepCountIs?: number | undefined;
28037
+ }, z.core.$ZodTypeInternals<{
28038
+ stepCountIs?: number | undefined;
28039
+ }, {
28040
+ stepCountIs?: number | undefined;
28041
+ }>>>;
28042
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28046
28043
  models: z.ZodNullable<z.ZodType<{
28047
28044
  base?: {
28048
28045
  model?: string | undefined;
@@ -28096,16 +28093,6 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28096
28093
  providerOptions?: Record<string, any> | undefined;
28097
28094
  } | undefined;
28098
28095
  }>>>;
28099
- stopWhen: z.ZodNullable<z.ZodType<{
28100
- stepCountIs?: number | undefined;
28101
- }, {
28102
- stepCountIs?: number | undefined;
28103
- }, z.core.$ZodTypeInternals<{
28104
- stepCountIs?: number | undefined;
28105
- }, {
28106
- stepCountIs?: number | undefined;
28107
- }>>>;
28108
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28109
28096
  type: z.ZodLiteral<"internal">;
28110
28097
  canUse: z.ZodArray<z.ZodObject<{
28111
28098
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -28362,9 +28349,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28362
28349
  name: z.ZodString;
28363
28350
  createdAt: z.ZodString;
28364
28351
  updatedAt: z.ZodString;
28352
+ userId: z.ZodNullable<z.ZodString>;
28365
28353
  credentialStoreId: z.ZodString;
28366
28354
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28367
- userId: z.ZodNullable<z.ZodString>;
28368
28355
  toolId: z.ZodNullable<z.ZodString>;
28369
28356
  createdBy: z.ZodNullable<z.ZodString>;
28370
28357
  type: z.ZodEnum<{
@@ -28923,9 +28910,13 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
28923
28910
  data: z.ZodObject<{
28924
28911
  id: z.ZodString;
28925
28912
  name: z.ZodString;
28926
- description: z.ZodNullable<z.ZodString>;
28927
28913
  createdAt: z.ZodString;
28928
28914
  updatedAt: z.ZodString;
28915
+ description: z.ZodNullable<z.ZodString>;
28916
+ stopWhen: z.ZodNullable<z.ZodObject<{
28917
+ transferCountIs: z.ZodOptional<z.ZodNumber>;
28918
+ stepCountIs: z.ZodOptional<z.ZodNumber>;
28919
+ }, z.core.$strip>>;
28929
28920
  models: z.ZodNullable<z.ZodObject<{
28930
28921
  base: z.ZodObject<{
28931
28922
  model: z.ZodOptional<z.ZodString>;
@@ -28940,10 +28931,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
28940
28931
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
28941
28932
  }, z.core.$strip>>;
28942
28933
  }, z.core.$strip>>;
28943
- stopWhen: z.ZodNullable<z.ZodObject<{
28944
- transferCountIs: z.ZodOptional<z.ZodNumber>;
28945
- stepCountIs: z.ZodOptional<z.ZodNumber>;
28946
- }, z.core.$strip>>;
28947
28934
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
28948
28935
  createdAt: z.ZodString;
28949
28936
  updatedAt: z.ZodString;
@@ -29070,9 +29057,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29070
29057
  name: z.ZodString;
29071
29058
  createdAt: z.ZodString;
29072
29059
  updatedAt: z.ZodString;
29060
+ userId: z.ZodNullable<z.ZodString>;
29073
29061
  credentialStoreId: z.ZodString;
29074
29062
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29075
- userId: z.ZodNullable<z.ZodString>;
29076
29063
  toolId: z.ZodNullable<z.ZodString>;
29077
29064
  createdBy: z.ZodNullable<z.ZodString>;
29078
29065
  type: z.ZodEnum<{
@@ -29625,9 +29612,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29625
29612
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
29626
29613
  id: z.ZodString;
29627
29614
  name: z.ZodString;
29628
- description: z.ZodNullable<z.ZodString>;
29629
29615
  createdAt: z.ZodString;
29630
29616
  updatedAt: z.ZodString;
29617
+ description: z.ZodNullable<z.ZodString>;
29631
29618
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
29632
29619
  contextConfigId: z.ZodNullable<z.ZodString>;
29633
29620
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -29738,9 +29725,19 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29738
29725
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
29739
29726
  id: z.ZodString;
29740
29727
  name: z.ZodString;
29741
- description: z.ZodNullable<z.ZodString>;
29742
29728
  createdAt: z.ZodString;
29743
29729
  updatedAt: z.ZodString;
29730
+ description: z.ZodNullable<z.ZodString>;
29731
+ stopWhen: z.ZodNullable<z.ZodType<{
29732
+ stepCountIs?: number | undefined;
29733
+ }, {
29734
+ stepCountIs?: number | undefined;
29735
+ }, z.core.$ZodTypeInternals<{
29736
+ stepCountIs?: number | undefined;
29737
+ }, {
29738
+ stepCountIs?: number | undefined;
29739
+ }>>>;
29740
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
29744
29741
  models: z.ZodNullable<z.ZodType<{
29745
29742
  base?: {
29746
29743
  model?: string | undefined;
@@ -29794,16 +29791,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29794
29791
  providerOptions?: Record<string, any> | undefined;
29795
29792
  } | undefined;
29796
29793
  }>>>;
29797
- stopWhen: z.ZodNullable<z.ZodType<{
29798
- stepCountIs?: number | undefined;
29799
- }, {
29800
- stepCountIs?: number | undefined;
29801
- }, z.core.$ZodTypeInternals<{
29802
- stepCountIs?: number | undefined;
29803
- }, {
29804
- stepCountIs?: number | undefined;
29805
- }>>>;
29806
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
29807
29794
  type: z.ZodLiteral<"internal">;
29808
29795
  canUse: z.ZodArray<z.ZodObject<{
29809
29796
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -29843,18 +29830,28 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29843
29830
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
29844
29831
  data: z.ZodObject<{
29845
29832
  name: z.ZodString;
29846
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29847
29833
  createdAt: z.ZodOptional<z.ZodString>;
29848
29834
  updatedAt: z.ZodOptional<z.ZodString>;
29835
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29849
29836
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29850
29837
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29851
29838
  id: z.ZodString;
29852
29839
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
29853
29840
  id: z.ZodString;
29854
29841
  name: z.ZodString;
29855
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29856
29842
  createdAt: z.ZodOptional<z.ZodString>;
29857
29843
  updatedAt: z.ZodOptional<z.ZodString>;
29844
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29845
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
29846
+ stepCountIs?: number | undefined;
29847
+ }, {
29848
+ stepCountIs?: number | undefined;
29849
+ }, z.core.$ZodTypeInternals<{
29850
+ stepCountIs?: number | undefined;
29851
+ }, {
29852
+ stepCountIs?: number | undefined;
29853
+ }>>>>;
29854
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
29858
29855
  models: z.ZodOptional<z.ZodObject<{
29859
29856
  base: z.ZodOptional<z.ZodObject<{
29860
29857
  model: z.ZodOptional<z.ZodString>;
@@ -29869,16 +29866,6 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
29869
29866
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
29870
29867
  }, z.core.$strip>>;
29871
29868
  }, z.core.$strip>>;
29872
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
29873
- stepCountIs?: number | undefined;
29874
- }, {
29875
- stepCountIs?: number | undefined;
29876
- }, z.core.$ZodTypeInternals<{
29877
- stepCountIs?: number | undefined;
29878
- }, {
29879
- stepCountIs?: number | undefined;
29880
- }>>>>;
29881
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
29882
29869
  type: z.ZodLiteral<"internal">;
29883
29870
  canUse: z.ZodArray<z.ZodObject<{
29884
29871
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -29983,9 +29970,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
29983
29970
  }>, z.core.$strip>>>;
29984
29971
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
29985
29972
  name: z.ZodString;
29986
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29987
29973
  createdAt: z.ZodOptional<z.ZodString>;
29988
29974
  updatedAt: z.ZodOptional<z.ZodString>;
29975
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29989
29976
  enabled: z.ZodOptional<z.ZodBoolean>;
29990
29977
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
29991
29978
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -30050,17 +30037,27 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
30050
30037
  data: z.ZodObject<{
30051
30038
  id: z.ZodString;
30052
30039
  name: z.ZodString;
30053
- description: z.ZodNullable<z.ZodString>;
30054
30040
  createdAt: z.ZodString;
30055
30041
  updatedAt: z.ZodString;
30042
+ description: z.ZodNullable<z.ZodString>;
30056
30043
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
30057
30044
  contextConfigId: z.ZodNullable<z.ZodString>;
30058
30045
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
30059
30046
  id: z.ZodString;
30060
30047
  name: z.ZodString;
30061
- description: z.ZodNullable<z.ZodString>;
30062
30048
  createdAt: z.ZodString;
30063
30049
  updatedAt: z.ZodString;
30050
+ description: z.ZodNullable<z.ZodString>;
30051
+ stopWhen: z.ZodNullable<z.ZodType<{
30052
+ stepCountIs?: number | undefined;
30053
+ }, {
30054
+ stepCountIs?: number | undefined;
30055
+ }, z.core.$ZodTypeInternals<{
30056
+ stepCountIs?: number | undefined;
30057
+ }, {
30058
+ stepCountIs?: number | undefined;
30059
+ }>>>;
30060
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
30064
30061
  models: z.ZodNullable<z.ZodType<{
30065
30062
  base?: {
30066
30063
  model?: string | undefined;
@@ -30114,16 +30111,6 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
30114
30111
  providerOptions?: Record<string, any> | undefined;
30115
30112
  } | undefined;
30116
30113
  }>>>;
30117
- stopWhen: z.ZodNullable<z.ZodType<{
30118
- stepCountIs?: number | undefined;
30119
- }, {
30120
- stepCountIs?: number | undefined;
30121
- }, z.core.$ZodTypeInternals<{
30122
- stepCountIs?: number | undefined;
30123
- }, {
30124
- stepCountIs?: number | undefined;
30125
- }>>>;
30126
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
30127
30114
  type: z.ZodLiteral<"internal">;
30128
30115
  canUse: z.ZodArray<z.ZodObject<{
30129
30116
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -30809,8 +30796,8 @@ declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
30809
30796
  }>;
30810
30797
  }, undefined>, undefined>;
30811
30798
  declare const ProjectMetadataInsertSchema: z.ZodObject<{
30812
- tenantId: z.ZodString;
30813
30799
  id: z.ZodString;
30800
+ tenantId: z.ZodString;
30814
30801
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30815
30802
  mainBranchName: z.ZodString;
30816
30803
  }, {
@@ -30818,4 +30805,4 @@ declare const ProjectMetadataInsertSchema: z.ZodObject<{
30818
30805
  in: {};
30819
30806
  }>;
30820
30807
  //#endregion
30821
- export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhen, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectResponse, AgentWithinContextOfProjectSchema, AgentWithinContextOfProjectSelectResponse, AgentWithinContextOfProjectSelectSchema, AgentWithinContextOfProjectSelectSchemaWithRelationIds, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentArrayResponse, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ComponentAssociationListResponse, ComponentAssociationSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationListResponse, ConversationResponse, ConversationSelectSchema, ConversationUpdateSchema, CreateCredentialInStoreRequestSchema, CreateCredentialInStoreResponseSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, CredentialStoreListResponseSchema, CredentialStoreSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentArrayResponse, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, DatasetApiInsertSchema, DatasetApiSelectSchema, DatasetApiUpdateSchema, DatasetInsertSchema, DatasetItemApiInsertSchema, DatasetItemApiSelectSchema, DatasetItemApiUpdateSchema, DatasetItemInsertSchema, DatasetItemSelectSchema, DatasetItemUpdateSchema, DatasetRunApiInsertSchema, DatasetRunApiSelectSchema, DatasetRunApiUpdateSchema, DatasetRunConfigAgentRelationApiInsertSchema, DatasetRunConfigAgentRelationApiSelectSchema, DatasetRunConfigAgentRelationApiUpdateSchema, DatasetRunConfigAgentRelationInsertSchema, DatasetRunConfigAgentRelationSelectSchema, DatasetRunConfigAgentRelationUpdateSchema, DatasetRunConfigApiInsertSchema, DatasetRunConfigApiSelectSchema, DatasetRunConfigApiUpdateSchema, DatasetRunConfigInsertSchema, DatasetRunConfigSelectSchema, DatasetRunConfigUpdateSchema, DatasetRunConversationRelationApiInsertSchema, DatasetRunConversationRelationApiSelectSchema, DatasetRunConversationRelationApiUpdateSchema, DatasetRunConversationRelationInsertSchema, DatasetRunConversationRelationSelectSchema, DatasetRunConversationRelationUpdateSchema, DatasetRunInsertSchema, DatasetRunItemSchema, DatasetRunSelectSchema, DatasetRunUpdateSchema, DatasetSelectSchema, DatasetUpdateSchema, ErrorResponseSchema, EvaluationJobConfigApiInsertSchema, EvaluationJobConfigApiSelectSchema, EvaluationJobConfigApiUpdateSchema, EvaluationJobConfigEvaluatorRelationApiInsertSchema, EvaluationJobConfigEvaluatorRelationApiSelectSchema, EvaluationJobConfigEvaluatorRelationApiUpdateSchema, EvaluationJobConfigEvaluatorRelationInsertSchema, EvaluationJobConfigEvaluatorRelationSelectSchema, EvaluationJobConfigEvaluatorRelationUpdateSchema, EvaluationJobConfigInsertSchema, EvaluationJobConfigSelectSchema, EvaluationJobConfigUpdateSchema, EvaluationJobFilterCriteriaSchema, EvaluationResultApiInsertSchema, EvaluationResultApiSelectSchema, EvaluationResultApiUpdateSchema, EvaluationResultInsertSchema, EvaluationResultSelectSchema, EvaluationResultUpdateSchema, EvaluationRunApiInsertSchema, EvaluationRunApiSelectSchema, EvaluationRunApiUpdateSchema, EvaluationRunConfigApiInsertSchema, EvaluationRunConfigApiSelectSchema, EvaluationRunConfigApiUpdateSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema, EvaluationRunConfigEvaluationSuiteConfigRelationInsertSchema, EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema, EvaluationRunConfigEvaluationSuiteConfigRelationUpdateSchema, EvaluationRunConfigInsertSchema, EvaluationRunConfigSelectSchema, EvaluationRunConfigUpdateSchema, EvaluationRunConfigWithSuiteConfigsApiSelectSchema, EvaluationRunInsertSchema, EvaluationRunSelectSchema, EvaluationRunUpdateSchema, EvaluationSuiteConfigApiInsertSchema, EvaluationSuiteConfigApiSelectSchema, EvaluationSuiteConfigApiUpdateSchema, EvaluationSuiteConfigEvaluatorRelationApiInsertSchema, EvaluationSuiteConfigEvaluatorRelationApiSelectSchema, EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema, EvaluationSuiteConfigEvaluatorRelationInsertSchema, EvaluationSuiteConfigEvaluatorRelationSelectSchema, EvaluationSuiteConfigEvaluatorRelationUpdateSchema, EvaluationSuiteConfigInsertSchema, EvaluationSuiteConfigSelectSchema, EvaluationSuiteConfigUpdateSchema, EvaluatorApiInsertSchema, EvaluatorApiSelectSchema, EvaluatorApiUpdateSchema, EvaluatorInsertSchema, EvaluatorSelectSchema, EvaluatorUpdateSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FetchConfigSchema, FetchDefinitionSchema, FullAgentAgentInsertSchema, FullAgentSubAgentSelectSchema, FullAgentSubAgentSelectSchemaWithRelationIds, FullProjectDefinitionResponse, FullProjectDefinitionSchema, FullProjectSelectResponse, FullProjectSelectSchema, FullProjectSelectSchemaWithRelationIds, FullProjectSelectWithRelationIdsResponse, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfig, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersScopeSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPCatalogListResponse, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolListResponse, McpToolResponse, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageListResponse, MessageResponse, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettings, ModelSettingsSchema, OAuthCallbackQuerySchema, OAuthLoginQuerySchema, PaginationQueryParamsSchema, PaginationSchema, PaginationWithRefQueryParamsSchema, PrebuiltMCPServerSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectMetadataInsertSchema, ProjectMetadataSelectSchema, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, RefQueryParamSchema, RelatedAgentInfoListResponse, RelatedAgentInfoSchema, RemovedResponseSchema, SimulationAgent, SimulationAgentSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhen, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentListResponse, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentListResponse, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentExternalAgentRelationApiInsertSchema, SubAgentExternalAgentRelationApiSelectSchema, SubAgentExternalAgentRelationApiUpdateSchema, SubAgentExternalAgentRelationInsertSchema, SubAgentExternalAgentRelationListResponse, SubAgentExternalAgentRelationResponse, SubAgentExternalAgentRelationSelectSchema, SubAgentExternalAgentRelationUpdateSchema, SubAgentFunctionToolRelationApiInsertSchema, SubAgentFunctionToolRelationApiSelectSchema, SubAgentFunctionToolRelationInsertSchema, SubAgentFunctionToolRelationListResponse, SubAgentFunctionToolRelationResponse, SubAgentFunctionToolRelationSelectSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentStopWhen, SubAgentStopWhenSchema, SubAgentTeamAgentRelationApiInsertSchema, SubAgentTeamAgentRelationApiSelectSchema, SubAgentTeamAgentRelationApiUpdateSchema, SubAgentTeamAgentRelationInsertSchema, SubAgentTeamAgentRelationListResponse, SubAgentTeamAgentRelationResponse, SubAgentTeamAgentRelationSelectSchema, SubAgentTeamAgentRelationUpdateSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TeamAgentSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ThirdPartyMCPServerResponse, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolListResponse, ToolResponse, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, TriggerApiInsertSchema, TriggerApiSelectSchema, TriggerApiUpdateSchema, TriggerAuthenticationSchema, TriggerBatchConversationEvaluationSchema, TriggerConversationEvaluationSchema, TriggerDatasetRunSchema, TriggerEvaluationJobSchema, TriggerInsertSchema, TriggerInvocationApiInsertSchema, TriggerInvocationApiSelectSchema, TriggerInvocationApiUpdateSchema, TriggerInvocationInsertSchema, TriggerInvocationListResponse, TriggerInvocationResponse, TriggerInvocationSelectSchema, TriggerInvocationStatusEnum, TriggerInvocationUpdateSchema, TriggerListResponse, TriggerOutputTransformSchema, TriggerResponse, TriggerSelectSchema, TriggerUpdateSchema, URL_SAFE_ID_PATTERN, canDelegateToExternalAgentInsertSchema, canDelegateToExternalAgentSchema, canDelegateToTeamAgentInsertSchema, canDelegateToTeamAgentSchema, canRelateToInternalSubAgentSchema, resourceIdSchema };
30808
+ export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhen, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectResponse, AgentWithinContextOfProjectSchema, AgentWithinContextOfProjectSelectResponse, AgentWithinContextOfProjectSelectSchema, AgentWithinContextOfProjectSelectSchemaWithRelationIds, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentArrayResponse, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ComponentAssociationListResponse, ComponentAssociationSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationListResponse, ConversationResponse, ConversationSelectSchema, ConversationUpdateSchema, CreateCredentialInStoreRequestSchema, CreateCredentialInStoreResponseSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, CredentialStoreListResponseSchema, CredentialStoreSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentArrayResponse, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, DatasetApiInsertSchema, DatasetApiSelectSchema, DatasetApiUpdateSchema, DatasetInsertSchema, DatasetItemApiInsertSchema, DatasetItemApiSelectSchema, DatasetItemApiUpdateSchema, DatasetItemInsertSchema, DatasetItemSelectSchema, DatasetItemUpdateSchema, DatasetRunApiInsertSchema, DatasetRunApiSelectSchema, DatasetRunApiUpdateSchema, DatasetRunConfigAgentRelationApiInsertSchema, DatasetRunConfigAgentRelationApiSelectSchema, DatasetRunConfigAgentRelationApiUpdateSchema, DatasetRunConfigAgentRelationInsertSchema, DatasetRunConfigAgentRelationSelectSchema, DatasetRunConfigAgentRelationUpdateSchema, DatasetRunConfigApiInsertSchema, DatasetRunConfigApiSelectSchema, DatasetRunConfigApiUpdateSchema, DatasetRunConfigInsertSchema, DatasetRunConfigSelectSchema, DatasetRunConfigUpdateSchema, DatasetRunConversationRelationApiInsertSchema, DatasetRunConversationRelationApiSelectSchema, DatasetRunConversationRelationApiUpdateSchema, DatasetRunConversationRelationInsertSchema, DatasetRunConversationRelationSelectSchema, DatasetRunConversationRelationUpdateSchema, DatasetRunInsertSchema, DatasetRunItemSchema, DatasetRunSelectSchema, DatasetRunUpdateSchema, DatasetSelectSchema, DatasetUpdateSchema, ErrorResponseSchema, EvaluationJobConfigApiInsertSchema, EvaluationJobConfigApiSelectSchema, EvaluationJobConfigApiUpdateSchema, EvaluationJobConfigEvaluatorRelationApiInsertSchema, EvaluationJobConfigEvaluatorRelationApiSelectSchema, EvaluationJobConfigEvaluatorRelationApiUpdateSchema, EvaluationJobConfigEvaluatorRelationInsertSchema, EvaluationJobConfigEvaluatorRelationSelectSchema, EvaluationJobConfigEvaluatorRelationUpdateSchema, EvaluationJobConfigInsertSchema, EvaluationJobConfigSelectSchema, EvaluationJobConfigUpdateSchema, EvaluationJobFilterCriteriaSchema, EvaluationResultApiInsertSchema, EvaluationResultApiSelectSchema, EvaluationResultApiUpdateSchema, EvaluationResultInsertSchema, EvaluationResultSelectSchema, EvaluationResultUpdateSchema, EvaluationRunApiInsertSchema, EvaluationRunApiSelectSchema, EvaluationRunApiUpdateSchema, EvaluationRunConfigApiInsertSchema, EvaluationRunConfigApiSelectSchema, EvaluationRunConfigApiUpdateSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema, EvaluationRunConfigEvaluationSuiteConfigRelationInsertSchema, EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema, EvaluationRunConfigEvaluationSuiteConfigRelationUpdateSchema, EvaluationRunConfigInsertSchema, EvaluationRunConfigSelectSchema, EvaluationRunConfigUpdateSchema, EvaluationRunConfigWithSuiteConfigsApiSelectSchema, EvaluationRunInsertSchema, EvaluationRunSelectSchema, EvaluationRunUpdateSchema, EvaluationSuiteConfigApiInsertSchema, EvaluationSuiteConfigApiSelectSchema, EvaluationSuiteConfigApiUpdateSchema, EvaluationSuiteConfigEvaluatorRelationApiInsertSchema, EvaluationSuiteConfigEvaluatorRelationApiSelectSchema, EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema, EvaluationSuiteConfigEvaluatorRelationInsertSchema, EvaluationSuiteConfigEvaluatorRelationSelectSchema, EvaluationSuiteConfigEvaluatorRelationUpdateSchema, EvaluationSuiteConfigInsertSchema, EvaluationSuiteConfigSelectSchema, EvaluationSuiteConfigUpdateSchema, EvaluatorApiInsertSchema, EvaluatorApiSelectSchema, EvaluatorApiUpdateSchema, EvaluatorInsertSchema, EvaluatorSelectSchema, EvaluatorUpdateSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FetchConfigSchema, FetchDefinitionSchema, FullAgentAgentInsertSchema, FullAgentSubAgentSelectSchema, FullAgentSubAgentSelectSchemaWithRelationIds, FullProjectDefinitionResponse, FullProjectDefinitionSchema, FullProjectSelectResponse, FullProjectSelectSchema, FullProjectSelectSchemaWithRelationIds, FullProjectSelectWithRelationIdsResponse, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfig, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersScopeSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPCatalogListResponse, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolListResponse, McpToolResponse, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageListResponse, MessageResponse, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettings, ModelSettingsSchema, OAuthCallbackQuerySchema, OAuthLoginQuerySchema, PaginationQueryParamsSchema, PaginationSchema, PaginationWithRefQueryParamsSchema, PrebuiltMCPServerSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectMetadataInsertSchema, ProjectMetadataSelectSchema, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, RefQueryParamSchema, RelatedAgentInfoListResponse, RelatedAgentInfoSchema, RemovedResponseSchema, SimulationAgent, SimulationAgentSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhen, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentListResponse, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentListResponse, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentExternalAgentRelationApiInsertSchema, SubAgentExternalAgentRelationApiSelectSchema, SubAgentExternalAgentRelationApiUpdateSchema, SubAgentExternalAgentRelationInsertSchema, SubAgentExternalAgentRelationListResponse, SubAgentExternalAgentRelationResponse, SubAgentExternalAgentRelationSelectSchema, SubAgentExternalAgentRelationUpdateSchema, SubAgentFunctionToolRelationApiInsertSchema, SubAgentFunctionToolRelationApiSelectSchema, SubAgentFunctionToolRelationInsertSchema, SubAgentFunctionToolRelationListResponse, SubAgentFunctionToolRelationResponse, SubAgentFunctionToolRelationSelectSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentStopWhen, SubAgentStopWhenSchema, SubAgentTeamAgentRelationApiInsertSchema, SubAgentTeamAgentRelationApiSelectSchema, SubAgentTeamAgentRelationApiUpdateSchema, SubAgentTeamAgentRelationInsertSchema, SubAgentTeamAgentRelationListResponse, SubAgentTeamAgentRelationResponse, SubAgentTeamAgentRelationSelectSchema, SubAgentTeamAgentRelationUpdateSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TeamAgentSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ThirdPartyMCPServerResponse, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolListResponse, ToolResponse, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, TriggerApiInsertSchema, TriggerApiSelectSchema, TriggerApiUpdateSchema, TriggerAuthHeaderInputSchema, TriggerAuthHeaderStoredSchema, TriggerAuthHeaderUpdateSchema, TriggerAuthenticationInputSchema, TriggerAuthenticationSchema, TriggerAuthenticationStoredSchema, TriggerAuthenticationUpdateSchema, TriggerBatchConversationEvaluationSchema, TriggerConversationEvaluationSchema, TriggerDatasetRunSchema, TriggerEvaluationJobSchema, TriggerInsertSchema, TriggerInvocationApiInsertSchema, TriggerInvocationApiSelectSchema, TriggerInvocationApiUpdateSchema, TriggerInvocationInsertSchema, TriggerInvocationListResponse, TriggerInvocationResponse, TriggerInvocationSelectSchema, TriggerInvocationStatusEnum, TriggerInvocationUpdateSchema, TriggerListResponse, TriggerOutputTransformSchema, TriggerResponse, TriggerSelectSchema, TriggerUpdateSchema, URL_SAFE_ID_PATTERN, canDelegateToExternalAgentInsertSchema, canDelegateToExternalAgentSchema, canDelegateToTeamAgentInsertSchema, canDelegateToTeamAgentSchema, canRelateToInternalSubAgentSchema, resourceIdSchema };