@inkeep/agents-core 0.0.0-dev-20260203024837 → 0.0.0-dev-20260203033642

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.
@@ -775,7 +775,6 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
775
775
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
776
776
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
777
777
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
778
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
779
778
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
780
779
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
781
780
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -801,6 +800,7 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
801
800
  }, {
802
801
  stepCountIs?: number | undefined;
803
802
  }>>>>>>;
803
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
804
804
  conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
805
805
  }, z.core.$strip>;
806
806
  declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -2435,7 +2435,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2435
2435
  }, {}, {
2436
2436
  length: 256;
2437
2437
  }>;
2438
- }, "tenantId" | "projectId" | "id" | "name" | "description" | "prompt" | "createdAt" | "updatedAt" | "models" | "stopWhen" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2438
+ }, "id" | "name" | "description" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "models" | "stopWhen" | "prompt" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2439
2439
  declare const AgentUpdateSchema: z.ZodObject<{
2440
2440
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2441
2441
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2704,7 +2704,6 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2704
2704
  declare const AgentApiInsertSchema: z.ZodObject<{
2705
2705
  name: z.ZodString;
2706
2706
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2707
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2708
2707
  createdAt: z.ZodOptional<z.ZodString>;
2709
2708
  updatedAt: z.ZodOptional<z.ZodString>;
2710
2709
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -2769,6 +2768,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2769
2768
  }, {
2770
2769
  transferCountIs?: number | undefined;
2771
2770
  }>>>>;
2771
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2772
2772
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2773
2773
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2774
2774
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -2834,7 +2834,6 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2834
2834
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2835
2835
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2836
2836
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2837
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2838
2837
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2839
2838
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2840
2839
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -2899,6 +2898,7 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2899
2898
  }, {
2900
2899
  transferCountIs?: number | undefined;
2901
2900
  }>>>>>>;
2901
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2902
2902
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2903
2903
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2904
2904
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -3958,7 +3958,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3958
3958
  }, {}, {
3959
3959
  length: 256;
3960
3960
  }>;
3961
- }, "tenantId" | "projectId" | "id" | "name" | "description" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
3961
+ }, "id" | "name" | "description" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "agentId" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
3962
3962
  declare const TriggerUpdateSchema: z.ZodObject<{
3963
3963
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3964
3964
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4942,7 +4942,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
4942
4942
  }, {}, {
4943
4943
  length: 256;
4944
4944
  }>;
4945
- }, "tenantId" | "projectId" | "id" | "agentId" | "createdAt" | "status" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4945
+ }, "id" | "createdAt" | "projectId" | "tenantId" | "agentId" | "status" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4946
4946
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
4947
4947
  triggerId: z.ZodOptional<z.ZodString>;
4948
4948
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -5052,7 +5052,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5052
5052
  dataType: "json";
5053
5053
  columnType: "PgJsonb";
5054
5054
  data: {
5055
- type: "commit" | "tag" | "branch";
5055
+ type: "tag" | "commit" | "branch";
5056
5056
  name: string;
5057
5057
  hash: string;
5058
5058
  };
@@ -5068,7 +5068,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5068
5068
  generated: undefined;
5069
5069
  }, {}, {
5070
5070
  $type: {
5071
- type: "commit" | "tag" | "branch";
5071
+ type: "tag" | "commit" | "branch";
5072
5072
  name: string;
5073
5073
  hash: string;
5074
5074
  };
@@ -5266,7 +5266,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5266
5266
  dataType: "json";
5267
5267
  columnType: "PgJsonb";
5268
5268
  data: {
5269
- type: "commit" | "tag" | "branch";
5269
+ type: "tag" | "commit" | "branch";
5270
5270
  name: string;
5271
5271
  hash: string;
5272
5272
  };
@@ -5282,7 +5282,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5282
5282
  generated: undefined;
5283
5283
  }, {}, {
5284
5284
  $type: {
5285
- type: "commit" | "tag" | "branch";
5285
+ type: "tag" | "commit" | "branch";
5286
5286
  name: string;
5287
5287
  hash: string;
5288
5288
  };
@@ -5435,8 +5435,8 @@ declare const TaskInsertSchema: z.ZodObject<{
5435
5435
  conversationId: z.ZodOptional<z.ZodString>;
5436
5436
  ref: z.ZodObject<{
5437
5437
  type: z.ZodEnum<{
5438
- commit: "commit";
5439
5438
  tag: "tag";
5439
+ commit: "commit";
5440
5440
  branch: "branch";
5441
5441
  }>;
5442
5442
  name: z.ZodString;
@@ -5460,8 +5460,8 @@ declare const TaskUpdateSchema: z.ZodObject<{
5460
5460
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5461
5461
  ref: z.ZodOptional<z.ZodObject<{
5462
5462
  type: z.ZodEnum<{
5463
- commit: "commit";
5464
5463
  tag: "tag";
5464
+ commit: "commit";
5465
5465
  branch: "branch";
5466
5466
  }>;
5467
5467
  name: z.ZodString;
@@ -5476,19 +5476,19 @@ declare const TaskApiSelectSchema: z.ZodObject<OmitProjectScope<{
5476
5476
  updatedAt: z.ZodString;
5477
5477
  contextId: z.ZodString;
5478
5478
  ref: z.ZodNullable<z.ZodType<{
5479
- type: "commit" | "tag" | "branch";
5479
+ type: "tag" | "commit" | "branch";
5480
5480
  name: string;
5481
5481
  hash: string;
5482
5482
  }, {
5483
- type: "commit" | "tag" | "branch";
5483
+ type: "tag" | "commit" | "branch";
5484
5484
  name: string;
5485
5485
  hash: string;
5486
5486
  }, z.core.$ZodTypeInternals<{
5487
- type: "commit" | "tag" | "branch";
5487
+ type: "tag" | "commit" | "branch";
5488
5488
  name: string;
5489
5489
  hash: string;
5490
5490
  }, {
5491
- type: "commit" | "tag" | "branch";
5491
+ type: "tag" | "commit" | "branch";
5492
5492
  name: string;
5493
5493
  hash: string;
5494
5494
  }>>>;
@@ -5514,8 +5514,8 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
5514
5514
  conversationId: z.ZodOptional<z.ZodString>;
5515
5515
  ref: z.ZodObject<{
5516
5516
  type: z.ZodEnum<{
5517
- commit: "commit";
5518
5517
  tag: "tag";
5518
+ commit: "commit";
5519
5519
  branch: "branch";
5520
5520
  }>;
5521
5521
  name: z.ZodString;
@@ -5524,22 +5524,22 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
5524
5524
  }>, z.core.$strip>;
5525
5525
  declare const TaskApiUpdateSchema: z.ZodObject<{
5526
5526
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5527
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5528
5527
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5529
5528
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5530
5529
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
5531
- status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5530
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5531
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5532
5532
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
5533
5533
  type: z.ZodEnum<{
5534
- commit: "commit";
5535
5534
  tag: "tag";
5535
+ commit: "commit";
5536
5536
  branch: "branch";
5537
5537
  }>;
5538
5538
  name: z.ZodString;
5539
5539
  hash: z.ZodString;
5540
5540
  }, z.core.$strip>>>;
5541
+ status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5541
5542
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5542
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5543
5543
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5544
5544
  }, z.core.$strip>;
5545
5545
  declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -5891,9 +5891,9 @@ declare const TaskRelationApiUpdateSchema: z.ZodObject<{
5891
5891
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5892
5892
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5893
5893
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5894
+ relationType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5894
5895
  parentTaskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5895
5896
  childTaskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5896
- relationType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5897
5897
  }, z.core.$strip>;
5898
5898
  declare const McpTransportConfigSchema: z.ZodObject<{
5899
5899
  type: z.ZodEnum<{
@@ -6621,7 +6621,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6621
6621
  dataType: "json";
6622
6622
  columnType: "PgJsonb";
6623
6623
  data: {
6624
- type: "commit" | "tag" | "branch";
6624
+ type: "tag" | "commit" | "branch";
6625
6625
  name: string;
6626
6626
  hash: string;
6627
6627
  };
@@ -6637,7 +6637,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6637
6637
  generated: undefined;
6638
6638
  }, {}, {
6639
6639
  $type: {
6640
- type: "commit" | "tag" | "branch";
6640
+ type: "tag" | "commit" | "branch";
6641
6641
  name: string;
6642
6642
  hash: string;
6643
6643
  };
@@ -6850,7 +6850,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6850
6850
  dataType: "json";
6851
6851
  columnType: "PgJsonb";
6852
6852
  data: {
6853
- type: "commit" | "tag" | "branch";
6853
+ type: "tag" | "commit" | "branch";
6854
6854
  name: string;
6855
6855
  hash: string;
6856
6856
  };
@@ -6866,7 +6866,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6866
6866
  generated: undefined;
6867
6867
  }, {}, {
6868
6868
  $type: {
6869
- type: "commit" | "tag" | "branch";
6869
+ type: "tag" | "commit" | "branch";
6870
6870
  name: string;
6871
6871
  hash: string;
6872
6872
  };
@@ -6997,8 +6997,8 @@ declare const ConversationInsertSchema: z.ZodObject<{
6997
6997
  contextConfigId: z.ZodOptional<z.ZodString>;
6998
6998
  ref: z.ZodObject<{
6999
6999
  type: z.ZodEnum<{
7000
- commit: "commit";
7001
7000
  tag: "tag";
7001
+ commit: "commit";
7002
7002
  branch: "branch";
7003
7003
  }>;
7004
7004
  name: z.ZodString;
@@ -7023,8 +7023,8 @@ declare const ConversationUpdateSchema: z.ZodObject<{
7023
7023
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7024
7024
  ref: z.ZodOptional<z.ZodObject<{
7025
7025
  type: z.ZodEnum<{
7026
- commit: "commit";
7027
7026
  tag: "tag";
7027
+ commit: "commit";
7028
7028
  branch: "branch";
7029
7029
  }>;
7030
7030
  name: z.ZodString;
@@ -7041,19 +7041,19 @@ declare const ConversationApiSelectSchema: z.ZodObject<OmitProjectScope<{
7041
7041
  agentId: z.ZodNullable<z.ZodString>;
7042
7042
  activeSubAgentId: z.ZodString;
7043
7043
  ref: z.ZodNullable<z.ZodType<{
7044
- type: "commit" | "tag" | "branch";
7044
+ type: "tag" | "commit" | "branch";
7045
7045
  name: string;
7046
7046
  hash: string;
7047
7047
  }, {
7048
- type: "commit" | "tag" | "branch";
7048
+ type: "tag" | "commit" | "branch";
7049
7049
  name: string;
7050
7050
  hash: string;
7051
7051
  }, z.core.$ZodTypeInternals<{
7052
- type: "commit" | "tag" | "branch";
7052
+ type: "tag" | "commit" | "branch";
7053
7053
  name: string;
7054
7054
  hash: string;
7055
7055
  }, {
7056
- type: "commit" | "tag" | "branch";
7056
+ type: "tag" | "commit" | "branch";
7057
7057
  name: string;
7058
7058
  hash: string;
7059
7059
  }>>>;
@@ -7079,8 +7079,8 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
7079
7079
  contextConfigId: z.ZodOptional<z.ZodString>;
7080
7080
  ref: z.ZodObject<{
7081
7081
  type: z.ZodEnum<{
7082
- commit: "commit";
7083
7082
  tag: "tag";
7083
+ commit: "commit";
7084
7084
  branch: "branch";
7085
7085
  }>;
7086
7086
  name: z.ZodString;
@@ -7089,17 +7089,17 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
7089
7089
  }>, z.core.$strip>;
7090
7090
  declare const ConversationApiUpdateSchema: z.ZodObject<{
7091
7091
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7092
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7093
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7094
7092
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7095
7093
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7096
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7094
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7097
7095
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7096
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7098
7097
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7098
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7099
7099
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7100
7100
  type: z.ZodEnum<{
7101
- commit: "commit";
7102
7101
  tag: "tag";
7102
+ commit: "commit";
7103
7103
  branch: "branch";
7104
7104
  }>;
7105
7105
  name: z.ZodString;
@@ -8118,7 +8118,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8118
8118
  dataType: "json";
8119
8119
  columnType: "PgJsonb";
8120
8120
  data: {
8121
- type: "commit" | "tag" | "branch";
8121
+ type: "tag" | "commit" | "branch";
8122
8122
  name: string;
8123
8123
  hash: string;
8124
8124
  };
@@ -8134,7 +8134,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8134
8134
  generated: undefined;
8135
8135
  }, {}, {
8136
8136
  $type: {
8137
- type: "commit" | "tag" | "branch";
8137
+ type: "tag" | "commit" | "branch";
8138
8138
  name: string;
8139
8139
  hash: string;
8140
8140
  };
@@ -8368,7 +8368,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8368
8368
  dataType: "json";
8369
8369
  columnType: "PgJsonb";
8370
8370
  data: {
8371
- type: "commit" | "tag" | "branch";
8371
+ type: "tag" | "commit" | "branch";
8372
8372
  name: string;
8373
8373
  hash: string;
8374
8374
  };
@@ -8384,7 +8384,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8384
8384
  generated: undefined;
8385
8385
  }, {}, {
8386
8386
  $type: {
8387
- type: "commit" | "tag" | "branch";
8387
+ type: "tag" | "commit" | "branch";
8388
8388
  name: string;
8389
8389
  hash: string;
8390
8390
  };
@@ -8536,8 +8536,8 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
8536
8536
  id: z.ZodString;
8537
8537
  ref: z.ZodObject<{
8538
8538
  type: z.ZodEnum<{
8539
- commit: "commit";
8540
8539
  tag: "tag";
8540
+ commit: "commit";
8541
8541
  branch: "branch";
8542
8542
  }>;
8543
8543
  name: z.ZodString;
@@ -8562,8 +8562,8 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
8562
8562
  id: z.ZodOptional<z.ZodString>;
8563
8563
  ref: z.ZodOptional<z.ZodObject<{
8564
8564
  type: z.ZodEnum<{
8565
- commit: "commit";
8566
8565
  tag: "tag";
8566
+ commit: "commit";
8567
8567
  branch: "branch";
8568
8568
  }>;
8569
8569
  name: z.ZodString;
@@ -8580,19 +8580,19 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
8580
8580
  contextConfigId: z.ZodString;
8581
8581
  contextVariableKey: z.ZodString;
8582
8582
  ref: z.ZodNullable<z.ZodType<{
8583
- type: "commit" | "tag" | "branch";
8583
+ type: "tag" | "commit" | "branch";
8584
8584
  name: string;
8585
8585
  hash: string;
8586
8586
  }, {
8587
- type: "commit" | "tag" | "branch";
8587
+ type: "tag" | "commit" | "branch";
8588
8588
  name: string;
8589
8589
  hash: string;
8590
8590
  }, z.core.$ZodTypeInternals<{
8591
- type: "commit" | "tag" | "branch";
8591
+ type: "tag" | "commit" | "branch";
8592
8592
  name: string;
8593
8593
  hash: string;
8594
8594
  }, {
8595
- type: "commit" | "tag" | "branch";
8595
+ type: "tag" | "commit" | "branch";
8596
8596
  name: string;
8597
8597
  hash: string;
8598
8598
  }>>>;
@@ -8619,8 +8619,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
8619
8619
  id: z.ZodString;
8620
8620
  ref: z.ZodObject<{
8621
8621
  type: z.ZodEnum<{
8622
- commit: "commit";
8623
8622
  tag: "tag";
8623
+ commit: "commit";
8624
8624
  branch: "branch";
8625
8625
  }>;
8626
8626
  name: z.ZodString;
@@ -8629,14 +8629,14 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
8629
8629
  }>, z.core.$strip>;
8630
8630
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8631
8631
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8632
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
8633
8632
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8634
8633
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8634
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
8635
8635
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8636
8636
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8637
8637
  type: z.ZodEnum<{
8638
- commit: "commit";
8639
8638
  tag: "tag";
8639
+ commit: "commit";
8640
8640
  branch: "branch";
8641
8641
  }>;
8642
8642
  name: z.ZodString;
@@ -8975,15 +8975,15 @@ declare const DatasetRunApiInsertSchema: z.ZodObject<{
8975
8975
  createdAt: z.ZodOptional<z.ZodString>;
8976
8976
  updatedAt: z.ZodOptional<z.ZodString>;
8977
8977
  datasetId: z.ZodString;
8978
- datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8979
8978
  evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8979
+ datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8980
8980
  }, z.core.$strip>;
8981
8981
  declare const DatasetRunApiUpdateSchema: z.ZodObject<{
8982
8982
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8983
8983
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8984
8984
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8985
- datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8986
8985
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8986
+ datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8987
8987
  }, z.core.$strip>;
8988
8988
  declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8989
8989
  createdAt: drizzle_orm_pg_core712.PgColumn<{
@@ -9690,16 +9690,16 @@ declare const EvaluationResultApiInsertSchema: z.ZodObject<{
9690
9690
  output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9691
9691
  createdAt: z.ZodOptional<z.ZodString>;
9692
9692
  updatedAt: z.ZodOptional<z.ZodString>;
9693
- conversationId: z.ZodString;
9694
9693
  evaluatorId: z.ZodString;
9694
+ conversationId: z.ZodString;
9695
9695
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9696
9696
  }, z.core.$strip>;
9697
9697
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
9698
9698
  output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
9699
9699
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9700
9700
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9701
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9702
9701
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9702
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9703
9703
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9704
9704
  }, z.core.$strip>;
9705
9705
  declare const EvaluationRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -9991,14 +9991,14 @@ declare const EvaluationRunApiSelectSchema: z.ZodObject<OmitProjectScope<{
9991
9991
  declare const EvaluationRunApiInsertSchema: z.ZodObject<{
9992
9992
  createdAt: z.ZodOptional<z.ZodString>;
9993
9993
  updatedAt: z.ZodOptional<z.ZodString>;
9994
- evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9995
9994
  evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9995
+ evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9996
9996
  }, z.core.$strip>;
9997
9997
  declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
9998
9998
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9999
9999
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10000
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10001
10000
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10001
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10002
10002
  }, z.core.$strip>;
10003
10003
  declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
10004
10004
  createdAt: drizzle_orm_pg_core712.PgColumn<{
@@ -11385,14 +11385,14 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema: z
11385
11385
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema: z.ZodObject<{
11386
11386
  createdAt: z.ZodOptional<z.ZodString>;
11387
11387
  updatedAt: z.ZodOptional<z.ZodString>;
11388
- evaluationRunConfigId: z.ZodString;
11389
11388
  evaluationSuiteConfigId: z.ZodString;
11389
+ evaluationRunConfigId: z.ZodString;
11390
11390
  }, z.core.$strip>;
11391
11391
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z.ZodObject<{
11392
11392
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11393
11393
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11394
- evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11395
11394
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11395
+ evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11396
11396
  }, z.core.$strip>;
11397
11397
  declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11398
11398
  createdAt: drizzle_orm_pg_core712.PgColumn<{
@@ -11691,14 +11691,14 @@ declare const EvaluationJobConfigEvaluatorRelationApiSelectSchema: z.ZodObject<O
11691
11691
  declare const EvaluationJobConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
11692
11692
  createdAt: z.ZodOptional<z.ZodString>;
11693
11693
  updatedAt: z.ZodOptional<z.ZodString>;
11694
- evaluationJobConfigId: z.ZodString;
11695
11694
  evaluatorId: z.ZodString;
11695
+ evaluationJobConfigId: z.ZodString;
11696
11696
  }, z.core.$strip>;
11697
11697
  declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
11698
11698
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11699
11699
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11700
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11701
11700
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11701
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11702
11702
  }, z.core.$strip>;
11703
11703
  declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11704
11704
  createdAt: drizzle_orm_pg_core712.PgColumn<{
@@ -11997,14 +11997,14 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiSelectSchema: z.ZodObject
11997
11997
  declare const EvaluationSuiteConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
11998
11998
  createdAt: z.ZodOptional<z.ZodString>;
11999
11999
  updatedAt: z.ZodOptional<z.ZodString>;
12000
- evaluatorId: z.ZodString;
12001
12000
  evaluationSuiteConfigId: z.ZodString;
12001
+ evaluatorId: z.ZodString;
12002
12002
  }, z.core.$strip>;
12003
12003
  declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
12004
12004
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12005
12005
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12006
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12007
12006
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12007
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12008
12008
  }, z.core.$strip>;
12009
12009
  declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
12010
12010
  createdAt: drizzle_orm_pg_core712.PgColumn<{
@@ -12507,7 +12507,8 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
12507
12507
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
12508
12508
  name: z.ZodString;
12509
12509
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12510
- prompt: z.ZodString;
12510
+ createdAt: z.ZodOptional<z.ZodString>;
12511
+ updatedAt: z.ZodOptional<z.ZodString>;
12511
12512
  model: z.ZodType<{
12512
12513
  model?: string | undefined;
12513
12514
  providerOptions?: Record<string, any> | undefined;
@@ -12521,15 +12522,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
12521
12522
  model?: string | undefined;
12522
12523
  providerOptions?: Record<string, any> | undefined;
12523
12524
  }>>;
12524
- createdAt: z.ZodOptional<z.ZodString>;
12525
- updatedAt: z.ZodOptional<z.ZodString>;
12526
12525
  schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12526
+ prompt: z.ZodString;
12527
12527
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
12528
12528
  }, z.core.$strip>;
12529
12529
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12530
12530
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12531
12531
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12532
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12532
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12533
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12533
12534
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
12534
12535
  model?: string | undefined;
12535
12536
  providerOptions?: Record<string, any> | undefined;
@@ -12543,9 +12544,8 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12543
12544
  model?: string | undefined;
12544
12545
  providerOptions?: Record<string, any> | undefined;
12545
12546
  }>>>>;
12546
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12547
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12548
12547
  schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12548
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12549
12549
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
12550
12550
  }, z.core.$strip>;
12551
12551
  declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -13442,8 +13442,8 @@ declare const DatasetItemApiUpdateSchema: z.ZodObject<{
13442
13442
  }>>>>>>;
13443
13443
  }, z.core.$strip>;
13444
13444
  declare const DatasetRunItemSchema: z.ZodObject<{
13445
- id: z.ZodOptional<z.ZodString>;
13446
13445
  input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13446
+ id: z.ZodOptional<z.ZodString>;
13447
13447
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
13448
13448
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
13449
13449
  prompt: string;
@@ -13491,8 +13491,8 @@ declare const DatasetRunItemSchema: z.ZodObject<{
13491
13491
  declare const TriggerDatasetRunSchema: z.ZodObject<{
13492
13492
  datasetRunId: z.ZodString;
13493
13493
  items: z.ZodArray<z.ZodObject<{
13494
- id: z.ZodOptional<z.ZodString>;
13495
13494
  input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13495
+ id: z.ZodOptional<z.ZodString>;
13496
13496
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
13497
13497
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
13498
13498
  prompt: string;
@@ -14210,15 +14210,15 @@ declare const DatasetRunConfigAgentRelationApiSelectSchema: z.ZodObject<OmitProj
14210
14210
  id: z.ZodString;
14211
14211
  }>, z.core.$strip>;
14212
14212
  declare const DatasetRunConfigAgentRelationApiInsertSchema: z.ZodObject<{
14213
- agentId: z.ZodString;
14214
14213
  createdAt: z.ZodOptional<z.ZodString>;
14215
14214
  updatedAt: z.ZodOptional<z.ZodString>;
14215
+ agentId: z.ZodString;
14216
14216
  datasetRunConfigId: z.ZodString;
14217
14217
  }, z.core.$strip>;
14218
14218
  declare const DatasetRunConfigAgentRelationApiUpdateSchema: z.ZodObject<{
14219
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14220
14219
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14221
14220
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14221
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14222
14222
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14223
14223
  }, z.core.$strip>;
14224
14224
  declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -14593,8 +14593,6 @@ declare const DataComponentInsertSchema: z.ZodObject<{
14593
14593
  in: {};
14594
14594
  }>;
14595
14595
  declare const DataComponentBaseSchema: z.ZodObject<{
14596
- tenantId: z.ZodString;
14597
- projectId: z.ZodString;
14598
14596
  id: z.ZodString;
14599
14597
  name: z.ZodString;
14600
14598
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -14612,6 +14610,8 @@ declare const DataComponentBaseSchema: z.ZodObject<{
14612
14610
  component: string;
14613
14611
  mockData: Record<string, unknown>;
14614
14612
  }>>>>;
14613
+ projectId: z.ZodString;
14614
+ tenantId: z.ZodString;
14615
14615
  }, {
14616
14616
  out: {};
14617
14617
  in: {};
@@ -14692,8 +14692,6 @@ declare const DataComponentApiUpdateSchema: z.ZodObject<{
14692
14692
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14693
14693
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14694
14694
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14695
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14696
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14697
14695
  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>>>>>>>;
14698
14696
  render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
14699
14697
  component: string;
@@ -14708,6 +14706,8 @@ declare const DataComponentApiUpdateSchema: z.ZodObject<{
14708
14706
  component: string;
14709
14707
  mockData: Record<string, unknown>;
14710
14708
  }>>>>>>;
14709
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14710
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14711
14711
  }, z.core.$strip>;
14712
14712
  declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
14713
14713
  dataComponentId: drizzle_orm_pg_core712.PgColumn<{
@@ -15238,7 +15238,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
15238
15238
  }, {}, {
15239
15239
  length: 256;
15240
15240
  }>;
15241
- }, "tenantId" | "projectId" | "id" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15241
+ }, "id" | "createdAt" | "projectId" | "tenantId" | "dataComponentId" | "subAgentId" | "agentId">, undefined>, undefined>;
15242
15242
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
15243
15243
  dataComponentId: z.ZodOptional<z.ZodString>;
15244
15244
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -15261,9 +15261,9 @@ declare const SubAgentDataComponentApiSelectSchema: z.ZodObject<OmitAgentScope<{
15261
15261
  id: z.ZodString;
15262
15262
  }>, z.core.$strip>;
15263
15263
  declare const SubAgentDataComponentApiInsertSchema: z.ZodObject<{
15264
- agentId: z.ZodString;
15265
- subAgentId: z.ZodString;
15266
15264
  dataComponentId: z.ZodString;
15265
+ subAgentId: z.ZodString;
15266
+ agentId: z.ZodString;
15267
15267
  }, {
15268
15268
  out: {};
15269
15269
  in: {};
@@ -15271,8 +15271,8 @@ declare const SubAgentDataComponentApiInsertSchema: z.ZodObject<{
15271
15271
  declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{
15272
15272
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15273
15273
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15274
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15275
15274
  dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15275
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15276
15276
  }, z.core.$strip>;
15277
15277
  declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
15278
15278
  createdAt: drizzle_orm_pg_core712.PgColumn<{
@@ -15720,8 +15720,6 @@ declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
15720
15720
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15721
15721
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15722
15722
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15723
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15724
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15725
15723
  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>>>>>>>;
15726
15724
  render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
15727
15725
  component: string;
@@ -15736,6 +15734,8 @@ declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
15736
15734
  component: string;
15737
15735
  mockData: Record<string, unknown>;
15738
15736
  }>>>>>>;
15737
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15738
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15739
15739
  }, z.core.$strip>;
15740
15740
  declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
15741
15741
  artifactComponentId: drizzle_orm_pg_core712.PgColumn<{
@@ -16036,8 +16036,8 @@ declare const SubAgentArtifactComponentApiSelectSchema: z.ZodObject<OmitAgentSco
16036
16036
  id: z.ZodString;
16037
16037
  }>, z.core.$strip>;
16038
16038
  declare const SubAgentArtifactComponentApiInsertSchema: z.ZodObject<{
16039
- agentId: z.ZodString;
16040
16039
  subAgentId: z.ZodString;
16040
+ agentId: z.ZodString;
16041
16041
  artifactComponentId: z.ZodString;
16042
16042
  }, {
16043
16043
  out: {};
@@ -16117,16 +16117,15 @@ declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
16117
16117
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16118
16118
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16119
16119
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16120
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16121
16120
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16122
16121
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16122
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16123
16123
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16124
16124
  }, z.core.$strip>;
16125
16125
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16126
16126
  id: z.ZodString;
16127
16127
  name: z.ZodString;
16128
16128
  description: z.ZodNullable<z.ZodString>;
16129
- prompt: z.ZodNullable<z.ZodString>;
16130
16129
  createdAt: z.ZodString;
16131
16130
  updatedAt: z.ZodString;
16132
16131
  models: z.ZodNullable<z.ZodType<{
@@ -16191,15 +16190,16 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16191
16190
  }, {
16192
16191
  stepCountIs?: number | undefined;
16193
16192
  }>>>;
16193
+ prompt: z.ZodNullable<z.ZodString>;
16194
16194
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
16195
16195
  type: z.ZodLiteral<"internal">;
16196
16196
  }, z.core.$strip>, z.ZodObject<{
16197
16197
  id: z.ZodString;
16198
16198
  name: z.ZodString;
16199
16199
  description: z.ZodNullable<z.ZodString>;
16200
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16201
16200
  createdAt: z.ZodString;
16202
16201
  updatedAt: z.ZodString;
16202
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16203
16203
  baseUrl: z.ZodString;
16204
16204
  type: z.ZodLiteral<"external">;
16205
16205
  }, z.core.$strip>], "type">;
@@ -16665,10 +16665,10 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
16665
16665
  }>;
16666
16666
  declare const ApiKeyUpdateSchema: z.ZodObject<{
16667
16667
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16668
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16668
16669
  agentId: z.ZodOptional<z.ZodString>;
16669
16670
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16670
16671
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16671
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16672
16672
  }, {
16673
16673
  out: {};
16674
16674
  in: {};
@@ -16676,13 +16676,13 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
16676
16676
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
16677
16677
  id: z.ZodString;
16678
16678
  name: z.ZodNullable<z.ZodString>;
16679
+ createdAt: z.ZodString;
16680
+ updatedAt: z.ZodString;
16679
16681
  agentId: z.ZodString;
16680
16682
  publicId: z.ZodString;
16681
16683
  keyPrefix: z.ZodString;
16682
16684
  lastUsedAt: z.ZodNullable<z.ZodString>;
16683
16685
  expiresAt: z.ZodNullable<z.ZodString>;
16684
- createdAt: z.ZodString;
16685
- updatedAt: z.ZodString;
16686
16686
  }, {
16687
16687
  out: {};
16688
16688
  in: {};
@@ -16692,13 +16692,13 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16692
16692
  apiKey: z.ZodObject<{
16693
16693
  id: z.ZodString;
16694
16694
  name: z.ZodNullable<z.ZodString>;
16695
+ createdAt: z.ZodString;
16696
+ updatedAt: z.ZodString;
16695
16697
  agentId: z.ZodString;
16696
16698
  publicId: z.ZodString;
16697
16699
  keyPrefix: z.ZodString;
16698
16700
  lastUsedAt: z.ZodNullable<z.ZodString>;
16699
16701
  expiresAt: z.ZodNullable<z.ZodString>;
16700
- createdAt: z.ZodString;
16701
- updatedAt: z.ZodString;
16702
16702
  }, {
16703
16703
  out: {};
16704
16704
  in: {};
@@ -16708,20 +16708,20 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16708
16708
  }, z.core.$strip>;
16709
16709
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
16710
16710
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16711
- agentId: z.ZodString;
16712
- expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16713
16711
  createdAt: z.ZodOptional<z.ZodString>;
16714
16712
  updatedAt: z.ZodOptional<z.ZodString>;
16713
+ agentId: z.ZodString;
16714
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16715
16715
  }, {
16716
16716
  out: {};
16717
16717
  in: {};
16718
16718
  }>;
16719
16719
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
16720
16720
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16721
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16721
16722
  agentId: z.ZodOptional<z.ZodString>;
16722
16723
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16723
16724
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16724
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16725
16725
  }, {
16726
16726
  out: {};
16727
16727
  in: {};
@@ -17960,12 +17960,12 @@ declare const MCPToolConfigSchema: z.ZodObject<{
17960
17960
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
17961
17961
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17962
17962
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
17963
+ relationshipId: z.ZodOptional<z.ZodString>;
17963
17964
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
17964
17965
  name: z.ZodString;
17965
17966
  description: z.ZodOptional<z.ZodString>;
17966
17967
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
17967
17968
  }, z.core.$strip>>>;
17968
- relationshipId: z.ZodOptional<z.ZodString>;
17969
17969
  tenantId: z.ZodOptional<z.ZodString>;
17970
17970
  projectId: z.ZodOptional<z.ZodString>;
17971
17971
  description: z.ZodOptional<z.ZodString>;
@@ -18132,6 +18132,8 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
18132
18132
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18133
18133
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18134
18134
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18135
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18136
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18135
18137
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
18136
18138
  type: z.ZodLiteral<"mcp">;
18137
18139
  mcp: z.ZodObject<{
@@ -18159,8 +18161,6 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
18159
18161
  }, z.core.$strip>;
18160
18162
  }, z.core.$strip>>>;
18161
18163
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18162
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18163
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18164
18164
  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>>>>>>>;
18165
18165
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18166
18166
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -18533,9 +18533,9 @@ declare const FunctionToolApiSelectSchema: z.ZodObject<{
18533
18533
  id: z.ZodString;
18534
18534
  name: z.ZodString;
18535
18535
  description: z.ZodNullable<z.ZodString>;
18536
- agentId: z.ZodString;
18537
18536
  createdAt: z.ZodString;
18538
18537
  updatedAt: z.ZodString;
18538
+ agentId: z.ZodString;
18539
18539
  functionId: z.ZodString;
18540
18540
  relationshipId: z.ZodOptional<z.ZodString>;
18541
18541
  }, z.core.$strip>;
@@ -18554,9 +18554,9 @@ declare const FunctionToolApiUpdateSchema: z.ZodObject<{
18554
18554
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18555
18555
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18556
18556
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18557
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18558
18557
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18559
18558
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18559
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18560
18560
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18561
18561
  }, z.core.$strip>;
18562
18562
  declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -18930,8 +18930,8 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
18930
18930
  id: z.ZodString;
18931
18931
  }>, z.core.$strip>;
18932
18932
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
18933
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
18934
18933
  subAgentId: z.ZodString;
18934
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
18935
18935
  functionToolId: z.ZodString;
18936
18936
  }, {
18937
18937
  out: {};
@@ -19354,9 +19354,9 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
19354
19354
  in: {};
19355
19355
  }>;
19356
19356
  declare const ContextConfigInsertSchema: z.ZodObject<{
19357
- tenantId: z.ZodString;
19358
- projectId: z.ZodString;
19359
19357
  id: z.ZodOptional<z.ZodString>;
19358
+ projectId: z.ZodString;
19359
+ tenantId: z.ZodString;
19360
19360
  agentId: z.ZodString;
19361
19361
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
19362
19362
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
@@ -19365,9 +19365,9 @@ declare const ContextConfigInsertSchema: z.ZodObject<{
19365
19365
  in: {};
19366
19366
  }>;
19367
19367
  declare const ContextConfigUpdateSchema: z.ZodObject<{
19368
- tenantId: z.ZodOptional<z.ZodString>;
19369
- projectId: z.ZodOptional<z.ZodString>;
19370
19368
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19369
+ projectId: z.ZodOptional<z.ZodString>;
19370
+ tenantId: z.ZodOptional<z.ZodString>;
19371
19371
  agentId: z.ZodOptional<z.ZodString>;
19372
19372
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
19373
19373
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
@@ -19881,12 +19881,12 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
19881
19881
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19882
19882
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19883
19883
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19884
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19884
19885
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19885
19886
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
19886
19887
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
19887
19888
  needsApproval: z.ZodOptional<z.ZodBoolean>;
19888
19889
  }, z.core.$strip>>>>>>;
19889
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19890
19890
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
19891
19891
  }, z.core.$strip>;
19892
19892
  declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -20275,9 +20275,9 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
20275
20275
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20276
20276
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20277
20277
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20278
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20278
20279
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
20279
20280
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20280
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20281
20281
  }, z.core.$strip>;
20282
20282
  declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
20283
20283
  createdAt: drizzle_orm_pg_core712.PgColumn<{
@@ -20665,8 +20665,8 @@ declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
20665
20665
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20666
20666
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20667
20667
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20668
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
20669
20668
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20669
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
20670
20670
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20671
20671
  }, z.core.$strip>;
20672
20672
  declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -22010,7 +22010,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
22010
22010
  }, {}, {
22011
22011
  length: 256;
22012
22012
  }>;
22013
- }, "tenantId" | "projectId" | "id" | "type" | "name" | "description" | "createdAt" | "updatedAt" | "metadata" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
22013
+ }, "type" | "id" | "name" | "description" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "metadata" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
22014
22014
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
22015
22015
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22016
22016
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -22075,8 +22075,8 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
22075
22075
  id: z.ZodString;
22076
22076
  }>, z.core.$strip>;
22077
22077
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
22078
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22079
22078
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22079
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22080
22080
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22081
22081
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22082
22082
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -22460,10 +22460,10 @@ declare const ProjectSelectSchema: z.ZodObject<{
22460
22460
  in: {};
22461
22461
  }>;
22462
22462
  declare const ProjectInsertSchema: z.ZodObject<{
22463
- tenantId: z.ZodString;
22464
22463
  id: z.ZodString;
22465
22464
  name: z.ZodString;
22466
22465
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22466
+ tenantId: z.ZodString;
22467
22467
  models: z.ZodObject<{
22468
22468
  base: z.ZodObject<{
22469
22469
  model: z.ZodOptional<z.ZodString>;
@@ -23300,9 +23300,9 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23300
23300
  id: z.ZodString;
23301
23301
  name: z.ZodString;
23302
23302
  description: z.ZodNullable<z.ZodString>;
23303
- agentId: z.ZodString;
23304
23303
  createdAt: z.ZodString;
23305
23304
  updatedAt: z.ZodString;
23305
+ agentId: z.ZodString;
23306
23306
  functionId: z.ZodString;
23307
23307
  relationshipId: z.ZodOptional<z.ZodString>;
23308
23308
  }, z.core.$strip>>>;
@@ -23414,9 +23414,9 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23414
23414
  id: z.ZodString;
23415
23415
  name: z.ZodString;
23416
23416
  description: z.ZodNullable<z.ZodString>;
23417
- agentId: z.ZodString;
23418
23417
  createdAt: z.ZodString;
23419
23418
  updatedAt: z.ZodString;
23419
+ agentId: z.ZodString;
23420
23420
  functionId: z.ZodString;
23421
23421
  relationshipId: z.ZodOptional<z.ZodString>;
23422
23422
  }, z.core.$strip>>>;
@@ -23744,9 +23744,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23744
23744
  id: z.ZodString;
23745
23745
  name: z.ZodString;
23746
23746
  description: z.ZodNullable<z.ZodString>;
23747
- agentId: z.ZodString;
23748
23747
  createdAt: z.ZodString;
23749
23748
  updatedAt: z.ZodString;
23749
+ agentId: z.ZodString;
23750
23750
  functionId: z.ZodString;
23751
23751
  relationshipId: z.ZodOptional<z.ZodString>;
23752
23752
  }, z.core.$strip>>>;
@@ -23834,9 +23834,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23834
23834
  id: z.ZodString;
23835
23835
  name: z.ZodString;
23836
23836
  description: z.ZodNullable<z.ZodString>;
23837
- agentId: z.ZodString;
23838
23837
  createdAt: z.ZodString;
23839
23838
  updatedAt: z.ZodString;
23839
+ agentId: z.ZodString;
23840
23840
  functionId: z.ZodString;
23841
23841
  relationshipId: z.ZodOptional<z.ZodString>;
23842
23842
  }, z.core.$strip>>>;
@@ -24574,9 +24574,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24574
24574
  id: z.ZodString;
24575
24575
  name: z.ZodString;
24576
24576
  description: z.ZodNullable<z.ZodString>;
24577
- agentId: z.ZodString;
24578
24577
  createdAt: z.ZodString;
24579
24578
  updatedAt: z.ZodString;
24579
+ agentId: z.ZodString;
24580
24580
  functionId: z.ZodString;
24581
24581
  relationshipId: z.ZodOptional<z.ZodString>;
24582
24582
  }, z.core.$strip>>>;
@@ -25310,9 +25310,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25310
25310
  id: z.ZodString;
25311
25311
  name: z.ZodString;
25312
25312
  description: z.ZodNullable<z.ZodString>;
25313
- agentId: z.ZodString;
25314
25313
  createdAt: z.ZodString;
25315
25314
  updatedAt: z.ZodString;
25315
+ agentId: z.ZodString;
25316
25316
  functionId: z.ZodString;
25317
25317
  relationshipId: z.ZodOptional<z.ZodString>;
25318
25318
  }, z.core.$strip>>>;
@@ -25766,13 +25766,13 @@ declare const ApiKeyResponse: z.ZodObject<{
25766
25766
  data: z.ZodObject<{
25767
25767
  id: z.ZodString;
25768
25768
  name: z.ZodNullable<z.ZodString>;
25769
+ createdAt: z.ZodString;
25770
+ updatedAt: z.ZodString;
25769
25771
  agentId: z.ZodString;
25770
25772
  publicId: z.ZodString;
25771
25773
  keyPrefix: z.ZodString;
25772
25774
  lastUsedAt: z.ZodNullable<z.ZodString>;
25773
25775
  expiresAt: z.ZodNullable<z.ZodString>;
25774
- createdAt: z.ZodString;
25775
- updatedAt: z.ZodString;
25776
25776
  }, {
25777
25777
  out: {};
25778
25778
  in: {};
@@ -26388,9 +26388,9 @@ declare const FunctionToolResponse: z.ZodObject<{
26388
26388
  id: z.ZodString;
26389
26389
  name: z.ZodString;
26390
26390
  description: z.ZodNullable<z.ZodString>;
26391
- agentId: z.ZodString;
26392
26391
  createdAt: z.ZodString;
26393
26392
  updatedAt: z.ZodString;
26393
+ agentId: z.ZodString;
26394
26394
  functionId: z.ZodString;
26395
26395
  relationshipId: z.ZodOptional<z.ZodString>;
26396
26396
  }, z.core.$strip>;
@@ -26494,19 +26494,19 @@ declare const ConversationResponse: z.ZodObject<{
26494
26494
  agentId: z.ZodNullable<z.ZodString>;
26495
26495
  activeSubAgentId: z.ZodString;
26496
26496
  ref: z.ZodNullable<z.ZodType<{
26497
- type: "commit" | "tag" | "branch";
26497
+ type: "tag" | "commit" | "branch";
26498
26498
  name: string;
26499
26499
  hash: string;
26500
26500
  }, {
26501
- type: "commit" | "tag" | "branch";
26501
+ type: "tag" | "commit" | "branch";
26502
26502
  name: string;
26503
26503
  hash: string;
26504
26504
  }, z.core.$ZodTypeInternals<{
26505
- type: "commit" | "tag" | "branch";
26505
+ type: "tag" | "commit" | "branch";
26506
26506
  name: string;
26507
26507
  hash: string;
26508
26508
  }, {
26509
- type: "commit" | "tag" | "branch";
26509
+ type: "tag" | "commit" | "branch";
26510
26510
  name: string;
26511
26511
  hash: string;
26512
26512
  }>>>;
@@ -26953,13 +26953,13 @@ declare const ApiKeyListResponse: z.ZodObject<{
26953
26953
  data: z.ZodArray<z.ZodObject<{
26954
26954
  id: z.ZodString;
26955
26955
  name: z.ZodNullable<z.ZodString>;
26956
+ createdAt: z.ZodString;
26957
+ updatedAt: z.ZodString;
26956
26958
  agentId: z.ZodString;
26957
26959
  publicId: z.ZodString;
26958
26960
  keyPrefix: z.ZodString;
26959
26961
  lastUsedAt: z.ZodNullable<z.ZodString>;
26960
26962
  expiresAt: z.ZodNullable<z.ZodString>;
26961
- createdAt: z.ZodString;
26962
- updatedAt: z.ZodString;
26963
26963
  }, {
26964
26964
  out: {};
26965
26965
  in: {};
@@ -27593,9 +27593,9 @@ declare const FunctionToolListResponse: z.ZodObject<{
27593
27593
  id: z.ZodString;
27594
27594
  name: z.ZodString;
27595
27595
  description: z.ZodNullable<z.ZodString>;
27596
- agentId: z.ZodString;
27597
27596
  createdAt: z.ZodString;
27598
27597
  updatedAt: z.ZodString;
27598
+ agentId: z.ZodString;
27599
27599
  functionId: z.ZodString;
27600
27600
  relationshipId: z.ZodOptional<z.ZodString>;
27601
27601
  }, z.core.$strip>>;
@@ -27735,19 +27735,19 @@ declare const ConversationListResponse: z.ZodObject<{
27735
27735
  agentId: z.ZodNullable<z.ZodString>;
27736
27736
  activeSubAgentId: z.ZodString;
27737
27737
  ref: z.ZodNullable<z.ZodType<{
27738
- type: "commit" | "tag" | "branch";
27738
+ type: "tag" | "commit" | "branch";
27739
27739
  name: string;
27740
27740
  hash: string;
27741
27741
  }, {
27742
- type: "commit" | "tag" | "branch";
27742
+ type: "tag" | "commit" | "branch";
27743
27743
  name: string;
27744
27744
  hash: string;
27745
27745
  }, z.core.$ZodTypeInternals<{
27746
- type: "commit" | "tag" | "branch";
27746
+ type: "tag" | "commit" | "branch";
27747
27747
  name: string;
27748
27748
  hash: string;
27749
27749
  }, {
27750
- type: "commit" | "tag" | "branch";
27750
+ type: "tag" | "commit" | "branch";
27751
27751
  name: string;
27752
27752
  hash: string;
27753
27753
  }>>>;
@@ -28615,9 +28615,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28615
28615
  id: z.ZodString;
28616
28616
  name: z.ZodString;
28617
28617
  description: z.ZodNullable<z.ZodString>;
28618
- agentId: z.ZodString;
28619
28618
  createdAt: z.ZodString;
28620
28619
  updatedAt: z.ZodString;
28620
+ agentId: z.ZodString;
28621
28621
  functionId: z.ZodString;
28622
28622
  relationshipId: z.ZodOptional<z.ZodString>;
28623
28623
  }, z.core.$strip>>>;
@@ -28705,9 +28705,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28705
28705
  id: z.ZodString;
28706
28706
  name: z.ZodString;
28707
28707
  description: z.ZodNullable<z.ZodString>;
28708
- agentId: z.ZodString;
28709
28708
  createdAt: z.ZodString;
28710
28709
  updatedAt: z.ZodString;
28710
+ agentId: z.ZodString;
28711
28711
  functionId: z.ZodString;
28712
28712
  relationshipId: z.ZodOptional<z.ZodString>;
28713
28713
  }, z.core.$strip>>>;
@@ -29447,9 +29447,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29447
29447
  id: z.ZodString;
29448
29448
  name: z.ZodString;
29449
29449
  description: z.ZodNullable<z.ZodString>;
29450
- agentId: z.ZodString;
29451
29450
  createdAt: z.ZodString;
29452
29451
  updatedAt: z.ZodString;
29452
+ agentId: z.ZodString;
29453
29453
  functionId: z.ZodString;
29454
29454
  relationshipId: z.ZodOptional<z.ZodString>;
29455
29455
  }, z.core.$strip>>>;
@@ -30183,9 +30183,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
30183
30183
  id: z.ZodString;
30184
30184
  name: z.ZodString;
30185
30185
  description: z.ZodNullable<z.ZodString>;
30186
- agentId: z.ZodString;
30187
30186
  createdAt: z.ZodString;
30188
30187
  updatedAt: z.ZodString;
30188
+ agentId: z.ZodString;
30189
30189
  functionId: z.ZodString;
30190
30190
  relationshipId: z.ZodOptional<z.ZodString>;
30191
30191
  }, z.core.$strip>>>;
@@ -30689,9 +30689,9 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
30689
30689
  id: z.ZodString;
30690
30690
  name: z.ZodString;
30691
30691
  description: z.ZodNullable<z.ZodString>;
30692
- agentId: z.ZodString;
30693
30692
  createdAt: z.ZodString;
30694
30693
  updatedAt: z.ZodString;
30694
+ agentId: z.ZodString;
30695
30695
  functionId: z.ZodString;
30696
30696
  relationshipId: z.ZodOptional<z.ZodString>;
30697
30697
  }, z.core.$strip>>>;
@@ -31305,8 +31305,8 @@ declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
31305
31305
  }>;
31306
31306
  }, undefined>, undefined>;
31307
31307
  declare const ProjectMetadataInsertSchema: z.ZodObject<{
31308
- tenantId: z.ZodString;
31309
31308
  id: z.ZodString;
31309
+ tenantId: z.ZodString;
31310
31310
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31311
31311
  mainBranchName: z.ZodString;
31312
31312
  }, {
@@ -31320,8 +31320,8 @@ declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{
31320
31320
  disconnected: "disconnected";
31321
31321
  }>;
31322
31322
  declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
31323
- Organization: "Organization";
31324
31323
  User: "User";
31324
+ Organization: "Organization";
31325
31325
  }>;
31326
31326
  declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"select", {
31327
31327
  createdAt: drizzle_orm_pg_core712.PgColumn<{
@@ -31416,7 +31416,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
31416
31416
  tableName: "work_app_github_installations";
31417
31417
  dataType: "string";
31418
31418
  columnType: "PgVarchar";
31419
- data: "Organization" | "User";
31419
+ data: "User" | "Organization";
31420
31420
  driverParam: string;
31421
31421
  notNull: true;
31422
31422
  hasDefault: false;
@@ -31429,7 +31429,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
31429
31429
  generated: undefined;
31430
31430
  }, {}, {
31431
31431
  length: 20;
31432
- $type: "Organization" | "User";
31432
+ $type: "User" | "Organization";
31433
31433
  }>;
31434
31434
  status: drizzle_orm_pg_core712.PgColumn<{
31435
31435
  name: "status";
@@ -31582,7 +31582,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
31582
31582
  tableName: "work_app_github_installations";
31583
31583
  dataType: "string";
31584
31584
  columnType: "PgVarchar";
31585
- data: "Organization" | "User";
31585
+ data: "User" | "Organization";
31586
31586
  driverParam: string;
31587
31587
  notNull: true;
31588
31588
  hasDefault: false;
@@ -31595,7 +31595,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
31595
31595
  generated: undefined;
31596
31596
  }, {}, {
31597
31597
  length: 20;
31598
- $type: "Organization" | "User";
31598
+ $type: "User" | "Organization";
31599
31599
  }>;
31600
31600
  status: drizzle_orm_pg_core712.PgColumn<{
31601
31601
  name: "status";
@@ -31657,14 +31657,14 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
31657
31657
  }>;
31658
31658
  }, undefined>, undefined>;
31659
31659
  declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
31660
- tenantId: z.ZodString;
31661
31660
  id: z.ZodString;
31661
+ tenantId: z.ZodString;
31662
31662
  accountId: z.ZodString;
31663
31663
  installationId: z.ZodString;
31664
31664
  accountLogin: z.ZodString;
31665
31665
  accountType: z.ZodEnum<{
31666
- Organization: "Organization";
31667
31666
  User: "User";
31667
+ Organization: "Organization";
31668
31668
  }>;
31669
31669
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
31670
31670
  pending: "pending";
@@ -31688,14 +31688,14 @@ declare const WorkAppGithubInstallationApiSelectSchema: z.ZodObject<OmitTenantSc
31688
31688
  id: z.ZodString;
31689
31689
  }>, z.core.$strip>;
31690
31690
  declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGeneratedFields<{
31691
- tenantId: z.ZodString;
31692
31691
  id: z.ZodString;
31692
+ tenantId: z.ZodString;
31693
31693
  accountId: z.ZodString;
31694
31694
  installationId: z.ZodString;
31695
31695
  accountLogin: z.ZodString;
31696
31696
  accountType: z.ZodEnum<{
31697
- Organization: "Organization";
31698
31697
  User: "User";
31698
+ Organization: "Organization";
31699
31699
  }>;
31700
31700
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
31701
31701
  pending: "pending";