@inkeep/agents-core 0.0.0-dev-20260106222359 → 0.0.0-dev-20260106230438

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.
@@ -63,6 +63,8 @@ declare const FunctionToolConfigSchema: z.ZodObject<{
63
63
  type FunctionToolConfig = Omit<z.infer<typeof FunctionToolConfigSchema>, 'execute'> & {
64
64
  execute: ((params: any) => Promise<any>) | string;
65
65
  };
66
+ type OmitProjectScope<T> = Omit<T, 'tenantId' | 'projectId'>;
67
+ type OmitAgentScope<T> = Omit<T, 'tenantId' | 'projectId' | 'agentId'>;
66
68
  declare const SubAgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
67
69
  createdAt: drizzle_orm_pg_core496.PgColumn<{
68
70
  name: "created_at";
@@ -642,13 +644,11 @@ declare const SubAgentUpdateSchema: z.ZodObject<{
642
644
  out: {};
643
645
  in: {};
644
646
  }>;
645
- declare const SubAgentApiSelectSchema: z.ZodObject<{
646
- id: z.ZodString;
647
- name: z.ZodString;
648
- description: z.ZodNullable<z.ZodString>;
649
- prompt: z.ZodNullable<z.ZodString>;
647
+ declare const SubAgentApiSelectSchema: z.ZodObject<OmitAgentScope<{
650
648
  createdAt: z.ZodString;
651
649
  updatedAt: z.ZodString;
650
+ prompt: z.ZodNullable<z.ZodString>;
651
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
652
652
  models: z.ZodNullable<z.ZodType<{
653
653
  base?: {
654
654
  model?: string | undefined;
@@ -711,15 +711,33 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
711
711
  }, {
712
712
  stepCountIs?: number | undefined;
713
713
  }>>>;
714
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
715
- }, z.core.$strip>;
716
- declare const SubAgentApiInsertSchema: z.ZodObject<{
717
- id: z.ZodString;
718
714
  name: z.ZodString;
719
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
720
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
715
+ description: z.ZodNullable<z.ZodString>;
716
+ agentId: z.ZodString;
717
+ projectId: z.ZodString;
718
+ tenantId: z.ZodString;
719
+ id: z.ZodString;
720
+ }>, z.core.$strip>;
721
+ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
721
722
  createdAt: z.ZodOptional<z.ZodString>;
722
723
  updatedAt: z.ZodOptional<z.ZodString>;
724
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
725
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
726
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
727
+ stepCountIs?: number | undefined;
728
+ }, {
729
+ stepCountIs?: number | undefined;
730
+ }, z.core.$ZodTypeInternals<{
731
+ stepCountIs?: number | undefined;
732
+ }, {
733
+ stepCountIs?: number | undefined;
734
+ }>>>>;
735
+ name: z.ZodString;
736
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
737
+ agentId: z.ZodString;
738
+ projectId: z.ZodString;
739
+ tenantId: z.ZodString;
740
+ id: z.ZodString;
723
741
  models: z.ZodOptional<z.ZodObject<{
724
742
  base: z.ZodOptional<z.ZodObject<{
725
743
  model: z.ZodOptional<z.ZodString>;
@@ -734,17 +752,7 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
734
752
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
735
753
  }, z.core.$strip>>;
736
754
  }, z.core.$strip>>;
737
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
738
- stepCountIs?: number | undefined;
739
- }, {
740
- stepCountIs?: number | undefined;
741
- }, z.core.$ZodTypeInternals<{
742
- stepCountIs?: number | undefined;
743
- }, {
744
- stepCountIs?: number | undefined;
745
- }>>>>;
746
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
747
- }, z.core.$strip>;
755
+ }>, z.core.$strip>;
748
756
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
749
757
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
750
758
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -1146,14 +1154,17 @@ declare const SubAgentRelationUpdateSchema: z.ZodObject<{
1146
1154
  out: {};
1147
1155
  in: {};
1148
1156
  }>;
1149
- declare const SubAgentRelationApiSelectSchema: z.ZodObject<{
1150
- id: z.ZodString;
1157
+ declare const SubAgentRelationApiSelectSchema: z.ZodObject<OmitAgentScope<{
1151
1158
  createdAt: z.ZodString;
1152
1159
  updatedAt: z.ZodString;
1153
1160
  sourceSubAgentId: z.ZodString;
1154
1161
  targetSubAgentId: z.ZodNullable<z.ZodString>;
1155
1162
  relationType: z.ZodNullable<z.ZodString>;
1156
- }, z.core.$strip>;
1163
+ agentId: z.ZodString;
1164
+ projectId: z.ZodString;
1165
+ tenantId: z.ZodString;
1166
+ id: z.ZodString;
1167
+ }>, z.core.$strip>;
1157
1168
  declare const SubAgentRelationApiInsertSchema: z.ZodObject<{
1158
1169
  id: z.ZodString;
1159
1170
  createdAt: z.ZodOptional<z.ZodString>;
@@ -1201,16 +1212,18 @@ declare const ExternalSubAgentRelationInsertSchema: z.ZodObject<{
1201
1212
  out: {};
1202
1213
  in: {};
1203
1214
  }>;
1204
- declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<{
1205
- id: z.ZodString;
1206
- agentId: z.ZodString;
1215
+ declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<OmitProjectScope<{
1207
1216
  createdAt: z.ZodOptional<z.ZodString>;
1208
1217
  updatedAt: z.ZodOptional<z.ZodString>;
1209
- sourceSubAgentId: z.ZodString;
1210
1218
  targetSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1211
1219
  relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1220
+ projectId: z.ZodString;
1221
+ tenantId: z.ZodString;
1222
+ id: z.ZodString;
1223
+ agentId: z.ZodString;
1224
+ sourceSubAgentId: z.ZodString;
1212
1225
  externalSubAgentId: z.ZodString;
1213
- }, z.core.$strip>;
1226
+ }>, z.core.$strip>;
1214
1227
  declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1215
1228
  createdAt: drizzle_orm_pg_core496.PgColumn<{
1216
1229
  name: "created_at";
@@ -2539,13 +2552,13 @@ declare const AgentUpdateSchema: z.ZodObject<{
2539
2552
  out: {};
2540
2553
  in: {};
2541
2554
  }>;
2542
- declare const AgentApiSelectSchema: z.ZodObject<{
2543
- id: z.ZodString;
2544
- name: z.ZodString;
2545
- description: z.ZodNullable<z.ZodString>;
2546
- prompt: z.ZodNullable<z.ZodString>;
2555
+ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2547
2556
  createdAt: z.ZodString;
2548
2557
  updatedAt: z.ZodString;
2558
+ name: z.ZodString;
2559
+ description: z.ZodNullable<z.ZodString>;
2560
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
2561
+ contextConfigId: z.ZodNullable<z.ZodString>;
2549
2562
  models: z.ZodNullable<z.ZodType<{
2550
2563
  base?: {
2551
2564
  model?: string | undefined;
@@ -2599,17 +2612,6 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2599
2612
  providerOptions?: Record<string, any> | undefined;
2600
2613
  } | undefined;
2601
2614
  }>>>;
2602
- stopWhen: z.ZodNullable<z.ZodType<{
2603
- transferCountIs?: number | undefined;
2604
- }, {
2605
- transferCountIs?: number | undefined;
2606
- }, z.core.$ZodTypeInternals<{
2607
- transferCountIs?: number | undefined;
2608
- }, {
2609
- transferCountIs?: number | undefined;
2610
- }>>>;
2611
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
2612
- contextConfigId: z.ZodNullable<z.ZodString>;
2613
2615
  statusUpdates: z.ZodNullable<z.ZodType<{
2614
2616
  enabled?: boolean | undefined;
2615
2617
  numEvents?: number | undefined;
@@ -2667,7 +2669,20 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2667
2669
  } | undefined;
2668
2670
  }[] | undefined;
2669
2671
  }>>>;
2670
- }, z.core.$strip>;
2672
+ prompt: z.ZodNullable<z.ZodString>;
2673
+ stopWhen: z.ZodNullable<z.ZodType<{
2674
+ transferCountIs?: number | undefined;
2675
+ }, {
2676
+ transferCountIs?: number | undefined;
2677
+ }, z.core.$ZodTypeInternals<{
2678
+ transferCountIs?: number | undefined;
2679
+ }, {
2680
+ transferCountIs?: number | undefined;
2681
+ }>>>;
2682
+ projectId: z.ZodString;
2683
+ tenantId: z.ZodString;
2684
+ id: z.ZodString;
2685
+ }>, z.core.$strip>;
2671
2686
  declare const AgentApiInsertSchema: z.ZodObject<{
2672
2687
  name: z.ZodString;
2673
2688
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3333,27 +3348,31 @@ declare const TaskUpdateSchema: z.ZodObject<{
3333
3348
  out: {};
3334
3349
  in: {};
3335
3350
  }>;
3336
- declare const TaskApiSelectSchema: z.ZodObject<{
3337
- id: z.ZodString;
3338
- agentId: z.ZodString;
3351
+ declare const TaskApiSelectSchema: z.ZodObject<OmitProjectScope<{
3339
3352
  createdAt: z.ZodString;
3340
3353
  updatedAt: z.ZodString;
3341
- metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
3342
- status: z.ZodString;
3343
3354
  contextId: z.ZodString;
3355
+ status: z.ZodString;
3356
+ metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
3344
3357
  subAgentId: z.ZodString;
3345
- }, z.core.$strip>;
3346
- declare const TaskApiInsertSchema: z.ZodObject<{
3347
- id: z.ZodString;
3348
3358
  agentId: z.ZodString;
3359
+ projectId: z.ZodString;
3360
+ tenantId: z.ZodString;
3361
+ id: z.ZodString;
3362
+ }>, z.core.$strip>;
3363
+ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
3349
3364
  createdAt: z.ZodOptional<z.ZodString>;
3350
3365
  updatedAt: z.ZodOptional<z.ZodString>;
3351
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
3352
- status: z.ZodString;
3353
- conversationId: z.ZodOptional<z.ZodString>;
3354
3366
  contextId: z.ZodString;
3367
+ status: z.ZodString;
3368
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
3355
3369
  subAgentId: z.ZodString;
3356
- }, z.core.$strip>;
3370
+ agentId: z.ZodString;
3371
+ projectId: z.ZodString;
3372
+ tenantId: z.ZodString;
3373
+ id: z.ZodString;
3374
+ conversationId: z.ZodOptional<z.ZodString>;
3375
+ }>, z.core.$strip>;
3357
3376
  declare const TaskApiUpdateSchema: z.ZodObject<{
3358
3377
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3359
3378
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -3690,22 +3709,26 @@ declare const TaskRelationUpdateSchema: z.ZodObject<{
3690
3709
  out: {};
3691
3710
  in: {};
3692
3711
  }>;
3693
- declare const TaskRelationApiSelectSchema: z.ZodObject<{
3694
- id: z.ZodString;
3712
+ declare const TaskRelationApiSelectSchema: z.ZodObject<OmitProjectScope<{
3695
3713
  createdAt: z.ZodString;
3696
3714
  updatedAt: z.ZodString;
3697
- relationType: z.ZodNullable<z.ZodString>;
3698
3715
  parentTaskId: z.ZodString;
3699
3716
  childTaskId: z.ZodString;
3700
- }, z.core.$strip>;
3701
- declare const TaskRelationApiInsertSchema: z.ZodObject<{
3717
+ relationType: z.ZodNullable<z.ZodString>;
3718
+ projectId: z.ZodString;
3719
+ tenantId: z.ZodString;
3702
3720
  id: z.ZodString;
3721
+ }>, z.core.$strip>;
3722
+ declare const TaskRelationApiInsertSchema: z.ZodObject<OmitProjectScope<{
3703
3723
  createdAt: z.ZodOptional<z.ZodString>;
3704
3724
  updatedAt: z.ZodOptional<z.ZodString>;
3705
3725
  relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3726
+ projectId: z.ZodString;
3727
+ tenantId: z.ZodString;
3728
+ id: z.ZodString;
3706
3729
  parentTaskId: z.ZodString;
3707
3730
  childTaskId: z.ZodString;
3708
- }, z.core.$strip>;
3731
+ }>, z.core.$strip>;
3709
3732
  declare const TaskRelationApiUpdateSchema: z.ZodObject<{
3710
3733
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3711
3734
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -4698,27 +4721,31 @@ declare const ConversationUpdateSchema: z.ZodObject<{
4698
4721
  out: {};
4699
4722
  in: {};
4700
4723
  }>;
4701
- declare const ConversationApiSelectSchema: z.ZodObject<{
4702
- id: z.ZodString;
4703
- title: z.ZodNullable<z.ZodString>;
4724
+ declare const ConversationApiSelectSchema: z.ZodObject<OmitProjectScope<{
4704
4725
  createdAt: z.ZodString;
4705
4726
  updatedAt: z.ZodString;
4706
4727
  userId: z.ZodNullable<z.ZodString>;
4707
- metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
4708
4728
  activeSubAgentId: z.ZodString;
4729
+ title: z.ZodNullable<z.ZodString>;
4709
4730
  lastContextResolution: z.ZodNullable<z.ZodString>;
4710
- }, z.core.$strip>;
4711
- declare const ConversationApiInsertSchema: z.ZodObject<{
4731
+ metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
4732
+ projectId: z.ZodString;
4733
+ tenantId: z.ZodString;
4712
4734
  id: z.ZodString;
4713
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4735
+ }>, z.core.$strip>;
4736
+ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
4714
4737
  createdAt: z.ZodOptional<z.ZodString>;
4715
4738
  updatedAt: z.ZodOptional<z.ZodString>;
4716
4739
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4717
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
4718
- contextConfigId: z.ZodOptional<z.ZodString>;
4719
4740
  activeSubAgentId: z.ZodString;
4741
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4720
4742
  lastContextResolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4721
- }, z.core.$strip>;
4743
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
4744
+ projectId: z.ZodString;
4745
+ tenantId: z.ZodString;
4746
+ id: z.ZodString;
4747
+ contextConfigId: z.ZodOptional<z.ZodString>;
4748
+ }>, z.core.$strip>;
4722
4749
  declare const ConversationApiUpdateSchema: z.ZodObject<{
4723
4750
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4724
4751
  title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -5575,48 +5602,52 @@ declare const MessageUpdateSchema: z.ZodObject<{
5575
5602
  out: {};
5576
5603
  in: {};
5577
5604
  }>;
5578
- declare const MessageApiSelectSchema: z.ZodObject<{
5579
- id: z.ZodString;
5605
+ declare const MessageApiSelectSchema: z.ZodObject<OmitProjectScope<{
5580
5606
  createdAt: z.ZodString;
5581
5607
  updatedAt: z.ZodString;
5582
- metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
5583
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
5584
- role: z.ZodString;
5585
5608
  conversationId: z.ZodString;
5609
+ role: z.ZodString;
5586
5610
  fromSubAgentId: z.ZodNullable<z.ZodString>;
5587
5611
  toSubAgentId: z.ZodNullable<z.ZodString>;
5588
5612
  fromExternalAgentId: z.ZodNullable<z.ZodString>;
5589
5613
  toExternalAgentId: z.ZodNullable<z.ZodString>;
5590
5614
  fromTeamAgentId: z.ZodNullable<z.ZodString>;
5591
5615
  toTeamAgentId: z.ZodNullable<z.ZodString>;
5616
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
5592
5617
  visibility: z.ZodString;
5593
5618
  messageType: z.ZodString;
5594
5619
  taskId: z.ZodNullable<z.ZodString>;
5595
5620
  parentMessageId: z.ZodNullable<z.ZodString>;
5596
5621
  a2aTaskId: z.ZodNullable<z.ZodString>;
5597
5622
  a2aSessionId: z.ZodNullable<z.ZodString>;
5598
- }, z.core.$strip>;
5599
- declare const MessageApiInsertSchema: z.ZodObject<{
5623
+ metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
5624
+ projectId: z.ZodString;
5625
+ tenantId: z.ZodString;
5600
5626
  id: z.ZodString;
5627
+ }>, z.core.$strip>;
5628
+ declare const MessageApiInsertSchema: z.ZodObject<OmitProjectScope<{
5601
5629
  createdAt: z.ZodOptional<z.ZodString>;
5602
5630
  updatedAt: z.ZodOptional<z.ZodString>;
5603
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
5604
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
5605
5631
  role: z.ZodString;
5606
- conversationId: z.ZodString;
5607
5632
  fromSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5608
5633
  toSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5609
5634
  fromExternalAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5610
5635
  toExternalAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5611
5636
  fromTeamAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5612
5637
  toTeamAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5638
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
5613
5639
  visibility: z.ZodOptional<z.ZodString>;
5614
5640
  messageType: z.ZodOptional<z.ZodString>;
5615
- taskId: z.ZodOptional<z.ZodString>;
5616
5641
  parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5617
5642
  a2aTaskId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5618
5643
  a2aSessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5619
- }, z.core.$strip>;
5644
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
5645
+ projectId: z.ZodString;
5646
+ tenantId: z.ZodString;
5647
+ id: z.ZodString;
5648
+ conversationId: z.ZodString;
5649
+ taskId: z.ZodOptional<z.ZodString>;
5650
+ }>, z.core.$strip>;
5620
5651
  declare const MessageApiUpdateSchema: z.ZodObject<{
5621
5652
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5622
5653
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -6618,32 +6649,36 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
6618
6649
  out: {};
6619
6650
  in: {};
6620
6651
  }>;
6621
- declare const ContextCacheApiSelectSchema: z.ZodObject<{
6622
- id: z.ZodString;
6623
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
6652
+ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
6624
6653
  createdAt: z.ZodString;
6625
6654
  updatedAt: z.ZodString;
6626
- contextConfigId: z.ZodString;
6627
6655
  conversationId: z.ZodString;
6656
+ contextConfigId: z.ZodString;
6628
6657
  contextVariableKey: z.ZodString;
6658
+ value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
6629
6659
  requestHash: z.ZodNullable<z.ZodString>;
6630
6660
  fetchedAt: z.ZodString;
6631
6661
  fetchSource: z.ZodNullable<z.ZodString>;
6632
6662
  fetchDurationMs: z.ZodNullable<z.ZodInt>;
6633
- }, z.core.$strip>;
6634
- declare const ContextCacheApiInsertSchema: z.ZodObject<{
6663
+ projectId: z.ZodString;
6664
+ tenantId: z.ZodString;
6635
6665
  id: z.ZodString;
6636
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
6666
+ }>, z.core.$strip>;
6667
+ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
6637
6668
  createdAt: z.ZodOptional<z.ZodString>;
6638
6669
  updatedAt: z.ZodOptional<z.ZodString>;
6639
- contextConfigId: z.ZodString;
6640
6670
  conversationId: z.ZodString;
6671
+ contextConfigId: z.ZodString;
6641
6672
  contextVariableKey: z.ZodString;
6673
+ value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
6642
6674
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6643
6675
  fetchedAt: z.ZodOptional<z.ZodString>;
6644
6676
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6645
6677
  fetchDurationMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
6646
- }, z.core.$strip>;
6678
+ projectId: z.ZodString;
6679
+ tenantId: z.ZodString;
6680
+ id: z.ZodString;
6681
+ }>, z.core.$strip>;
6647
6682
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
6648
6683
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6649
6684
  value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
@@ -7078,10 +7113,7 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
7078
7113
  out: {};
7079
7114
  in: {};
7080
7115
  }>;
7081
- declare const DataComponentApiSelectSchema: z.ZodObject<{
7082
- id: z.ZodString;
7083
- name: z.ZodString;
7084
- description: z.ZodNullable<z.ZodString>;
7116
+ declare const DataComponentApiSelectSchema: z.ZodObject<OmitProjectScope<{
7085
7117
  createdAt: z.ZodString;
7086
7118
  updatedAt: z.ZodString;
7087
7119
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -7098,11 +7130,13 @@ declare const DataComponentApiSelectSchema: z.ZodObject<{
7098
7130
  component: string;
7099
7131
  mockData: Record<string, unknown>;
7100
7132
  }>>>;
7101
- }, z.core.$strip>;
7102
- declare const DataComponentApiInsertSchema: z.ZodObject<{
7103
- id: z.ZodString;
7104
7133
  name: z.ZodString;
7105
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7134
+ description: z.ZodNullable<z.ZodString>;
7135
+ projectId: z.ZodString;
7136
+ tenantId: z.ZodString;
7137
+ id: z.ZodString;
7138
+ }>, z.core.$strip>;
7139
+ declare const DataComponentApiInsertSchema: z.ZodObject<OmitProjectScope<{
7106
7140
  createdAt: z.ZodOptional<z.ZodString>;
7107
7141
  updatedAt: z.ZodOptional<z.ZodString>;
7108
7142
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
@@ -7119,7 +7153,12 @@ declare const DataComponentApiInsertSchema: z.ZodObject<{
7119
7153
  component: string;
7120
7154
  mockData: Record<string, unknown>;
7121
7155
  }>>>>;
7122
- }, z.core.$strip>;
7156
+ name: z.ZodString;
7157
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7158
+ projectId: z.ZodString;
7159
+ tenantId: z.ZodString;
7160
+ id: z.ZodString;
7161
+ }>, z.core.$strip>;
7123
7162
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
7124
7163
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7125
7164
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -7683,12 +7722,15 @@ declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
7683
7722
  out: {};
7684
7723
  in: {};
7685
7724
  }>;
7686
- declare const SubAgentDataComponentApiSelectSchema: z.ZodObject<{
7687
- id: z.ZodString;
7725
+ declare const SubAgentDataComponentApiSelectSchema: z.ZodObject<OmitAgentScope<{
7726
+ dataComponentId: z.ZodString;
7688
7727
  createdAt: z.ZodString;
7689
7728
  subAgentId: z.ZodString;
7690
- dataComponentId: z.ZodString;
7691
- }, z.core.$strip>;
7729
+ agentId: z.ZodString;
7730
+ projectId: z.ZodString;
7731
+ tenantId: z.ZodString;
7732
+ id: z.ZodString;
7733
+ }>, z.core.$strip>;
7692
7734
  declare const SubAgentDataComponentApiInsertSchema: z.ZodObject<{
7693
7735
  agentId: z.ZodString;
7694
7736
  subAgentId: z.ZodString;
@@ -8100,10 +8142,7 @@ declare const ArtifactComponentUpdateSchema: z.ZodObject<{
8100
8142
  out: {};
8101
8143
  in: {};
8102
8144
  }>;
8103
- declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
8104
- id: z.ZodString;
8105
- name: z.ZodString;
8106
- description: z.ZodNullable<z.ZodString>;
8145
+ declare const ArtifactComponentApiSelectSchema: z.ZodObject<OmitProjectScope<{
8107
8146
  createdAt: z.ZodString;
8108
8147
  updatedAt: z.ZodString;
8109
8148
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -8120,7 +8159,12 @@ declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
8120
8159
  component: string;
8121
8160
  mockData: Record<string, unknown>;
8122
8161
  }>>>;
8123
- }, z.core.$strip>;
8162
+ name: z.ZodString;
8163
+ description: z.ZodNullable<z.ZodString>;
8164
+ projectId: z.ZodString;
8165
+ tenantId: z.ZodString;
8166
+ id: z.ZodString;
8167
+ }>, z.core.$strip>;
8124
8168
  declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
8125
8169
  id: z.ZodString;
8126
8170
  name: z.ZodString;
@@ -8453,12 +8497,15 @@ declare const SubAgentArtifactComponentUpdateSchema: z.ZodObject<{
8453
8497
  out: {};
8454
8498
  in: {};
8455
8499
  }>;
8456
- declare const SubAgentArtifactComponentApiSelectSchema: z.ZodObject<{
8457
- id: z.ZodString;
8500
+ declare const SubAgentArtifactComponentApiSelectSchema: z.ZodObject<OmitAgentScope<{
8501
+ artifactComponentId: z.ZodString;
8458
8502
  createdAt: z.ZodString;
8459
8503
  subAgentId: z.ZodString;
8460
- artifactComponentId: z.ZodString;
8461
- }, z.core.$strip>;
8504
+ agentId: z.ZodString;
8505
+ projectId: z.ZodString;
8506
+ tenantId: z.ZodString;
8507
+ id: z.ZodString;
8508
+ }>, z.core.$strip>;
8462
8509
  declare const SubAgentArtifactComponentApiInsertSchema: z.ZodObject<{
8463
8510
  agentId: z.ZodString;
8464
8511
  subAgentId: z.ZodString;
@@ -8515,24 +8562,28 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
8515
8562
  out: {};
8516
8563
  in: {};
8517
8564
  }>;
8518
- declare const ExternalAgentApiSelectSchema: z.ZodObject<{
8519
- id: z.ZodString;
8520
- name: z.ZodString;
8521
- description: z.ZodNullable<z.ZodString>;
8522
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8565
+ declare const ExternalAgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
8523
8566
  createdAt: z.ZodString;
8524
8567
  updatedAt: z.ZodString;
8525
8568
  baseUrl: z.ZodString;
8526
- }, z.core.$strip>;
8527
- declare const ExternalAgentApiInsertSchema: z.ZodObject<{
8528
- id: z.ZodString;
8529
8569
  name: z.ZodString;
8530
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8570
+ description: z.ZodNullable<z.ZodString>;
8571
+ projectId: z.ZodString;
8572
+ tenantId: z.ZodString;
8573
+ id: z.ZodString;
8531
8574
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8575
+ }>, z.core.$strip>;
8576
+ declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
8532
8577
  createdAt: z.ZodOptional<z.ZodString>;
8533
8578
  updatedAt: z.ZodOptional<z.ZodString>;
8534
8579
  baseUrl: z.ZodString;
8535
- }, z.core.$strip>;
8580
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8581
+ name: z.ZodString;
8582
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8583
+ projectId: z.ZodString;
8584
+ tenantId: z.ZodString;
8585
+ id: z.ZodString;
8586
+ }>, z.core.$strip>;
8536
8587
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
8537
8588
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8538
8589
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -10418,8 +10469,9 @@ declare const ToolUpdateSchema: z.ZodObject<{
10418
10469
  out: {};
10419
10470
  in: {};
10420
10471
  }>;
10421
- declare const ToolApiSelectSchema: z.ZodObject<{
10422
- id: z.ZodString;
10472
+ declare const ToolApiSelectSchema: z.ZodObject<OmitProjectScope<{
10473
+ createdAt: z.ZodString;
10474
+ updatedAt: z.ZodString;
10423
10475
  name: z.ZodString;
10424
10476
  description: z.ZodNullable<z.ZodString>;
10425
10477
  config: z.ZodType<{
@@ -10436,23 +10488,34 @@ declare const ToolApiSelectSchema: z.ZodObject<{
10436
10488
  mcp: ToolMcpConfig;
10437
10489
  }>>;
10438
10490
  credentialReferenceId: z.ZodNullable<z.ZodString>;
10439
- createdAt: z.ZodString;
10440
- updatedAt: z.ZodString;
10441
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
10442
10491
  credentialScope: z.ZodString;
10492
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
10443
10493
  imageUrl: z.ZodNullable<z.ZodString>;
10444
10494
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
10445
10495
  lastError: z.ZodNullable<z.ZodString>;
10446
- }, z.core.$strip>;
10447
- declare const ToolApiInsertSchema: z.ZodObject<{
10496
+ projectId: z.ZodString;
10497
+ tenantId: z.ZodString;
10448
10498
  id: z.ZodString;
10499
+ }>, z.core.$strip>;
10500
+ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
10501
+ createdAt: z.ZodOptional<z.ZodString>;
10502
+ updatedAt: z.ZodOptional<z.ZodString>;
10449
10503
  name: z.ZodString;
10450
10504
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10451
- config: z.ZodObject<{
10452
- type: z.ZodLiteral<"mcp">;
10453
- mcp: z.ZodObject<{
10454
- server: z.ZodObject<{
10455
- url: z.ZodURL;
10505
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10506
+ credentialScope: z.ZodOptional<z.ZodString>;
10507
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
10508
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
10509
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10510
+ projectId: z.ZodString;
10511
+ tenantId: z.ZodString;
10512
+ id: z.ZodString;
10513
+ imageUrl: z.ZodOptional<z.ZodString>;
10514
+ config: z.ZodObject<{
10515
+ type: z.ZodLiteral<"mcp">;
10516
+ mcp: z.ZodObject<{
10517
+ server: z.ZodObject<{
10518
+ url: z.ZodURL;
10456
10519
  }, z.core.$strip>;
10457
10520
  transport: z.ZodOptional<z.ZodObject<{
10458
10521
  type: z.ZodEnum<{
@@ -10467,15 +10530,7 @@ declare const ToolApiInsertSchema: z.ZodObject<{
10467
10530
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
10468
10531
  }, z.core.$strip>;
10469
10532
  }, z.core.$strip>;
10470
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10471
- createdAt: z.ZodOptional<z.ZodString>;
10472
- updatedAt: z.ZodOptional<z.ZodString>;
10473
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
10474
- credentialScope: z.ZodOptional<z.ZodString>;
10475
- imageUrl: z.ZodOptional<z.ZodString>;
10476
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
10477
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10478
- }, z.core.$strip>;
10533
+ }>, z.core.$strip>;
10479
10534
  declare const ToolApiUpdateSchema: z.ZodObject<{
10480
10535
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10481
10536
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -10869,23 +10924,28 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
10869
10924
  out: {};
10870
10925
  in: {};
10871
10926
  }>;
10872
- declare const FunctionToolApiSelectSchema: z.ZodObject<{
10873
- id: z.ZodString;
10874
- name: z.ZodString;
10875
- description: z.ZodNullable<z.ZodString>;
10876
- agentId: z.ZodString;
10927
+ declare const FunctionToolApiSelectSchema: z.ZodObject<OmitProjectScope<{
10877
10928
  createdAt: z.ZodString;
10878
10929
  updatedAt: z.ZodString;
10930
+ name: z.ZodString;
10931
+ description: z.ZodNullable<z.ZodString>;
10879
10932
  functionId: z.ZodString;
10880
- }, z.core.$strip>;
10881
- declare const FunctionToolApiInsertSchema: z.ZodObject<{
10933
+ agentId: z.ZodString;
10934
+ projectId: z.ZodString;
10935
+ tenantId: z.ZodString;
10882
10936
  id: z.ZodString;
10883
- name: z.ZodString;
10884
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10937
+ }>, z.core.$strip>;
10938
+ declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
10885
10939
  createdAt: z.ZodOptional<z.ZodString>;
10886
10940
  updatedAt: z.ZodOptional<z.ZodString>;
10941
+ name: z.ZodString;
10942
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10887
10943
  functionId: z.ZodString;
10888
- }, z.core.$strip>;
10944
+ agentId: z.ZodString;
10945
+ projectId: z.ZodString;
10946
+ tenantId: z.ZodString;
10947
+ id: z.ZodString;
10948
+ }>, z.core.$strip>;
10889
10949
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
10890
10950
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10891
10951
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -11216,22 +11276,26 @@ declare const FunctionUpdateSchema: z.ZodObject<{
11216
11276
  out: {};
11217
11277
  in: {};
11218
11278
  }>;
11219
- declare const FunctionApiSelectSchema: z.ZodObject<{
11220
- id: z.ZodString;
11279
+ declare const FunctionApiSelectSchema: z.ZodObject<OmitProjectScope<{
11221
11280
  createdAt: z.ZodString;
11222
11281
  updatedAt: z.ZodString;
11223
11282
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
11224
11283
  executeCode: z.ZodString;
11225
11284
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
11226
- }, z.core.$strip>;
11227
- declare const FunctionApiInsertSchema: z.ZodObject<{
11285
+ projectId: z.ZodString;
11286
+ tenantId: z.ZodString;
11228
11287
  id: z.ZodString;
11288
+ }>, z.core.$strip>;
11289
+ declare const FunctionApiInsertSchema: z.ZodObject<OmitProjectScope<{
11229
11290
  createdAt: z.ZodOptional<z.ZodString>;
11230
11291
  updatedAt: z.ZodOptional<z.ZodString>;
11231
11292
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
11232
11293
  executeCode: z.ZodString;
11233
11294
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
11234
- }, z.core.$strip>;
11295
+ projectId: z.ZodString;
11296
+ tenantId: z.ZodString;
11297
+ id: z.ZodString;
11298
+ }>, z.core.$strip>;
11235
11299
  declare const FunctionApiUpdateSchema: z.ZodObject<{
11236
11300
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11237
11301
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -11805,28 +11869,34 @@ declare const SubAgentToolRelationUpdateSchema: z.ZodObject<{
11805
11869
  out: {};
11806
11870
  in: {};
11807
11871
  }>;
11808
- declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
11809
- id: z.ZodString;
11872
+ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<OmitAgentScope<{
11810
11873
  createdAt: z.ZodString;
11811
11874
  updatedAt: z.ZodString;
11812
11875
  toolId: z.ZodString;
11876
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
11813
11877
  headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
11814
11878
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
11815
11879
  subAgentId: z.ZodString;
11816
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
11817
- }, z.core.$strip>;
11818
- declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
11880
+ agentId: z.ZodString;
11881
+ projectId: z.ZodString;
11882
+ tenantId: z.ZodString;
11819
11883
  id: z.ZodString;
11884
+ }>, z.core.$strip>;
11885
+ declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<OmitAgentScope<{
11820
11886
  createdAt: z.ZodOptional<z.ZodString>;
11821
11887
  updatedAt: z.ZodOptional<z.ZodString>;
11888
+ agentId: z.ZodString;
11889
+ projectId: z.ZodString;
11890
+ tenantId: z.ZodString;
11891
+ id: z.ZodString;
11892
+ subAgentId: z.ZodString;
11822
11893
  toolId: z.ZodString;
11894
+ selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
11823
11895
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
11824
11896
  toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
11825
11897
  needsApproval: z.ZodOptional<z.ZodBoolean>;
11826
11898
  }, z.core.$strip>>>>;
11827
- subAgentId: z.ZodString;
11828
- selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
11829
- }, z.core.$strip>;
11899
+ }>, z.core.$strip>;
11830
11900
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
11831
11901
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11832
11902
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -12204,14 +12274,17 @@ declare const SubAgentExternalAgentRelationUpdateSchema: z.ZodObject<{
12204
12274
  out: {};
12205
12275
  in: {};
12206
12276
  }>;
12207
- declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<{
12208
- id: z.ZodString;
12277
+ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<OmitAgentScope<{
12209
12278
  createdAt: z.ZodString;
12210
12279
  updatedAt: z.ZodString;
12211
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
12212
12280
  externalAgentId: z.ZodString;
12281
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
12213
12282
  subAgentId: z.ZodString;
12214
- }, z.core.$strip>;
12283
+ agentId: z.ZodString;
12284
+ projectId: z.ZodString;
12285
+ tenantId: z.ZodString;
12286
+ id: z.ZodString;
12287
+ }>, z.core.$strip>;
12215
12288
  declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
12216
12289
  createdAt: z.ZodOptional<z.ZodString>;
12217
12290
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -12591,14 +12664,17 @@ declare const SubAgentTeamAgentRelationUpdateSchema: z.ZodObject<{
12591
12664
  out: {};
12592
12665
  in: {};
12593
12666
  }>;
12594
- declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<{
12595
- id: z.ZodString;
12667
+ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<OmitAgentScope<{
12596
12668
  createdAt: z.ZodString;
12597
12669
  updatedAt: z.ZodString;
12670
+ targetAgentId: z.ZodString;
12598
12671
  headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
12599
12672
  subAgentId: z.ZodString;
12600
- targetAgentId: z.ZodString;
12601
- }, z.core.$strip>;
12673
+ agentId: z.ZodString;
12674
+ projectId: z.ZodString;
12675
+ tenantId: z.ZodString;
12676
+ id: z.ZodString;
12677
+ }>, z.core.$strip>;
12602
12678
  declare const SubAgentTeamAgentRelationApiInsertSchema: z.ZodObject<{
12603
12679
  createdAt: z.ZodOptional<z.ZodString>;
12604
12680
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -13978,42 +14054,46 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
13978
14054
  out: {};
13979
14055
  in: {};
13980
14056
  }>;
13981
- declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
13982
- id: z.ZodString;
13983
- type: z.ZodString;
13984
- name: z.ZodNullable<z.ZodString>;
13985
- description: z.ZodNullable<z.ZodString>;
14057
+ declare const LedgerArtifactApiSelectSchema: z.ZodObject<OmitProjectScope<{
13986
14058
  createdAt: z.ZodString;
13987
14059
  updatedAt: z.ZodString;
13988
- metadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
13989
- contextId: z.ZodString;
13990
- visibility: z.ZodNullable<z.ZodString>;
13991
14060
  taskId: z.ZodString;
13992
14061
  toolCallId: z.ZodNullable<z.ZodString>;
14062
+ contextId: z.ZodString;
14063
+ type: z.ZodString;
14064
+ name: z.ZodNullable<z.ZodString>;
14065
+ description: z.ZodNullable<z.ZodString>;
13993
14066
  parts: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
14067
+ metadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
13994
14068
  summary: z.ZodNullable<z.ZodString>;
13995
14069
  mime: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
14070
+ visibility: z.ZodNullable<z.ZodString>;
13996
14071
  allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
13997
14072
  derivedFrom: z.ZodNullable<z.ZodString>;
13998
- }, z.core.$strip>;
13999
- declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
14073
+ projectId: z.ZodString;
14074
+ tenantId: z.ZodString;
14000
14075
  id: z.ZodString;
14001
- type: z.ZodOptional<z.ZodString>;
14002
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14003
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14076
+ }>, z.core.$strip>;
14077
+ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
14004
14078
  createdAt: z.ZodOptional<z.ZodString>;
14005
14079
  updatedAt: z.ZodOptional<z.ZodString>;
14006
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
14007
- contextId: z.ZodString;
14008
- visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14009
14080
  taskId: z.ZodString;
14010
14081
  toolCallId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14082
+ contextId: z.ZodString;
14083
+ type: z.ZodOptional<z.ZodString>;
14084
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14085
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14011
14086
  parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
14087
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
14012
14088
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14013
14089
  mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
14090
+ visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14014
14091
  allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
14015
14092
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14016
- }, z.core.$strip>;
14093
+ projectId: z.ZodString;
14094
+ tenantId: z.ZodString;
14095
+ id: z.ZodString;
14096
+ }>, z.core.$strip>;
14017
14097
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
14018
14098
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14019
14099
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -14196,10 +14276,20 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
14196
14276
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
14197
14277
  }, z.core.$strip>]>>>;
14198
14278
  }, z.core.$strip>>;
14199
- tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14200
- id: z.ZodString;
14279
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
14280
+ createdAt: z.ZodOptional<z.ZodString>;
14281
+ updatedAt: z.ZodOptional<z.ZodString>;
14201
14282
  name: z.ZodString;
14202
14283
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14284
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14285
+ credentialScope: z.ZodOptional<z.ZodString>;
14286
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14287
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
14288
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14289
+ projectId: z.ZodString;
14290
+ tenantId: z.ZodString;
14291
+ id: z.ZodString;
14292
+ imageUrl: z.ZodOptional<z.ZodString>;
14203
14293
  config: z.ZodObject<{
14204
14294
  type: z.ZodLiteral<"mcp">;
14205
14295
  mcp: z.ZodObject<{
@@ -14219,45 +14309,44 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
14219
14309
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
14220
14310
  }, z.core.$strip>;
14221
14311
  }, z.core.$strip>;
14222
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14312
+ }>, z.core.$strip>>>;
14313
+ externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
14223
14314
  createdAt: z.ZodOptional<z.ZodString>;
14224
14315
  updatedAt: z.ZodOptional<z.ZodString>;
14225
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14226
- credentialScope: z.ZodOptional<z.ZodString>;
14227
- imageUrl: z.ZodOptional<z.ZodString>;
14228
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
14229
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14230
- }, z.core.$strip>>>;
14231
- externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14232
- id: z.ZodString;
14316
+ baseUrl: z.ZodString;
14317
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14233
14318
  name: z.ZodString;
14234
14319
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14235
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14236
- createdAt: z.ZodOptional<z.ZodString>;
14237
- updatedAt: z.ZodOptional<z.ZodString>;
14238
- baseUrl: z.ZodString;
14239
- }, z.core.$strip>>>;
14320
+ projectId: z.ZodString;
14321
+ tenantId: z.ZodString;
14322
+ id: z.ZodString;
14323
+ }>, z.core.$strip>>>;
14240
14324
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14241
14325
  id: z.ZodString;
14242
14326
  name: z.ZodString;
14243
14327
  description: z.ZodString;
14244
14328
  }, z.core.$strip>>>;
14245
- functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14246
- id: z.ZodString;
14247
- name: z.ZodString;
14248
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14329
+ functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
14249
14330
  createdAt: z.ZodOptional<z.ZodString>;
14250
14331
  updatedAt: z.ZodOptional<z.ZodString>;
14332
+ name: z.ZodString;
14333
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14251
14334
  functionId: z.ZodString;
14252
- }, z.core.$strip>>>;
14253
- functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14335
+ agentId: z.ZodString;
14336
+ projectId: z.ZodString;
14337
+ tenantId: z.ZodString;
14254
14338
  id: z.ZodString;
14339
+ }>, z.core.$strip>>>;
14340
+ functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
14255
14341
  createdAt: z.ZodOptional<z.ZodString>;
14256
14342
  updatedAt: z.ZodOptional<z.ZodString>;
14257
14343
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14258
14344
  executeCode: z.ZodString;
14259
14345
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14260
- }, z.core.$strip>>>;
14346
+ projectId: z.ZodString;
14347
+ tenantId: z.ZodString;
14348
+ id: z.ZodString;
14349
+ }>, z.core.$strip>>>;
14261
14350
  contextConfig: z.ZodOptional<z.ZodObject<{
14262
14351
  id: z.ZodOptional<z.ZodString>;
14263
14352
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
@@ -14571,10 +14660,20 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14571
14660
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
14572
14661
  }, z.core.$strip>]>>>;
14573
14662
  }, z.core.$strip>>;
14574
- tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14575
- id: z.ZodString;
14663
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
14664
+ createdAt: z.ZodOptional<z.ZodString>;
14665
+ updatedAt: z.ZodOptional<z.ZodString>;
14576
14666
  name: z.ZodString;
14577
14667
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14668
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14669
+ credentialScope: z.ZodOptional<z.ZodString>;
14670
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14671
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
14672
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14673
+ projectId: z.ZodString;
14674
+ tenantId: z.ZodString;
14675
+ id: z.ZodString;
14676
+ imageUrl: z.ZodOptional<z.ZodString>;
14578
14677
  config: z.ZodObject<{
14579
14678
  type: z.ZodLiteral<"mcp">;
14580
14679
  mcp: z.ZodObject<{
@@ -14594,45 +14693,44 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14594
14693
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
14595
14694
  }, z.core.$strip>;
14596
14695
  }, z.core.$strip>;
14597
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14696
+ }>, z.core.$strip>>>;
14697
+ externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
14598
14698
  createdAt: z.ZodOptional<z.ZodString>;
14599
14699
  updatedAt: z.ZodOptional<z.ZodString>;
14600
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14601
- credentialScope: z.ZodOptional<z.ZodString>;
14602
- imageUrl: z.ZodOptional<z.ZodString>;
14603
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
14604
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14605
- }, z.core.$strip>>>;
14606
- externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14607
- id: z.ZodString;
14700
+ baseUrl: z.ZodString;
14701
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14608
14702
  name: z.ZodString;
14609
14703
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14610
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14611
- createdAt: z.ZodOptional<z.ZodString>;
14612
- updatedAt: z.ZodOptional<z.ZodString>;
14613
- baseUrl: z.ZodString;
14614
- }, z.core.$strip>>>;
14704
+ projectId: z.ZodString;
14705
+ tenantId: z.ZodString;
14706
+ id: z.ZodString;
14707
+ }>, z.core.$strip>>>;
14615
14708
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14616
14709
  id: z.ZodString;
14617
14710
  name: z.ZodString;
14618
14711
  description: z.ZodString;
14619
14712
  }, z.core.$strip>>>;
14620
- functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14621
- id: z.ZodString;
14622
- name: z.ZodString;
14623
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14713
+ functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
14624
14714
  createdAt: z.ZodOptional<z.ZodString>;
14625
14715
  updatedAt: z.ZodOptional<z.ZodString>;
14716
+ name: z.ZodString;
14717
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14626
14718
  functionId: z.ZodString;
14627
- }, z.core.$strip>>>;
14628
- functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14719
+ agentId: z.ZodString;
14720
+ projectId: z.ZodString;
14721
+ tenantId: z.ZodString;
14629
14722
  id: z.ZodString;
14723
+ }>, z.core.$strip>>>;
14724
+ functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
14630
14725
  createdAt: z.ZodOptional<z.ZodString>;
14631
14726
  updatedAt: z.ZodOptional<z.ZodString>;
14632
14727
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14633
14728
  executeCode: z.ZodString;
14634
14729
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14635
- }, z.core.$strip>>>;
14730
+ projectId: z.ZodString;
14731
+ tenantId: z.ZodString;
14732
+ id: z.ZodString;
14733
+ }>, z.core.$strip>>>;
14636
14734
  contextConfig: z.ZodOptional<z.ZodObject<{
14637
14735
  id: z.ZodOptional<z.ZodString>;
14638
14736
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
@@ -14672,10 +14770,20 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14672
14770
  }, z.core.$strip>>;
14673
14771
  prompt: z.ZodOptional<z.ZodString>;
14674
14772
  }, z.core.$strip>>;
14675
- tools: z.ZodRecord<z.ZodString, z.ZodObject<{
14676
- id: z.ZodString;
14773
+ tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
14774
+ createdAt: z.ZodOptional<z.ZodString>;
14775
+ updatedAt: z.ZodOptional<z.ZodString>;
14677
14776
  name: z.ZodString;
14678
14777
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14778
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14779
+ credentialScope: z.ZodOptional<z.ZodString>;
14780
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14781
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
14782
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14783
+ projectId: z.ZodString;
14784
+ tenantId: z.ZodString;
14785
+ id: z.ZodString;
14786
+ imageUrl: z.ZodOptional<z.ZodString>;
14679
14787
  config: z.ZodObject<{
14680
14788
  type: z.ZodLiteral<"mcp">;
14681
14789
  mcp: z.ZodObject<{
@@ -14695,35 +14803,29 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14695
14803
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
14696
14804
  }, z.core.$strip>;
14697
14805
  }, z.core.$strip>;
14698
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14806
+ }>, z.core.$strip>>;
14807
+ functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
14699
14808
  createdAt: z.ZodOptional<z.ZodString>;
14700
14809
  updatedAt: z.ZodOptional<z.ZodString>;
14701
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14702
- credentialScope: z.ZodOptional<z.ZodString>;
14703
- imageUrl: z.ZodOptional<z.ZodString>;
14704
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
14705
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14706
- }, z.core.$strip>>;
14707
- functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14708
- id: z.ZodString;
14709
14810
  name: z.ZodString;
14710
14811
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14711
- createdAt: z.ZodOptional<z.ZodString>;
14712
- updatedAt: z.ZodOptional<z.ZodString>;
14713
14812
  functionId: z.ZodString;
14714
- }, z.core.$strip>>>;
14715
- functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14813
+ agentId: z.ZodString;
14814
+ projectId: z.ZodString;
14815
+ tenantId: z.ZodString;
14716
14816
  id: z.ZodString;
14817
+ }>, z.core.$strip>>>;
14818
+ functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
14717
14819
  createdAt: z.ZodOptional<z.ZodString>;
14718
14820
  updatedAt: z.ZodOptional<z.ZodString>;
14719
14821
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14720
14822
  executeCode: z.ZodString;
14721
14823
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14722
- }, z.core.$strip>>>;
14723
- dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14824
+ projectId: z.ZodString;
14825
+ tenantId: z.ZodString;
14724
14826
  id: z.ZodString;
14725
- name: z.ZodString;
14726
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14827
+ }>, z.core.$strip>>>;
14828
+ dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
14727
14829
  createdAt: z.ZodOptional<z.ZodString>;
14728
14830
  updatedAt: z.ZodOptional<z.ZodString>;
14729
14831
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
@@ -14740,7 +14842,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14740
14842
  component: string;
14741
14843
  mockData: Record<string, unknown>;
14742
14844
  }>>>>;
14743
- }, z.core.$strip>>>;
14845
+ name: z.ZodString;
14846
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14847
+ projectId: z.ZodString;
14848
+ tenantId: z.ZodString;
14849
+ id: z.ZodString;
14850
+ }>, z.core.$strip>>>;
14744
14851
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14745
14852
  id: z.ZodString;
14746
14853
  name: z.ZodString;
@@ -14763,15 +14870,17 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14763
14870
  out: {};
14764
14871
  in: {};
14765
14872
  }>>>;
14766
- externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14767
- id: z.ZodString;
14768
- name: z.ZodString;
14769
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14770
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14873
+ externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
14771
14874
  createdAt: z.ZodOptional<z.ZodString>;
14772
14875
  updatedAt: z.ZodOptional<z.ZodString>;
14773
14876
  baseUrl: z.ZodString;
14774
- }, z.core.$strip>>>;
14877
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14878
+ name: z.ZodString;
14879
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14880
+ projectId: z.ZodString;
14881
+ tenantId: z.ZodString;
14882
+ id: z.ZodString;
14883
+ }>, z.core.$strip>>>;
14775
14884
  statusUpdates: z.ZodOptional<z.ZodObject<{
14776
14885
  enabled: z.ZodOptional<z.ZodBoolean>;
14777
14886
  numEvents: z.ZodOptional<z.ZodNumber>;
@@ -14840,13 +14949,11 @@ declare const ProjectResponse: z.ZodObject<{
14840
14949
  }>;
14841
14950
  }, z.core.$strip>;
14842
14951
  declare const SubAgentResponse: z.ZodObject<{
14843
- data: z.ZodObject<{
14844
- id: z.ZodString;
14845
- name: z.ZodString;
14846
- description: z.ZodNullable<z.ZodString>;
14847
- prompt: z.ZodNullable<z.ZodString>;
14952
+ data: z.ZodObject<OmitAgentScope<{
14848
14953
  createdAt: z.ZodString;
14849
14954
  updatedAt: z.ZodString;
14955
+ prompt: z.ZodNullable<z.ZodString>;
14956
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
14850
14957
  models: z.ZodNullable<z.ZodType<{
14851
14958
  base?: {
14852
14959
  model?: string | undefined;
@@ -14909,17 +15016,22 @@ declare const SubAgentResponse: z.ZodObject<{
14909
15016
  }, {
14910
15017
  stepCountIs?: number | undefined;
14911
15018
  }>>>;
14912
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
14913
- }, z.core.$strip>;
14914
- }, z.core.$strip>;
14915
- declare const AgentResponse: z.ZodObject<{
14916
- data: z.ZodObject<{
14917
- id: z.ZodString;
14918
15019
  name: z.ZodString;
14919
15020
  description: z.ZodNullable<z.ZodString>;
14920
- prompt: z.ZodNullable<z.ZodString>;
15021
+ agentId: z.ZodString;
15022
+ projectId: z.ZodString;
15023
+ tenantId: z.ZodString;
15024
+ id: z.ZodString;
15025
+ }>, z.core.$strip>;
15026
+ }, z.core.$strip>;
15027
+ declare const AgentResponse: z.ZodObject<{
15028
+ data: z.ZodObject<OmitProjectScope<{
14921
15029
  createdAt: z.ZodString;
14922
15030
  updatedAt: z.ZodString;
15031
+ name: z.ZodString;
15032
+ description: z.ZodNullable<z.ZodString>;
15033
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
15034
+ contextConfigId: z.ZodNullable<z.ZodString>;
14923
15035
  models: z.ZodNullable<z.ZodType<{
14924
15036
  base?: {
14925
15037
  model?: string | undefined;
@@ -14973,17 +15085,6 @@ declare const AgentResponse: z.ZodObject<{
14973
15085
  providerOptions?: Record<string, any> | undefined;
14974
15086
  } | undefined;
14975
15087
  }>>>;
14976
- stopWhen: z.ZodNullable<z.ZodType<{
14977
- transferCountIs?: number | undefined;
14978
- }, {
14979
- transferCountIs?: number | undefined;
14980
- }, z.core.$ZodTypeInternals<{
14981
- transferCountIs?: number | undefined;
14982
- }, {
14983
- transferCountIs?: number | undefined;
14984
- }>>>;
14985
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
14986
- contextConfigId: z.ZodNullable<z.ZodString>;
14987
15088
  statusUpdates: z.ZodNullable<z.ZodType<{
14988
15089
  enabled?: boolean | undefined;
14989
15090
  numEvents?: number | undefined;
@@ -15041,11 +15142,25 @@ declare const AgentResponse: z.ZodObject<{
15041
15142
  } | undefined;
15042
15143
  }[] | undefined;
15043
15144
  }>>>;
15044
- }, z.core.$strip>;
15145
+ prompt: z.ZodNullable<z.ZodString>;
15146
+ stopWhen: z.ZodNullable<z.ZodType<{
15147
+ transferCountIs?: number | undefined;
15148
+ }, {
15149
+ transferCountIs?: number | undefined;
15150
+ }, z.core.$ZodTypeInternals<{
15151
+ transferCountIs?: number | undefined;
15152
+ }, {
15153
+ transferCountIs?: number | undefined;
15154
+ }>>>;
15155
+ projectId: z.ZodString;
15156
+ tenantId: z.ZodString;
15157
+ id: z.ZodString;
15158
+ }>, z.core.$strip>;
15045
15159
  }, z.core.$strip>;
15046
15160
  declare const ToolResponse: z.ZodObject<{
15047
- data: z.ZodObject<{
15048
- id: z.ZodString;
15161
+ data: z.ZodObject<OmitProjectScope<{
15162
+ createdAt: z.ZodString;
15163
+ updatedAt: z.ZodString;
15049
15164
  name: z.ZodString;
15050
15165
  description: z.ZodNullable<z.ZodString>;
15051
15166
  config: z.ZodType<{
@@ -15062,25 +15177,28 @@ declare const ToolResponse: z.ZodObject<{
15062
15177
  mcp: ToolMcpConfig;
15063
15178
  }>>;
15064
15179
  credentialReferenceId: z.ZodNullable<z.ZodString>;
15065
- createdAt: z.ZodString;
15066
- updatedAt: z.ZodString;
15067
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
15068
15180
  credentialScope: z.ZodString;
15181
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
15069
15182
  imageUrl: z.ZodNullable<z.ZodString>;
15070
15183
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
15071
15184
  lastError: z.ZodNullable<z.ZodString>;
15072
- }, z.core.$strip>;
15185
+ projectId: z.ZodString;
15186
+ tenantId: z.ZodString;
15187
+ id: z.ZodString;
15188
+ }>, z.core.$strip>;
15073
15189
  }, z.core.$strip>;
15074
15190
  declare const ExternalAgentResponse: z.ZodObject<{
15075
- data: z.ZodObject<{
15076
- id: z.ZodString;
15077
- name: z.ZodString;
15078
- description: z.ZodNullable<z.ZodString>;
15079
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15191
+ data: z.ZodObject<OmitProjectScope<{
15080
15192
  createdAt: z.ZodString;
15081
15193
  updatedAt: z.ZodString;
15082
15194
  baseUrl: z.ZodString;
15083
- }, z.core.$strip>;
15195
+ name: z.ZodString;
15196
+ description: z.ZodNullable<z.ZodString>;
15197
+ projectId: z.ZodString;
15198
+ tenantId: z.ZodString;
15199
+ id: z.ZodString;
15200
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15201
+ }>, z.core.$strip>;
15084
15202
  }, z.core.$strip>;
15085
15203
  declare const ContextConfigResponse: z.ZodObject<{
15086
15204
  data: z.ZodObject<{
@@ -15667,31 +15785,32 @@ declare const CredentialReferenceResponse: z.ZodObject<{
15667
15785
  }, z.core.$strip>;
15668
15786
  }, z.core.$strip>;
15669
15787
  declare const FunctionResponse: z.ZodObject<{
15670
- data: z.ZodObject<{
15671
- id: z.ZodString;
15788
+ data: z.ZodObject<OmitProjectScope<{
15672
15789
  createdAt: z.ZodString;
15673
15790
  updatedAt: z.ZodString;
15674
15791
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
15675
15792
  executeCode: z.ZodString;
15676
15793
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
15677
- }, z.core.$strip>;
15794
+ projectId: z.ZodString;
15795
+ tenantId: z.ZodString;
15796
+ id: z.ZodString;
15797
+ }>, z.core.$strip>;
15678
15798
  }, z.core.$strip>;
15679
15799
  declare const FunctionToolResponse: z.ZodObject<{
15680
- data: z.ZodObject<{
15681
- id: z.ZodString;
15682
- name: z.ZodString;
15683
- description: z.ZodNullable<z.ZodString>;
15684
- agentId: z.ZodString;
15800
+ data: z.ZodObject<OmitProjectScope<{
15685
15801
  createdAt: z.ZodString;
15686
15802
  updatedAt: z.ZodString;
15803
+ name: z.ZodString;
15804
+ description: z.ZodNullable<z.ZodString>;
15687
15805
  functionId: z.ZodString;
15688
- }, z.core.$strip>;
15806
+ agentId: z.ZodString;
15807
+ projectId: z.ZodString;
15808
+ tenantId: z.ZodString;
15809
+ id: z.ZodString;
15810
+ }>, z.core.$strip>;
15689
15811
  }, z.core.$strip>;
15690
15812
  declare const DataComponentResponse: z.ZodObject<{
15691
- data: z.ZodObject<{
15692
- id: z.ZodString;
15693
- name: z.ZodString;
15694
- description: z.ZodNullable<z.ZodString>;
15813
+ data: z.ZodObject<OmitProjectScope<{
15695
15814
  createdAt: z.ZodString;
15696
15815
  updatedAt: z.ZodString;
15697
15816
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -15708,13 +15827,15 @@ declare const DataComponentResponse: z.ZodObject<{
15708
15827
  component: string;
15709
15828
  mockData: Record<string, unknown>;
15710
15829
  }>>>;
15711
- }, z.core.$strip>;
15712
- }, z.core.$strip>;
15713
- declare const ArtifactComponentResponse: z.ZodObject<{
15714
- data: z.ZodObject<{
15715
- id: z.ZodString;
15716
15830
  name: z.ZodString;
15717
15831
  description: z.ZodNullable<z.ZodString>;
15832
+ projectId: z.ZodString;
15833
+ tenantId: z.ZodString;
15834
+ id: z.ZodString;
15835
+ }>, z.core.$strip>;
15836
+ }, z.core.$strip>;
15837
+ declare const ArtifactComponentResponse: z.ZodObject<{
15838
+ data: z.ZodObject<OmitProjectScope<{
15718
15839
  createdAt: z.ZodString;
15719
15840
  updatedAt: z.ZodString;
15720
15841
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -15731,64 +15852,79 @@ declare const ArtifactComponentResponse: z.ZodObject<{
15731
15852
  component: string;
15732
15853
  mockData: Record<string, unknown>;
15733
15854
  }>>>;
15734
- }, z.core.$strip>;
15855
+ name: z.ZodString;
15856
+ description: z.ZodNullable<z.ZodString>;
15857
+ projectId: z.ZodString;
15858
+ tenantId: z.ZodString;
15859
+ id: z.ZodString;
15860
+ }>, z.core.$strip>;
15735
15861
  }, z.core.$strip>;
15736
15862
  declare const SubAgentRelationResponse: z.ZodObject<{
15737
- data: z.ZodObject<{
15738
- id: z.ZodString;
15863
+ data: z.ZodObject<OmitAgentScope<{
15739
15864
  createdAt: z.ZodString;
15740
15865
  updatedAt: z.ZodString;
15741
15866
  sourceSubAgentId: z.ZodString;
15742
15867
  targetSubAgentId: z.ZodNullable<z.ZodString>;
15743
15868
  relationType: z.ZodNullable<z.ZodString>;
15744
- }, z.core.$strip>;
15869
+ agentId: z.ZodString;
15870
+ projectId: z.ZodString;
15871
+ tenantId: z.ZodString;
15872
+ id: z.ZodString;
15873
+ }>, z.core.$strip>;
15745
15874
  }, z.core.$strip>;
15746
15875
  declare const SubAgentToolRelationResponse: z.ZodObject<{
15747
- data: z.ZodObject<{
15748
- id: z.ZodString;
15876
+ data: z.ZodObject<OmitAgentScope<{
15749
15877
  createdAt: z.ZodString;
15750
15878
  updatedAt: z.ZodString;
15751
15879
  toolId: z.ZodString;
15880
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
15752
15881
  headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
15753
15882
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
15754
15883
  subAgentId: z.ZodString;
15755
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
15756
- }, z.core.$strip>;
15884
+ agentId: z.ZodString;
15885
+ projectId: z.ZodString;
15886
+ tenantId: z.ZodString;
15887
+ id: z.ZodString;
15888
+ }>, z.core.$strip>;
15757
15889
  }, z.core.$strip>;
15758
15890
  declare const ConversationResponse: z.ZodObject<{
15759
- data: z.ZodObject<{
15760
- id: z.ZodString;
15761
- title: z.ZodNullable<z.ZodString>;
15891
+ data: z.ZodObject<OmitProjectScope<{
15762
15892
  createdAt: z.ZodString;
15763
15893
  updatedAt: z.ZodString;
15764
15894
  userId: z.ZodNullable<z.ZodString>;
15765
- metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
15766
15895
  activeSubAgentId: z.ZodString;
15896
+ title: z.ZodNullable<z.ZodString>;
15767
15897
  lastContextResolution: z.ZodNullable<z.ZodString>;
15768
- }, z.core.$strip>;
15898
+ metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
15899
+ projectId: z.ZodString;
15900
+ tenantId: z.ZodString;
15901
+ id: z.ZodString;
15902
+ }>, z.core.$strip>;
15769
15903
  }, z.core.$strip>;
15770
15904
  declare const MessageResponse: z.ZodObject<{
15771
- data: z.ZodObject<{
15772
- id: z.ZodString;
15905
+ data: z.ZodObject<OmitProjectScope<{
15773
15906
  createdAt: z.ZodString;
15774
15907
  updatedAt: z.ZodString;
15775
- metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
15776
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
15777
- role: z.ZodString;
15778
15908
  conversationId: z.ZodString;
15909
+ role: z.ZodString;
15779
15910
  fromSubAgentId: z.ZodNullable<z.ZodString>;
15780
15911
  toSubAgentId: z.ZodNullable<z.ZodString>;
15781
15912
  fromExternalAgentId: z.ZodNullable<z.ZodString>;
15782
15913
  toExternalAgentId: z.ZodNullable<z.ZodString>;
15783
15914
  fromTeamAgentId: z.ZodNullable<z.ZodString>;
15784
15915
  toTeamAgentId: z.ZodNullable<z.ZodString>;
15916
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
15785
15917
  visibility: z.ZodString;
15786
15918
  messageType: z.ZodString;
15787
15919
  taskId: z.ZodNullable<z.ZodString>;
15788
15920
  parentMessageId: z.ZodNullable<z.ZodString>;
15789
15921
  a2aTaskId: z.ZodNullable<z.ZodString>;
15790
15922
  a2aSessionId: z.ZodNullable<z.ZodString>;
15791
- }, z.core.$strip>;
15923
+ metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
15924
+ projectId: z.ZodString;
15925
+ tenantId: z.ZodString;
15926
+ id: z.ZodString;
15927
+ }>, z.core.$strip>;
15792
15928
  }, z.core.$strip>;
15793
15929
  declare const ProjectListResponse: z.ZodObject<{
15794
15930
  data: z.ZodArray<z.ZodObject<{
@@ -15827,13 +15963,11 @@ declare const ProjectListResponse: z.ZodObject<{
15827
15963
  }, z.core.$strip>;
15828
15964
  }, z.core.$strip>;
15829
15965
  declare const SubAgentListResponse: z.ZodObject<{
15830
- data: z.ZodArray<z.ZodObject<{
15831
- id: z.ZodString;
15832
- name: z.ZodString;
15833
- description: z.ZodNullable<z.ZodString>;
15834
- prompt: z.ZodNullable<z.ZodString>;
15966
+ data: z.ZodArray<z.ZodObject<OmitAgentScope<{
15835
15967
  createdAt: z.ZodString;
15836
15968
  updatedAt: z.ZodString;
15969
+ prompt: z.ZodNullable<z.ZodString>;
15970
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
15837
15971
  models: z.ZodNullable<z.ZodType<{
15838
15972
  base?: {
15839
15973
  model?: string | undefined;
@@ -15896,8 +16030,13 @@ declare const SubAgentListResponse: z.ZodObject<{
15896
16030
  }, {
15897
16031
  stepCountIs?: number | undefined;
15898
16032
  }>>>;
15899
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
15900
- }, z.core.$strip>>;
16033
+ name: z.ZodString;
16034
+ description: z.ZodNullable<z.ZodString>;
16035
+ agentId: z.ZodString;
16036
+ projectId: z.ZodString;
16037
+ tenantId: z.ZodString;
16038
+ id: z.ZodString;
16039
+ }>, z.core.$strip>>;
15901
16040
  pagination: z.ZodObject<{
15902
16041
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
15903
16042
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -15906,13 +16045,13 @@ declare const SubAgentListResponse: z.ZodObject<{
15906
16045
  }, z.core.$strip>;
15907
16046
  }, z.core.$strip>;
15908
16047
  declare const AgentListResponse: z.ZodObject<{
15909
- data: z.ZodArray<z.ZodObject<{
15910
- id: z.ZodString;
15911
- name: z.ZodString;
15912
- description: z.ZodNullable<z.ZodString>;
15913
- prompt: z.ZodNullable<z.ZodString>;
16048
+ data: z.ZodArray<z.ZodObject<OmitProjectScope<{
15914
16049
  createdAt: z.ZodString;
15915
16050
  updatedAt: z.ZodString;
16051
+ name: z.ZodString;
16052
+ description: z.ZodNullable<z.ZodString>;
16053
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
16054
+ contextConfigId: z.ZodNullable<z.ZodString>;
15916
16055
  models: z.ZodNullable<z.ZodType<{
15917
16056
  base?: {
15918
16057
  model?: string | undefined;
@@ -15966,17 +16105,6 @@ declare const AgentListResponse: z.ZodObject<{
15966
16105
  providerOptions?: Record<string, any> | undefined;
15967
16106
  } | undefined;
15968
16107
  }>>>;
15969
- stopWhen: z.ZodNullable<z.ZodType<{
15970
- transferCountIs?: number | undefined;
15971
- }, {
15972
- transferCountIs?: number | undefined;
15973
- }, z.core.$ZodTypeInternals<{
15974
- transferCountIs?: number | undefined;
15975
- }, {
15976
- transferCountIs?: number | undefined;
15977
- }>>>;
15978
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
15979
- contextConfigId: z.ZodNullable<z.ZodString>;
15980
16108
  statusUpdates: z.ZodNullable<z.ZodType<{
15981
16109
  enabled?: boolean | undefined;
15982
16110
  numEvents?: number | undefined;
@@ -16034,7 +16162,20 @@ declare const AgentListResponse: z.ZodObject<{
16034
16162
  } | undefined;
16035
16163
  }[] | undefined;
16036
16164
  }>>>;
16037
- }, z.core.$strip>>;
16165
+ prompt: z.ZodNullable<z.ZodString>;
16166
+ stopWhen: z.ZodNullable<z.ZodType<{
16167
+ transferCountIs?: number | undefined;
16168
+ }, {
16169
+ transferCountIs?: number | undefined;
16170
+ }, z.core.$ZodTypeInternals<{
16171
+ transferCountIs?: number | undefined;
16172
+ }, {
16173
+ transferCountIs?: number | undefined;
16174
+ }>>>;
16175
+ projectId: z.ZodString;
16176
+ tenantId: z.ZodString;
16177
+ id: z.ZodString;
16178
+ }>, z.core.$strip>>;
16038
16179
  pagination: z.ZodObject<{
16039
16180
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
16040
16181
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16043,8 +16184,9 @@ declare const AgentListResponse: z.ZodObject<{
16043
16184
  }, z.core.$strip>;
16044
16185
  }, z.core.$strip>;
16045
16186
  declare const ToolListResponse: z.ZodObject<{
16046
- data: z.ZodArray<z.ZodObject<{
16047
- id: z.ZodString;
16187
+ data: z.ZodArray<z.ZodObject<OmitProjectScope<{
16188
+ createdAt: z.ZodString;
16189
+ updatedAt: z.ZodString;
16048
16190
  name: z.ZodString;
16049
16191
  description: z.ZodNullable<z.ZodString>;
16050
16192
  config: z.ZodType<{
@@ -16061,14 +16203,15 @@ declare const ToolListResponse: z.ZodObject<{
16061
16203
  mcp: ToolMcpConfig;
16062
16204
  }>>;
16063
16205
  credentialReferenceId: z.ZodNullable<z.ZodString>;
16064
- createdAt: z.ZodString;
16065
- updatedAt: z.ZodString;
16066
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
16067
16206
  credentialScope: z.ZodString;
16207
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
16068
16208
  imageUrl: z.ZodNullable<z.ZodString>;
16069
16209
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
16070
16210
  lastError: z.ZodNullable<z.ZodString>;
16071
- }, z.core.$strip>>;
16211
+ projectId: z.ZodString;
16212
+ tenantId: z.ZodString;
16213
+ id: z.ZodString;
16214
+ }>, z.core.$strip>>;
16072
16215
  pagination: z.ZodObject<{
16073
16216
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
16074
16217
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16077,15 +16220,17 @@ declare const ToolListResponse: z.ZodObject<{
16077
16220
  }, z.core.$strip>;
16078
16221
  }, z.core.$strip>;
16079
16222
  declare const ExternalAgentListResponse: z.ZodObject<{
16080
- data: z.ZodArray<z.ZodObject<{
16081
- id: z.ZodString;
16082
- name: z.ZodString;
16083
- description: z.ZodNullable<z.ZodString>;
16084
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16223
+ data: z.ZodArray<z.ZodObject<OmitProjectScope<{
16085
16224
  createdAt: z.ZodString;
16086
16225
  updatedAt: z.ZodString;
16087
16226
  baseUrl: z.ZodString;
16088
- }, z.core.$strip>>;
16227
+ name: z.ZodString;
16228
+ description: z.ZodNullable<z.ZodString>;
16229
+ projectId: z.ZodString;
16230
+ tenantId: z.ZodString;
16231
+ id: z.ZodString;
16232
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16233
+ }>, z.core.$strip>>;
16089
16234
  pagination: z.ZodObject<{
16090
16235
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
16091
16236
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16696,14 +16841,16 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
16696
16841
  }, z.core.$strip>;
16697
16842
  }, z.core.$strip>;
16698
16843
  declare const FunctionListResponse: z.ZodObject<{
16699
- data: z.ZodArray<z.ZodObject<{
16700
- id: z.ZodString;
16844
+ data: z.ZodArray<z.ZodObject<OmitProjectScope<{
16701
16845
  createdAt: z.ZodString;
16702
16846
  updatedAt: z.ZodString;
16703
16847
  inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
16704
16848
  executeCode: z.ZodString;
16705
16849
  dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
16706
- }, z.core.$strip>>;
16850
+ projectId: z.ZodString;
16851
+ tenantId: z.ZodString;
16852
+ id: z.ZodString;
16853
+ }>, z.core.$strip>>;
16707
16854
  pagination: z.ZodObject<{
16708
16855
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
16709
16856
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16712,15 +16859,17 @@ declare const FunctionListResponse: z.ZodObject<{
16712
16859
  }, z.core.$strip>;
16713
16860
  }, z.core.$strip>;
16714
16861
  declare const FunctionToolListResponse: z.ZodObject<{
16715
- data: z.ZodArray<z.ZodObject<{
16716
- id: z.ZodString;
16717
- name: z.ZodString;
16718
- description: z.ZodNullable<z.ZodString>;
16719
- agentId: z.ZodString;
16862
+ data: z.ZodArray<z.ZodObject<OmitProjectScope<{
16720
16863
  createdAt: z.ZodString;
16721
16864
  updatedAt: z.ZodString;
16865
+ name: z.ZodString;
16866
+ description: z.ZodNullable<z.ZodString>;
16722
16867
  functionId: z.ZodString;
16723
- }, z.core.$strip>>;
16868
+ agentId: z.ZodString;
16869
+ projectId: z.ZodString;
16870
+ tenantId: z.ZodString;
16871
+ id: z.ZodString;
16872
+ }>, z.core.$strip>>;
16724
16873
  pagination: z.ZodObject<{
16725
16874
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
16726
16875
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16729,10 +16878,7 @@ declare const FunctionToolListResponse: z.ZodObject<{
16729
16878
  }, z.core.$strip>;
16730
16879
  }, z.core.$strip>;
16731
16880
  declare const DataComponentListResponse: z.ZodObject<{
16732
- data: z.ZodArray<z.ZodObject<{
16733
- id: z.ZodString;
16734
- name: z.ZodString;
16735
- description: z.ZodNullable<z.ZodString>;
16881
+ data: z.ZodArray<z.ZodObject<OmitProjectScope<{
16736
16882
  createdAt: z.ZodString;
16737
16883
  updatedAt: z.ZodString;
16738
16884
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -16749,7 +16895,12 @@ declare const DataComponentListResponse: z.ZodObject<{
16749
16895
  component: string;
16750
16896
  mockData: Record<string, unknown>;
16751
16897
  }>>>;
16752
- }, z.core.$strip>>;
16898
+ name: z.ZodString;
16899
+ description: z.ZodNullable<z.ZodString>;
16900
+ projectId: z.ZodString;
16901
+ tenantId: z.ZodString;
16902
+ id: z.ZodString;
16903
+ }>, z.core.$strip>>;
16753
16904
  pagination: z.ZodObject<{
16754
16905
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
16755
16906
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16758,10 +16909,7 @@ declare const DataComponentListResponse: z.ZodObject<{
16758
16909
  }, z.core.$strip>;
16759
16910
  }, z.core.$strip>;
16760
16911
  declare const ArtifactComponentListResponse: z.ZodObject<{
16761
- data: z.ZodArray<z.ZodObject<{
16762
- id: z.ZodString;
16763
- name: z.ZodString;
16764
- description: z.ZodNullable<z.ZodString>;
16912
+ data: z.ZodArray<z.ZodObject<OmitProjectScope<{
16765
16913
  createdAt: z.ZodString;
16766
16914
  updatedAt: z.ZodString;
16767
16915
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -16778,7 +16926,12 @@ declare const ArtifactComponentListResponse: z.ZodObject<{
16778
16926
  component: string;
16779
16927
  mockData: Record<string, unknown>;
16780
16928
  }>>>;
16781
- }, z.core.$strip>>;
16929
+ name: z.ZodString;
16930
+ description: z.ZodNullable<z.ZodString>;
16931
+ projectId: z.ZodString;
16932
+ tenantId: z.ZodString;
16933
+ id: z.ZodString;
16934
+ }>, z.core.$strip>>;
16782
16935
  pagination: z.ZodObject<{
16783
16936
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
16784
16937
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16787,14 +16940,17 @@ declare const ArtifactComponentListResponse: z.ZodObject<{
16787
16940
  }, z.core.$strip>;
16788
16941
  }, z.core.$strip>;
16789
16942
  declare const SubAgentRelationListResponse: z.ZodObject<{
16790
- data: z.ZodArray<z.ZodObject<{
16791
- id: z.ZodString;
16943
+ data: z.ZodArray<z.ZodObject<OmitAgentScope<{
16792
16944
  createdAt: z.ZodString;
16793
16945
  updatedAt: z.ZodString;
16794
16946
  sourceSubAgentId: z.ZodString;
16795
16947
  targetSubAgentId: z.ZodNullable<z.ZodString>;
16796
16948
  relationType: z.ZodNullable<z.ZodString>;
16797
- }, z.core.$strip>>;
16949
+ agentId: z.ZodString;
16950
+ projectId: z.ZodString;
16951
+ tenantId: z.ZodString;
16952
+ id: z.ZodString;
16953
+ }>, z.core.$strip>>;
16798
16954
  pagination: z.ZodObject<{
16799
16955
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
16800
16956
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16803,16 +16959,19 @@ declare const SubAgentRelationListResponse: z.ZodObject<{
16803
16959
  }, z.core.$strip>;
16804
16960
  }, z.core.$strip>;
16805
16961
  declare const SubAgentToolRelationListResponse: z.ZodObject<{
16806
- data: z.ZodArray<z.ZodObject<{
16807
- id: z.ZodString;
16962
+ data: z.ZodArray<z.ZodObject<OmitAgentScope<{
16808
16963
  createdAt: z.ZodString;
16809
16964
  updatedAt: z.ZodString;
16810
16965
  toolId: z.ZodString;
16966
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
16811
16967
  headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
16812
16968
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
16813
16969
  subAgentId: z.ZodString;
16814
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
16815
- }, z.core.$strip>>;
16970
+ agentId: z.ZodString;
16971
+ projectId: z.ZodString;
16972
+ tenantId: z.ZodString;
16973
+ id: z.ZodString;
16974
+ }>, z.core.$strip>>;
16816
16975
  pagination: z.ZodObject<{
16817
16976
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
16818
16977
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16821,16 +16980,18 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
16821
16980
  }, z.core.$strip>;
16822
16981
  }, z.core.$strip>;
16823
16982
  declare const ConversationListResponse: z.ZodObject<{
16824
- data: z.ZodArray<z.ZodObject<{
16825
- id: z.ZodString;
16826
- title: z.ZodNullable<z.ZodString>;
16983
+ data: z.ZodArray<z.ZodObject<OmitProjectScope<{
16827
16984
  createdAt: z.ZodString;
16828
16985
  updatedAt: z.ZodString;
16829
16986
  userId: z.ZodNullable<z.ZodString>;
16830
- metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
16831
16987
  activeSubAgentId: z.ZodString;
16988
+ title: z.ZodNullable<z.ZodString>;
16832
16989
  lastContextResolution: z.ZodNullable<z.ZodString>;
16833
- }, z.core.$strip>>;
16990
+ metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
16991
+ projectId: z.ZodString;
16992
+ tenantId: z.ZodString;
16993
+ id: z.ZodString;
16994
+ }>, z.core.$strip>>;
16834
16995
  pagination: z.ZodObject<{
16835
16996
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
16836
16997
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16839,27 +17000,29 @@ declare const ConversationListResponse: z.ZodObject<{
16839
17000
  }, z.core.$strip>;
16840
17001
  }, z.core.$strip>;
16841
17002
  declare const MessageListResponse: z.ZodObject<{
16842
- data: z.ZodArray<z.ZodObject<{
16843
- id: z.ZodString;
17003
+ data: z.ZodArray<z.ZodObject<OmitProjectScope<{
16844
17004
  createdAt: z.ZodString;
16845
17005
  updatedAt: z.ZodString;
16846
- metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
16847
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
16848
- role: z.ZodString;
16849
17006
  conversationId: z.ZodString;
17007
+ role: z.ZodString;
16850
17008
  fromSubAgentId: z.ZodNullable<z.ZodString>;
16851
17009
  toSubAgentId: z.ZodNullable<z.ZodString>;
16852
17010
  fromExternalAgentId: z.ZodNullable<z.ZodString>;
16853
17011
  toExternalAgentId: z.ZodNullable<z.ZodString>;
16854
17012
  fromTeamAgentId: z.ZodNullable<z.ZodString>;
16855
17013
  toTeamAgentId: z.ZodNullable<z.ZodString>;
17014
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
16856
17015
  visibility: z.ZodString;
16857
17016
  messageType: z.ZodString;
16858
17017
  taskId: z.ZodNullable<z.ZodString>;
16859
17018
  parentMessageId: z.ZodNullable<z.ZodString>;
16860
17019
  a2aTaskId: z.ZodNullable<z.ZodString>;
16861
17020
  a2aSessionId: z.ZodNullable<z.ZodString>;
16862
- }, z.core.$strip>>;
17021
+ metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
17022
+ projectId: z.ZodString;
17023
+ tenantId: z.ZodString;
17024
+ id: z.ZodString;
17025
+ }>, z.core.$strip>>;
16863
17026
  pagination: z.ZodObject<{
16864
17027
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
16865
17028
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16868,28 +17031,37 @@ declare const MessageListResponse: z.ZodObject<{
16868
17031
  }, z.core.$strip>;
16869
17032
  }, z.core.$strip>;
16870
17033
  declare const SubAgentDataComponentResponse: z.ZodObject<{
16871
- data: z.ZodObject<{
16872
- id: z.ZodString;
17034
+ data: z.ZodObject<OmitAgentScope<{
17035
+ dataComponentId: z.ZodString;
16873
17036
  createdAt: z.ZodString;
16874
17037
  subAgentId: z.ZodString;
16875
- dataComponentId: z.ZodString;
16876
- }, z.core.$strip>;
17038
+ agentId: z.ZodString;
17039
+ projectId: z.ZodString;
17040
+ tenantId: z.ZodString;
17041
+ id: z.ZodString;
17042
+ }>, z.core.$strip>;
16877
17043
  }, z.core.$strip>;
16878
17044
  declare const SubAgentArtifactComponentResponse: z.ZodObject<{
16879
- data: z.ZodObject<{
16880
- id: z.ZodString;
17045
+ data: z.ZodObject<OmitAgentScope<{
17046
+ artifactComponentId: z.ZodString;
16881
17047
  createdAt: z.ZodString;
16882
17048
  subAgentId: z.ZodString;
16883
- artifactComponentId: z.ZodString;
16884
- }, z.core.$strip>;
17049
+ agentId: z.ZodString;
17050
+ projectId: z.ZodString;
17051
+ tenantId: z.ZodString;
17052
+ id: z.ZodString;
17053
+ }>, z.core.$strip>;
16885
17054
  }, z.core.$strip>;
16886
17055
  declare const SubAgentDataComponentListResponse: z.ZodObject<{
16887
- data: z.ZodArray<z.ZodObject<{
16888
- id: z.ZodString;
17056
+ data: z.ZodArray<z.ZodObject<OmitAgentScope<{
17057
+ dataComponentId: z.ZodString;
16889
17058
  createdAt: z.ZodString;
16890
17059
  subAgentId: z.ZodString;
16891
- dataComponentId: z.ZodString;
16892
- }, z.core.$strip>>;
17060
+ agentId: z.ZodString;
17061
+ projectId: z.ZodString;
17062
+ tenantId: z.ZodString;
17063
+ id: z.ZodString;
17064
+ }>, z.core.$strip>>;
16893
17065
  pagination: z.ZodObject<{
16894
17066
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
16895
17067
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16898,12 +17070,15 @@ declare const SubAgentDataComponentListResponse: z.ZodObject<{
16898
17070
  }, z.core.$strip>;
16899
17071
  }, z.core.$strip>;
16900
17072
  declare const SubAgentArtifactComponentListResponse: z.ZodObject<{
16901
- data: z.ZodArray<z.ZodObject<{
16902
- id: z.ZodString;
17073
+ data: z.ZodArray<z.ZodObject<OmitAgentScope<{
17074
+ artifactComponentId: z.ZodString;
16903
17075
  createdAt: z.ZodString;
16904
17076
  subAgentId: z.ZodString;
16905
- artifactComponentId: z.ZodString;
16906
- }, z.core.$strip>>;
17077
+ agentId: z.ZodString;
17078
+ projectId: z.ZodString;
17079
+ tenantId: z.ZodString;
17080
+ id: z.ZodString;
17081
+ }>, z.core.$strip>>;
16907
17082
  pagination: z.ZodObject<{
16908
17083
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
16909
17084
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16996,10 +17171,20 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16996
17171
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
16997
17172
  }, z.core.$strip>]>>>;
16998
17173
  }, z.core.$strip>>;
16999
- tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17000
- id: z.ZodString;
17174
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
17175
+ createdAt: z.ZodOptional<z.ZodString>;
17176
+ updatedAt: z.ZodOptional<z.ZodString>;
17001
17177
  name: z.ZodString;
17002
17178
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17179
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17180
+ credentialScope: z.ZodOptional<z.ZodString>;
17181
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17182
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
17183
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17184
+ projectId: z.ZodString;
17185
+ tenantId: z.ZodString;
17186
+ id: z.ZodString;
17187
+ imageUrl: z.ZodOptional<z.ZodString>;
17003
17188
  config: z.ZodObject<{
17004
17189
  type: z.ZodLiteral<"mcp">;
17005
17190
  mcp: z.ZodObject<{
@@ -17019,45 +17204,44 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
17019
17204
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
17020
17205
  }, z.core.$strip>;
17021
17206
  }, z.core.$strip>;
17022
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17207
+ }>, z.core.$strip>>>;
17208
+ externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
17023
17209
  createdAt: z.ZodOptional<z.ZodString>;
17024
17210
  updatedAt: z.ZodOptional<z.ZodString>;
17025
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17026
- credentialScope: z.ZodOptional<z.ZodString>;
17027
- imageUrl: z.ZodOptional<z.ZodString>;
17028
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
17029
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17030
- }, z.core.$strip>>>;
17031
- externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17032
- id: z.ZodString;
17211
+ baseUrl: z.ZodString;
17212
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17033
17213
  name: z.ZodString;
17034
17214
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17035
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17036
- createdAt: z.ZodOptional<z.ZodString>;
17037
- updatedAt: z.ZodOptional<z.ZodString>;
17038
- baseUrl: z.ZodString;
17039
- }, z.core.$strip>>>;
17215
+ projectId: z.ZodString;
17216
+ tenantId: z.ZodString;
17217
+ id: z.ZodString;
17218
+ }>, z.core.$strip>>>;
17040
17219
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17041
17220
  id: z.ZodString;
17042
17221
  name: z.ZodString;
17043
17222
  description: z.ZodString;
17044
17223
  }, z.core.$strip>>>;
17045
- functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17046
- id: z.ZodString;
17047
- name: z.ZodString;
17048
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17224
+ functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
17049
17225
  createdAt: z.ZodOptional<z.ZodString>;
17050
17226
  updatedAt: z.ZodOptional<z.ZodString>;
17227
+ name: z.ZodString;
17228
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17051
17229
  functionId: z.ZodString;
17052
- }, z.core.$strip>>>;
17053
- functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17230
+ agentId: z.ZodString;
17231
+ projectId: z.ZodString;
17232
+ tenantId: z.ZodString;
17054
17233
  id: z.ZodString;
17234
+ }>, z.core.$strip>>>;
17235
+ functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
17055
17236
  createdAt: z.ZodOptional<z.ZodString>;
17056
17237
  updatedAt: z.ZodOptional<z.ZodString>;
17057
17238
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
17058
17239
  executeCode: z.ZodString;
17059
17240
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17060
- }, z.core.$strip>>>;
17241
+ projectId: z.ZodString;
17242
+ tenantId: z.ZodString;
17243
+ id: z.ZodString;
17244
+ }>, z.core.$strip>>>;
17061
17245
  contextConfig: z.ZodOptional<z.ZodObject<{
17062
17246
  id: z.ZodOptional<z.ZodString>;
17063
17247
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
@@ -17097,10 +17281,20 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
17097
17281
  }, z.core.$strip>>;
17098
17282
  prompt: z.ZodOptional<z.ZodString>;
17099
17283
  }, z.core.$strip>>;
17100
- tools: z.ZodRecord<z.ZodString, z.ZodObject<{
17101
- id: z.ZodString;
17284
+ tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
17285
+ createdAt: z.ZodOptional<z.ZodString>;
17286
+ updatedAt: z.ZodOptional<z.ZodString>;
17102
17287
  name: z.ZodString;
17103
17288
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17289
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17290
+ credentialScope: z.ZodOptional<z.ZodString>;
17291
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17292
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
17293
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17294
+ projectId: z.ZodString;
17295
+ tenantId: z.ZodString;
17296
+ id: z.ZodString;
17297
+ imageUrl: z.ZodOptional<z.ZodString>;
17104
17298
  config: z.ZodObject<{
17105
17299
  type: z.ZodLiteral<"mcp">;
17106
17300
  mcp: z.ZodObject<{
@@ -17120,35 +17314,29 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
17120
17314
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
17121
17315
  }, z.core.$strip>;
17122
17316
  }, z.core.$strip>;
17123
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17317
+ }>, z.core.$strip>>;
17318
+ functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
17124
17319
  createdAt: z.ZodOptional<z.ZodString>;
17125
17320
  updatedAt: z.ZodOptional<z.ZodString>;
17126
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17127
- credentialScope: z.ZodOptional<z.ZodString>;
17128
- imageUrl: z.ZodOptional<z.ZodString>;
17129
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
17130
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17131
- }, z.core.$strip>>;
17132
- functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17133
- id: z.ZodString;
17134
17321
  name: z.ZodString;
17135
17322
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17136
- createdAt: z.ZodOptional<z.ZodString>;
17137
- updatedAt: z.ZodOptional<z.ZodString>;
17138
17323
  functionId: z.ZodString;
17139
- }, z.core.$strip>>>;
17140
- functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17324
+ agentId: z.ZodString;
17325
+ projectId: z.ZodString;
17326
+ tenantId: z.ZodString;
17141
17327
  id: z.ZodString;
17328
+ }>, z.core.$strip>>>;
17329
+ functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
17142
17330
  createdAt: z.ZodOptional<z.ZodString>;
17143
17331
  updatedAt: z.ZodOptional<z.ZodString>;
17144
17332
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
17145
17333
  executeCode: z.ZodString;
17146
17334
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17147
- }, z.core.$strip>>>;
17148
- dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17335
+ projectId: z.ZodString;
17336
+ tenantId: z.ZodString;
17149
17337
  id: z.ZodString;
17150
- name: z.ZodString;
17151
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17338
+ }>, z.core.$strip>>>;
17339
+ dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
17152
17340
  createdAt: z.ZodOptional<z.ZodString>;
17153
17341
  updatedAt: z.ZodOptional<z.ZodString>;
17154
17342
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
@@ -17165,7 +17353,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
17165
17353
  component: string;
17166
17354
  mockData: Record<string, unknown>;
17167
17355
  }>>>>;
17168
- }, z.core.$strip>>>;
17356
+ name: z.ZodString;
17357
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17358
+ projectId: z.ZodString;
17359
+ tenantId: z.ZodString;
17360
+ id: z.ZodString;
17361
+ }>, z.core.$strip>>>;
17169
17362
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17170
17363
  id: z.ZodString;
17171
17364
  name: z.ZodString;
@@ -17188,15 +17381,17 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
17188
17381
  out: {};
17189
17382
  in: {};
17190
17383
  }>>>;
17191
- externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17192
- id: z.ZodString;
17193
- name: z.ZodString;
17194
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17195
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17384
+ externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
17196
17385
  createdAt: z.ZodOptional<z.ZodString>;
17197
17386
  updatedAt: z.ZodOptional<z.ZodString>;
17198
17387
  baseUrl: z.ZodString;
17199
- }, z.core.$strip>>>;
17388
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17389
+ name: z.ZodString;
17390
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17391
+ projectId: z.ZodString;
17392
+ tenantId: z.ZodString;
17393
+ id: z.ZodString;
17394
+ }>, z.core.$strip>>>;
17200
17395
  statusUpdates: z.ZodOptional<z.ZodObject<{
17201
17396
  enabled: z.ZodOptional<z.ZodBoolean>;
17202
17397
  numEvents: z.ZodOptional<z.ZodNumber>;
@@ -17298,10 +17493,20 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
17298
17493
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
17299
17494
  }, z.core.$strip>]>>>;
17300
17495
  }, z.core.$strip>>;
17301
- tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17302
- id: z.ZodString;
17496
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
17497
+ createdAt: z.ZodOptional<z.ZodString>;
17498
+ updatedAt: z.ZodOptional<z.ZodString>;
17303
17499
  name: z.ZodString;
17304
17500
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17501
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17502
+ credentialScope: z.ZodOptional<z.ZodString>;
17503
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17504
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
17505
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17506
+ projectId: z.ZodString;
17507
+ tenantId: z.ZodString;
17508
+ id: z.ZodString;
17509
+ imageUrl: z.ZodOptional<z.ZodString>;
17305
17510
  config: z.ZodObject<{
17306
17511
  type: z.ZodLiteral<"mcp">;
17307
17512
  mcp: z.ZodObject<{
@@ -17321,45 +17526,44 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
17321
17526
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
17322
17527
  }, z.core.$strip>;
17323
17528
  }, z.core.$strip>;
17324
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17529
+ }>, z.core.$strip>>>;
17530
+ externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
17325
17531
  createdAt: z.ZodOptional<z.ZodString>;
17326
17532
  updatedAt: z.ZodOptional<z.ZodString>;
17327
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17328
- credentialScope: z.ZodOptional<z.ZodString>;
17329
- imageUrl: z.ZodOptional<z.ZodString>;
17330
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
17331
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17332
- }, z.core.$strip>>>;
17333
- externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17334
- id: z.ZodString;
17533
+ baseUrl: z.ZodString;
17534
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17335
17535
  name: z.ZodString;
17336
17536
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17337
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17338
- createdAt: z.ZodOptional<z.ZodString>;
17339
- updatedAt: z.ZodOptional<z.ZodString>;
17340
- baseUrl: z.ZodString;
17341
- }, z.core.$strip>>>;
17537
+ projectId: z.ZodString;
17538
+ tenantId: z.ZodString;
17539
+ id: z.ZodString;
17540
+ }>, z.core.$strip>>>;
17342
17541
  teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17343
17542
  id: z.ZodString;
17344
17543
  name: z.ZodString;
17345
17544
  description: z.ZodString;
17346
17545
  }, z.core.$strip>>>;
17347
- functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17348
- id: z.ZodString;
17349
- name: z.ZodString;
17350
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17546
+ functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitAgentScope<{
17351
17547
  createdAt: z.ZodOptional<z.ZodString>;
17352
17548
  updatedAt: z.ZodOptional<z.ZodString>;
17549
+ name: z.ZodString;
17550
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17353
17551
  functionId: z.ZodString;
17354
- }, z.core.$strip>>>;
17355
- functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17552
+ agentId: z.ZodString;
17553
+ projectId: z.ZodString;
17554
+ tenantId: z.ZodString;
17356
17555
  id: z.ZodString;
17556
+ }>, z.core.$strip>>>;
17557
+ functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
17357
17558
  createdAt: z.ZodOptional<z.ZodString>;
17358
17559
  updatedAt: z.ZodOptional<z.ZodString>;
17359
17560
  inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
17360
17561
  executeCode: z.ZodString;
17361
17562
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17362
- }, z.core.$strip>>>;
17563
+ projectId: z.ZodString;
17564
+ tenantId: z.ZodString;
17565
+ id: z.ZodString;
17566
+ }>, z.core.$strip>>>;
17363
17567
  contextConfig: z.ZodOptional<z.ZodObject<{
17364
17568
  id: z.ZodOptional<z.ZodString>;
17365
17569
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
@@ -17534,24 +17738,30 @@ declare const McpToolListResponse: z.ZodObject<{
17534
17738
  }, z.core.$strip>;
17535
17739
  }, z.core.$strip>;
17536
17740
  declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
17537
- data: z.ZodObject<{
17538
- id: z.ZodString;
17741
+ data: z.ZodObject<OmitAgentScope<{
17539
17742
  createdAt: z.ZodString;
17540
17743
  updatedAt: z.ZodString;
17744
+ targetAgentId: z.ZodString;
17541
17745
  headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
17542
17746
  subAgentId: z.ZodString;
17543
- targetAgentId: z.ZodString;
17544
- }, z.core.$strip>;
17747
+ agentId: z.ZodString;
17748
+ projectId: z.ZodString;
17749
+ tenantId: z.ZodString;
17750
+ id: z.ZodString;
17751
+ }>, z.core.$strip>;
17545
17752
  }, z.core.$strip>;
17546
17753
  declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
17547
- data: z.ZodArray<z.ZodObject<{
17548
- id: z.ZodString;
17754
+ data: z.ZodArray<z.ZodObject<OmitAgentScope<{
17549
17755
  createdAt: z.ZodString;
17550
17756
  updatedAt: z.ZodString;
17757
+ targetAgentId: z.ZodString;
17551
17758
  headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
17552
17759
  subAgentId: z.ZodString;
17553
- targetAgentId: z.ZodString;
17554
- }, z.core.$strip>>;
17760
+ agentId: z.ZodString;
17761
+ projectId: z.ZodString;
17762
+ tenantId: z.ZodString;
17763
+ id: z.ZodString;
17764
+ }>, z.core.$strip>>;
17555
17765
  pagination: z.ZodObject<{
17556
17766
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
17557
17767
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -17560,24 +17770,30 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
17560
17770
  }, z.core.$strip>;
17561
17771
  }, z.core.$strip>;
17562
17772
  declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
17563
- data: z.ZodObject<{
17564
- id: z.ZodString;
17773
+ data: z.ZodObject<OmitAgentScope<{
17565
17774
  createdAt: z.ZodString;
17566
17775
  updatedAt: z.ZodString;
17567
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
17568
17776
  externalAgentId: z.ZodString;
17777
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
17569
17778
  subAgentId: z.ZodString;
17570
- }, z.core.$strip>;
17779
+ agentId: z.ZodString;
17780
+ projectId: z.ZodString;
17781
+ tenantId: z.ZodString;
17782
+ id: z.ZodString;
17783
+ }>, z.core.$strip>;
17571
17784
  }, z.core.$strip>;
17572
17785
  declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
17573
- data: z.ZodArray<z.ZodObject<{
17574
- id: z.ZodString;
17786
+ data: z.ZodArray<z.ZodObject<OmitAgentScope<{
17575
17787
  createdAt: z.ZodString;
17576
17788
  updatedAt: z.ZodString;
17577
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
17578
17789
  externalAgentId: z.ZodString;
17790
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
17579
17791
  subAgentId: z.ZodString;
17580
- }, z.core.$strip>>;
17792
+ agentId: z.ZodString;
17793
+ projectId: z.ZodString;
17794
+ tenantId: z.ZodString;
17795
+ id: z.ZodString;
17796
+ }>, z.core.$strip>>;
17581
17797
  pagination: z.ZodObject<{
17582
17798
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
17583
17799
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -17586,10 +17802,7 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
17586
17802
  }, z.core.$strip>;
17587
17803
  }, z.core.$strip>;
17588
17804
  declare const DataComponentArrayResponse: z.ZodObject<{
17589
- data: z.ZodArray<z.ZodObject<{
17590
- id: z.ZodString;
17591
- name: z.ZodString;
17592
- description: z.ZodNullable<z.ZodString>;
17805
+ data: z.ZodArray<z.ZodObject<OmitProjectScope<{
17593
17806
  createdAt: z.ZodString;
17594
17807
  updatedAt: z.ZodString;
17595
17808
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -17606,13 +17819,15 @@ declare const DataComponentArrayResponse: z.ZodObject<{
17606
17819
  component: string;
17607
17820
  mockData: Record<string, unknown>;
17608
17821
  }>>>;
17609
- }, z.core.$strip>>;
17610
- }, z.core.$strip>;
17611
- declare const ArtifactComponentArrayResponse: z.ZodObject<{
17612
- data: z.ZodArray<z.ZodObject<{
17613
- id: z.ZodString;
17614
17822
  name: z.ZodString;
17615
17823
  description: z.ZodNullable<z.ZodString>;
17824
+ projectId: z.ZodString;
17825
+ tenantId: z.ZodString;
17826
+ id: z.ZodString;
17827
+ }>, z.core.$strip>>;
17828
+ }, z.core.$strip>;
17829
+ declare const ArtifactComponentArrayResponse: z.ZodObject<{
17830
+ data: z.ZodArray<z.ZodObject<OmitProjectScope<{
17616
17831
  createdAt: z.ZodString;
17617
17832
  updatedAt: z.ZodString;
17618
17833
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
@@ -17629,7 +17844,12 @@ declare const ArtifactComponentArrayResponse: z.ZodObject<{
17629
17844
  component: string;
17630
17845
  mockData: Record<string, unknown>;
17631
17846
  }>>>;
17632
- }, z.core.$strip>>;
17847
+ name: z.ZodString;
17848
+ description: z.ZodNullable<z.ZodString>;
17849
+ projectId: z.ZodString;
17850
+ tenantId: z.ZodString;
17851
+ id: z.ZodString;
17852
+ }>, z.core.$strip>>;
17633
17853
  }, z.core.$strip>;
17634
17854
  declare const HeadersScopeSchema: z.ZodObject<{
17635
17855
  'x-inkeep-tenant-id': z.ZodOptional<z.ZodString>;