@inkeep/agents-core 0.0.0-dev-20251224012333 → 0.0.0-dev-20260102022857

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.
@@ -4,7 +4,7 @@ import "../index.js";
4
4
  import { ContextFetchDefinition, ConversationHistoryConfig, ConversationMetadata, MessageContent, MessageMetadata, TaskMetadataConfig, ToolMcpConfig, ToolServerCapabilities } from "../types/utility.js";
5
5
  import { z } from "@hono/zod-openapi";
6
6
  import * as drizzle_orm_pg_core495 from "drizzle-orm/pg-core";
7
- import * as drizzle_zod19 from "drizzle-zod";
7
+ import * as drizzle_zod15 from "drizzle-zod";
8
8
 
9
9
  //#region src/validation/schemas.d.ts
10
10
  declare const StopWhenSchema: z.ZodObject<{
@@ -63,7 +63,7 @@ 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
- declare const SubAgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
66
+ declare const SubAgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
67
67
  createdAt: drizzle_orm_pg_core495.PgColumn<{
68
68
  name: "created_at";
69
69
  tableName: "sub_agents";
@@ -314,7 +314,7 @@ declare const SubAgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
314
314
  }, {}, {
315
315
  length: 256;
316
316
  }>;
317
- }, drizzle_zod19.BuildRefine<{
317
+ }, drizzle_zod15.BuildRefine<{
318
318
  createdAt: drizzle_orm_pg_core495.PgColumn<{
319
319
  name: "created_at";
320
320
  tableName: "sub_agents";
@@ -643,11 +643,12 @@ declare const SubAgentUpdateSchema: z.ZodObject<{
643
643
  in: {};
644
644
  }>;
645
645
  declare const SubAgentApiSelectSchema: z.ZodObject<{
646
- name: z.ZodString;
647
646
  id: z.ZodString;
647
+ name: z.ZodString;
648
648
  createdAt: z.ZodString;
649
649
  updatedAt: z.ZodString;
650
650
  description: z.ZodNullable<z.ZodString>;
651
+ prompt: z.ZodNullable<z.ZodString>;
651
652
  models: z.ZodNullable<z.ZodType<{
652
653
  base?: {
653
654
  model?: string | undefined;
@@ -701,7 +702,6 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
701
702
  providerOptions?: Record<string, any> | undefined;
702
703
  } | undefined;
703
704
  }>>>;
704
- prompt: z.ZodNullable<z.ZodString>;
705
705
  stopWhen: z.ZodNullable<z.ZodType<{
706
706
  stepCountIs?: number | undefined;
707
707
  }, {
@@ -714,11 +714,12 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
714
714
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
715
715
  }, z.core.$strip>;
716
716
  declare const SubAgentApiInsertSchema: z.ZodObject<{
717
- name: z.ZodString;
718
717
  id: z.ZodString;
718
+ name: z.ZodString;
719
719
  createdAt: z.ZodOptional<z.ZodString>;
720
720
  updatedAt: z.ZodOptional<z.ZodString>;
721
721
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
722
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
722
723
  models: z.ZodOptional<z.ZodObject<{
723
724
  base: z.ZodOptional<z.ZodObject<{
724
725
  model: z.ZodOptional<z.ZodString>;
@@ -733,7 +734,6 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
733
734
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
734
735
  }, z.core.$strip>>;
735
736
  }, z.core.$strip>>;
736
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
737
737
  stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
738
738
  stepCountIs?: number | undefined;
739
739
  }, {
@@ -746,11 +746,12 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
746
746
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
747
747
  }, z.core.$strip>;
748
748
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
749
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
750
749
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
750
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
751
751
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
752
752
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
753
753
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
754
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
754
755
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
755
756
  base: z.ZodOptional<z.ZodObject<{
756
757
  model: z.ZodOptional<z.ZodString>;
@@ -765,7 +766,6 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
765
766
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
766
767
  }, z.core.$strip>>;
767
768
  }, z.core.$strip>>>>;
768
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
769
769
  stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
770
770
  stepCountIs?: number | undefined;
771
771
  }, {
@@ -777,7 +777,7 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
777
777
  }>>>>>>;
778
778
  conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
779
779
  }, z.core.$strip>;
780
- declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
780
+ declare const SubAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
781
781
  createdAt: drizzle_orm_pg_core495.PgColumn<{
782
782
  name: "created_at";
783
783
  tableName: "sub_agent_relations";
@@ -945,7 +945,7 @@ declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select",
945
945
  }, {}, {
946
946
  length: 256;
947
947
  }>;
948
- }, drizzle_zod19.BuildRefine<{
948
+ }, drizzle_zod15.BuildRefine<{
949
949
  createdAt: drizzle_orm_pg_core495.PgColumn<{
950
950
  name: "created_at";
951
951
  tableName: "sub_agent_relations";
@@ -1211,7 +1211,7 @@ declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<{
1211
1211
  relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1212
1212
  externalSubAgentId: z.ZodString;
1213
1213
  }, z.core.$strip>;
1214
- declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1214
+ declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
1215
1215
  createdAt: drizzle_orm_pg_core495.PgColumn<{
1216
1216
  name: "created_at";
1217
1217
  tableName: "agent";
@@ -1509,7 +1509,7 @@ declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1509
1509
  }, {}, {
1510
1510
  length: 256;
1511
1511
  }>;
1512
- }, drizzle_zod19.BuildRefine<{
1512
+ }, drizzle_zod15.BuildRefine<{
1513
1513
  createdAt: drizzle_orm_pg_core495.PgColumn<{
1514
1514
  name: "created_at";
1515
1515
  tableName: "agent";
@@ -1808,7 +1808,7 @@ declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1808
1808
  length: 256;
1809
1809
  }>;
1810
1810
  }, undefined>, undefined>;
1811
- declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
1811
+ declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
1812
1812
  createdAt: drizzle_orm_pg_core495.PgColumn<{
1813
1813
  name: "created_at";
1814
1814
  tableName: "agent";
@@ -2106,7 +2106,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2106
2106
  }, {}, {
2107
2107
  length: 256;
2108
2108
  }>;
2109
- }, drizzle_zod19.BuildRefine<Pick<{
2109
+ }, drizzle_zod15.BuildRefine<Pick<{
2110
2110
  createdAt: drizzle_orm_pg_core495.PgColumn<{
2111
2111
  name: "created_at";
2112
2112
  tableName: "agent";
@@ -2404,7 +2404,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2404
2404
  }, {}, {
2405
2405
  length: 256;
2406
2406
  }>;
2407
- }, "name" | "id" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "description" | "defaultSubAgentId" | "contextConfigId" | "models" | "prompt" | "statusUpdates" | "stopWhen">, undefined>, undefined>;
2407
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "tenantId" | "projectId" | "prompt" | "models" | "stopWhen" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2408
2408
  declare const AgentUpdateSchema: z.ZodObject<{
2409
2409
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2410
2410
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2540,13 +2540,12 @@ declare const AgentUpdateSchema: z.ZodObject<{
2540
2540
  in: {};
2541
2541
  }>;
2542
2542
  declare const AgentApiSelectSchema: z.ZodObject<{
2543
- name: z.ZodString;
2544
2543
  id: z.ZodString;
2544
+ name: z.ZodString;
2545
2545
  createdAt: z.ZodString;
2546
2546
  updatedAt: z.ZodString;
2547
2547
  description: z.ZodNullable<z.ZodString>;
2548
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
2549
- contextConfigId: z.ZodNullable<z.ZodString>;
2548
+ prompt: z.ZodNullable<z.ZodString>;
2550
2549
  models: z.ZodNullable<z.ZodType<{
2551
2550
  base?: {
2552
2551
  model?: string | undefined;
@@ -2600,7 +2599,17 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2600
2599
  providerOptions?: Record<string, any> | undefined;
2601
2600
  } | undefined;
2602
2601
  }>>>;
2603
- prompt: z.ZodNullable<z.ZodString>;
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>;
2604
2613
  statusUpdates: z.ZodNullable<z.ZodType<{
2605
2614
  enabled?: boolean | undefined;
2606
2615
  numEvents?: number | undefined;
@@ -2658,23 +2667,13 @@ declare const AgentApiSelectSchema: z.ZodObject<{
2658
2667
  } | undefined;
2659
2668
  }[] | undefined;
2660
2669
  }>>>;
2661
- stopWhen: z.ZodNullable<z.ZodType<{
2662
- transferCountIs?: number | undefined;
2663
- }, {
2664
- transferCountIs?: number | undefined;
2665
- }, z.core.$ZodTypeInternals<{
2666
- transferCountIs?: number | undefined;
2667
- }, {
2668
- transferCountIs?: number | undefined;
2669
- }>>>;
2670
2670
  }, z.core.$strip>;
2671
2671
  declare const AgentApiInsertSchema: z.ZodObject<{
2672
2672
  name: z.ZodString;
2673
2673
  createdAt: z.ZodOptional<z.ZodString>;
2674
2674
  updatedAt: z.ZodOptional<z.ZodString>;
2675
2675
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2676
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2677
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2676
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2678
2677
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2679
2678
  base?: {
2680
2679
  model?: string | undefined;
@@ -2728,7 +2727,17 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2728
2727
  providerOptions?: Record<string, any> | undefined;
2729
2728
  } | undefined;
2730
2729
  }>>>>;
2731
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2730
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2731
+ transferCountIs?: number | undefined;
2732
+ }, {
2733
+ transferCountIs?: number | undefined;
2734
+ }, z.core.$ZodTypeInternals<{
2735
+ transferCountIs?: number | undefined;
2736
+ }, {
2737
+ transferCountIs?: number | undefined;
2738
+ }>>>>;
2739
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2740
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2732
2741
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2733
2742
  enabled?: boolean | undefined;
2734
2743
  numEvents?: number | undefined;
@@ -2786,25 +2795,15 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2786
2795
  } | undefined;
2787
2796
  }[] | undefined;
2788
2797
  }>>>>;
2789
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
2790
- transferCountIs?: number | undefined;
2791
- }, {
2792
- transferCountIs?: number | undefined;
2793
- }, z.core.$ZodTypeInternals<{
2794
- transferCountIs?: number | undefined;
2795
- }, {
2796
- transferCountIs?: number | undefined;
2797
- }>>>>;
2798
2798
  id: z.ZodString;
2799
2799
  }, z.core.$strip>;
2800
2800
  declare const AgentApiUpdateSchema: z.ZodObject<{
2801
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2802
2801
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2802
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2803
2803
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2804
2804
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2805
2805
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2806
- defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2807
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2806
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2808
2807
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2809
2808
  base?: {
2810
2809
  model?: string | undefined;
@@ -2858,7 +2857,17 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2858
2857
  providerOptions?: Record<string, any> | undefined;
2859
2858
  } | undefined;
2860
2859
  }>>>>>>;
2861
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2860
+ stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2861
+ transferCountIs?: number | undefined;
2862
+ }, {
2863
+ transferCountIs?: number | undefined;
2864
+ }, z.core.$ZodTypeInternals<{
2865
+ transferCountIs?: number | undefined;
2866
+ }, {
2867
+ transferCountIs?: number | undefined;
2868
+ }>>>>>>;
2869
+ defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2870
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2862
2871
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2863
2872
  enabled?: boolean | undefined;
2864
2873
  numEvents?: number | undefined;
@@ -2916,17 +2925,8 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2916
2925
  } | undefined;
2917
2926
  }[] | undefined;
2918
2927
  }>>>>>>;
2919
- stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2920
- transferCountIs?: number | undefined;
2921
- }, {
2922
- transferCountIs?: number | undefined;
2923
- }, z.core.$ZodTypeInternals<{
2924
- transferCountIs?: number | undefined;
2925
- }, {
2926
- transferCountIs?: number | undefined;
2927
- }>>>>>>;
2928
2928
  }, z.core.$strip>;
2929
- declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
2929
+ declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
2930
2930
  createdAt: drizzle_orm_pg_core495.PgColumn<{
2931
2931
  name: "created_at";
2932
2932
  tableName: "tasks";
@@ -3113,7 +3113,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
3113
3113
  }, {}, {
3114
3114
  length: 256;
3115
3115
  }>;
3116
- }, drizzle_zod19.BuildRefine<{
3116
+ }, drizzle_zod15.BuildRefine<{
3117
3117
  createdAt: drizzle_orm_pg_core495.PgColumn<{
3118
3118
  name: "created_at";
3119
3119
  tableName: "tasks";
@@ -3337,9 +3337,9 @@ declare const TaskApiSelectSchema: z.ZodObject<{
3337
3337
  id: z.ZodString;
3338
3338
  createdAt: z.ZodString;
3339
3339
  updatedAt: z.ZodString;
3340
- agentId: z.ZodString;
3341
3340
  metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
3342
3341
  status: z.ZodString;
3342
+ agentId: z.ZodString;
3343
3343
  contextId: z.ZodString;
3344
3344
  subAgentId: z.ZodString;
3345
3345
  }, z.core.$strip>;
@@ -3347,9 +3347,9 @@ declare const TaskApiInsertSchema: z.ZodObject<{
3347
3347
  id: z.ZodString;
3348
3348
  createdAt: z.ZodOptional<z.ZodString>;
3349
3349
  updatedAt: z.ZodOptional<z.ZodString>;
3350
- agentId: z.ZodString;
3351
3350
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
3352
3351
  status: z.ZodString;
3352
+ agentId: z.ZodString;
3353
3353
  conversationId: z.ZodOptional<z.ZodString>;
3354
3354
  contextId: z.ZodString;
3355
3355
  subAgentId: z.ZodString;
@@ -3358,14 +3358,14 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
3358
3358
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3359
3359
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3360
3360
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3361
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3362
3361
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
3363
3362
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3363
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3364
3364
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3365
3365
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3366
3366
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3367
3367
  }, z.core.$strip>;
3368
- declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
3368
+ declare const TaskRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
3369
3369
  createdAt: drizzle_orm_pg_core495.PgColumn<{
3370
3370
  name: "created_at";
3371
3371
  tableName: "task_relations";
@@ -3514,7 +3514,7 @@ declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
3514
3514
  }, {}, {
3515
3515
  length: 256;
3516
3516
  }>;
3517
- }, drizzle_zod19.BuildRefine<{
3517
+ }, drizzle_zod15.BuildRefine<{
3518
3518
  createdAt: drizzle_orm_pg_core495.PgColumn<{
3519
3519
  name: "created_at";
3520
3520
  tableName: "task_relations";
@@ -3735,7 +3735,7 @@ declare const McpToolDefinitionSchema: z.ZodObject<{
3735
3735
  description: z.ZodOptional<z.ZodString>;
3736
3736
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3737
3737
  }, z.core.$strip>;
3738
- declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
3738
+ declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
3739
3739
  createdAt: drizzle_orm_pg_core495.PgColumn<{
3740
3740
  name: "created_at";
3741
3741
  tableName: "tools";
@@ -3998,7 +3998,7 @@ declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
3998
3998
  }, {}, {
3999
3999
  length: 256;
4000
4000
  }>;
4001
- }, drizzle_zod19.BuildRefine<{
4001
+ }, drizzle_zod15.BuildRefine<{
4002
4002
  createdAt: drizzle_orm_pg_core495.PgColumn<{
4003
4003
  name: "created_at";
4004
4004
  tableName: "tools";
@@ -4299,7 +4299,7 @@ declare const ToolInsertSchema: z.ZodObject<{
4299
4299
  out: {};
4300
4300
  in: {};
4301
4301
  }>;
4302
- declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
4302
+ declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
4303
4303
  createdAt: drizzle_orm_pg_core495.PgColumn<{
4304
4304
  name: "created_at";
4305
4305
  tableName: "conversations";
@@ -4482,7 +4482,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
4482
4482
  }, {}, {
4483
4483
  length: 256;
4484
4484
  }>;
4485
- }, drizzle_zod19.BuildRefine<{
4485
+ }, drizzle_zod15.BuildRefine<{
4486
4486
  createdAt: drizzle_orm_pg_core495.PgColumn<{
4487
4487
  name: "created_at";
4488
4488
  tableName: "conversations";
@@ -4702,9 +4702,9 @@ declare const ConversationApiSelectSchema: z.ZodObject<{
4702
4702
  id: z.ZodString;
4703
4703
  createdAt: z.ZodString;
4704
4704
  updatedAt: z.ZodString;
4705
- title: z.ZodNullable<z.ZodString>;
4706
- metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
4707
4705
  userId: z.ZodNullable<z.ZodString>;
4706
+ metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
4707
+ title: z.ZodNullable<z.ZodString>;
4708
4708
  activeSubAgentId: z.ZodString;
4709
4709
  lastContextResolution: z.ZodNullable<z.ZodString>;
4710
4710
  }, z.core.$strip>;
@@ -4712,10 +4712,10 @@ declare const ConversationApiInsertSchema: z.ZodObject<{
4712
4712
  id: z.ZodString;
4713
4713
  createdAt: z.ZodOptional<z.ZodString>;
4714
4714
  updatedAt: z.ZodOptional<z.ZodString>;
4715
- contextConfigId: z.ZodOptional<z.ZodString>;
4716
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4717
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
4718
4715
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4716
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
4717
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4718
+ contextConfigId: z.ZodOptional<z.ZodString>;
4719
4719
  activeSubAgentId: z.ZodString;
4720
4720
  lastContextResolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4721
4721
  }, z.core.$strip>;
@@ -4723,14 +4723,14 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
4723
4723
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4724
4724
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4725
4725
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4726
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4727
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4728
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
4729
4726
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4727
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
4728
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4729
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4730
4730
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4731
4731
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4732
4732
  }, z.core.$strip>;
4733
- declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
4733
+ declare const MessageSelectSchema: drizzle_zod15.BuildSchema<"select", {
4734
4734
  createdAt: drizzle_orm_pg_core495.PgColumn<{
4735
4735
  name: "created_at";
4736
4736
  tableName: "messages";
@@ -5126,7 +5126,7 @@ declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
5126
5126
  }, {}, {
5127
5127
  length: 256;
5128
5128
  }>;
5129
- }, drizzle_zod19.BuildRefine<{
5129
+ }, drizzle_zod15.BuildRefine<{
5130
5130
  createdAt: drizzle_orm_pg_core495.PgColumn<{
5131
5131
  name: "created_at";
5132
5132
  tableName: "messages";
@@ -5580,8 +5580,8 @@ declare const MessageApiSelectSchema: z.ZodObject<{
5580
5580
  createdAt: z.ZodString;
5581
5581
  updatedAt: z.ZodString;
5582
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
5583
  role: z.ZodString;
5584
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
5585
5585
  conversationId: z.ZodString;
5586
5586
  fromSubAgentId: z.ZodNullable<z.ZodString>;
5587
5587
  toSubAgentId: z.ZodNullable<z.ZodString>;
@@ -5601,8 +5601,8 @@ declare const MessageApiInsertSchema: z.ZodObject<{
5601
5601
  createdAt: z.ZodOptional<z.ZodString>;
5602
5602
  updatedAt: z.ZodOptional<z.ZodString>;
5603
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
5604
  role: z.ZodString;
5605
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
5606
5606
  conversationId: z.ZodString;
5607
5607
  fromSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5608
5608
  toSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5622,8 +5622,8 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
5622
5622
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5623
5623
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5624
5624
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
5625
- content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
5626
5625
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5626
+ content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
5627
5627
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5628
5628
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5629
5629
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -5638,7 +5638,7 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
5638
5638
  a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5639
5639
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5640
5640
  }, z.core.$strip>;
5641
- declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
5641
+ declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
5642
5642
  createdAt: drizzle_orm_pg_core495.PgColumn<{
5643
5643
  name: "created_at";
5644
5644
  tableName: "context_cache";
@@ -5878,7 +5878,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
5878
5878
  }, {}, {
5879
5879
  length: 256;
5880
5880
  }>;
5881
- }, drizzle_zod19.BuildRefine<{
5881
+ }, drizzle_zod15.BuildRefine<{
5882
5882
  createdAt: drizzle_orm_pg_core495.PgColumn<{
5883
5883
  name: "created_at";
5884
5884
  tableName: "context_cache";
@@ -6119,7 +6119,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
6119
6119
  length: 256;
6120
6120
  }>;
6121
6121
  }, undefined>, undefined>;
6122
- declare const ContextCacheInsertSchema: drizzle_zod19.BuildSchema<"insert", {
6122
+ declare const ContextCacheInsertSchema: drizzle_zod15.BuildSchema<"insert", {
6123
6123
  createdAt: drizzle_orm_pg_core495.PgColumn<{
6124
6124
  name: "created_at";
6125
6125
  tableName: "context_cache";
@@ -6359,7 +6359,7 @@ declare const ContextCacheInsertSchema: drizzle_zod19.BuildSchema<"insert", {
6359
6359
  }, {}, {
6360
6360
  length: 256;
6361
6361
  }>;
6362
- }, drizzle_zod19.BuildRefine<Pick<{
6362
+ }, drizzle_zod15.BuildRefine<Pick<{
6363
6363
  createdAt: drizzle_orm_pg_core495.PgColumn<{
6364
6364
  name: "created_at";
6365
6365
  tableName: "context_cache";
@@ -6599,14 +6599,14 @@ declare const ContextCacheInsertSchema: drizzle_zod19.BuildSchema<"insert", {
6599
6599
  }, {}, {
6600
6600
  length: 256;
6601
6601
  }>;
6602
- }, "value" | "id" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "contextConfigId" | "conversationId" | "contextVariableKey" | "requestHash" | "fetchedAt" | "fetchSource" | "fetchDurationMs">, undefined>, undefined>;
6602
+ }, "id" | "createdAt" | "updatedAt" | "value" | "tenantId" | "projectId" | "contextConfigId" | "conversationId" | "contextVariableKey" | "requestHash" | "fetchedAt" | "fetchSource" | "fetchDurationMs">, undefined>, undefined>;
6603
6603
  declare const ContextCacheUpdateSchema: z.ZodObject<{
6604
6604
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6605
6605
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6606
6606
  conversationId: z.ZodOptional<z.ZodString>;
6607
6607
  contextConfigId: z.ZodOptional<z.ZodString>;
6608
6608
  contextVariableKey: z.ZodOptional<z.ZodString>;
6609
- value: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
6609
+ value: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
6610
6610
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
6611
6611
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6612
6612
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -6619,10 +6619,10 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
6619
6619
  in: {};
6620
6620
  }>;
6621
6621
  declare const ContextCacheApiSelectSchema: z.ZodObject<{
6622
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
6623
6622
  id: z.ZodString;
6624
6623
  createdAt: z.ZodString;
6625
6624
  updatedAt: z.ZodString;
6625
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
6626
6626
  contextConfigId: z.ZodString;
6627
6627
  conversationId: z.ZodString;
6628
6628
  contextVariableKey: z.ZodString;
@@ -6632,10 +6632,10 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<{
6632
6632
  fetchDurationMs: z.ZodNullable<z.ZodInt>;
6633
6633
  }, z.core.$strip>;
6634
6634
  declare const ContextCacheApiInsertSchema: z.ZodObject<{
6635
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
6636
6635
  id: z.ZodString;
6637
6636
  createdAt: z.ZodOptional<z.ZodString>;
6638
6637
  updatedAt: z.ZodOptional<z.ZodString>;
6638
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
6639
6639
  contextConfigId: z.ZodString;
6640
6640
  conversationId: z.ZodString;
6641
6641
  contextVariableKey: z.ZodString;
@@ -6645,10 +6645,10 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<{
6645
6645
  fetchDurationMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
6646
6646
  }, z.core.$strip>;
6647
6647
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
6648
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
6649
6648
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6650
6649
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6651
6650
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6651
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
6652
6652
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6653
6653
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6654
6654
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6657,7 +6657,7 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
6657
6657
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6658
6658
  fetchDurationMs: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodInt>>>>;
6659
6659
  }, z.core.$strip>;
6660
- declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
6660
+ declare const DataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
6661
6661
  createdAt: drizzle_orm_pg_core495.PgColumn<{
6662
6662
  name: "created_at";
6663
6663
  tableName: "data_components";
@@ -6829,7 +6829,7 @@ declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
6829
6829
  }, {}, {
6830
6830
  length: 256;
6831
6831
  }>;
6832
- }, drizzle_zod19.BuildRefine<{
6832
+ }, drizzle_zod15.BuildRefine<{
6833
6833
  createdAt: drizzle_orm_pg_core495.PgColumn<{
6834
6834
  name: "created_at";
6835
6835
  tableName: "data_components";
@@ -7029,11 +7029,11 @@ declare const DataComponentInsertSchema: z.ZodObject<{
7029
7029
  in: {};
7030
7030
  }>;
7031
7031
  declare const DataComponentBaseSchema: z.ZodObject<{
7032
- name: z.ZodString;
7033
7032
  id: z.ZodString;
7034
- projectId: z.ZodString;
7035
- tenantId: z.ZodString;
7033
+ name: z.ZodString;
7036
7034
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7035
+ tenantId: z.ZodString;
7036
+ projectId: z.ZodString;
7037
7037
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
7038
7038
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
7039
7039
  component: string;
@@ -7079,8 +7079,8 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
7079
7079
  in: {};
7080
7080
  }>;
7081
7081
  declare const DataComponentApiSelectSchema: z.ZodObject<{
7082
- name: z.ZodString;
7083
7082
  id: z.ZodString;
7083
+ name: z.ZodString;
7084
7084
  createdAt: z.ZodString;
7085
7085
  updatedAt: z.ZodString;
7086
7086
  description: z.ZodNullable<z.ZodString>;
@@ -7100,8 +7100,8 @@ declare const DataComponentApiSelectSchema: z.ZodObject<{
7100
7100
  }>>>;
7101
7101
  }, z.core.$strip>;
7102
7102
  declare const DataComponentApiInsertSchema: z.ZodObject<{
7103
- name: z.ZodString;
7104
7103
  id: z.ZodString;
7104
+ name: z.ZodString;
7105
7105
  createdAt: z.ZodOptional<z.ZodString>;
7106
7106
  updatedAt: z.ZodOptional<z.ZodString>;
7107
7107
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -7121,8 +7121,8 @@ declare const DataComponentApiInsertSchema: z.ZodObject<{
7121
7121
  }>>>>;
7122
7122
  }, z.core.$strip>;
7123
7123
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
7124
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7125
7124
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7125
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7126
7126
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7127
7127
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7128
7128
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -7141,7 +7141,7 @@ declare const DataComponentApiUpdateSchema: z.ZodObject<{
7141
7141
  mockData: Record<string, unknown>;
7142
7142
  }>>>>>>;
7143
7143
  }, z.core.$strip>;
7144
- declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
7144
+ declare const SubAgentDataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
7145
7145
  dataComponentId: drizzle_orm_pg_core495.PgColumn<{
7146
7146
  name: "data_component_id";
7147
7147
  tableName: "sub_agent_data_components";
@@ -7273,7 +7273,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"sele
7273
7273
  }, {}, {
7274
7274
  length: 256;
7275
7275
  }>;
7276
- }, drizzle_zod19.BuildRefine<{
7276
+ }, drizzle_zod15.BuildRefine<{
7277
7277
  dataComponentId: drizzle_orm_pg_core495.PgColumn<{
7278
7278
  name: "data_component_id";
7279
7279
  tableName: "sub_agent_data_components";
@@ -7406,7 +7406,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"sele
7406
7406
  length: 256;
7407
7407
  }>;
7408
7408
  }, undefined>, undefined>;
7409
- declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
7409
+ declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
7410
7410
  dataComponentId: drizzle_orm_pg_core495.PgColumn<{
7411
7411
  name: "data_component_id";
7412
7412
  tableName: "sub_agent_data_components";
@@ -7538,7 +7538,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
7538
7538
  }, {}, {
7539
7539
  length: 256;
7540
7540
  }>;
7541
- }, drizzle_zod19.BuildRefine<Pick<{
7541
+ }, drizzle_zod15.BuildRefine<Pick<{
7542
7542
  dataComponentId: drizzle_orm_pg_core495.PgColumn<{
7543
7543
  name: "data_component_id";
7544
7544
  tableName: "sub_agent_data_components";
@@ -7670,7 +7670,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
7670
7670
  }, {}, {
7671
7671
  length: 256;
7672
7672
  }>;
7673
- }, "id" | "createdAt" | "agentId" | "projectId" | "tenantId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
7673
+ }, "id" | "createdAt" | "tenantId" | "projectId" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
7674
7674
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
7675
7675
  dataComponentId: z.ZodOptional<z.ZodString>;
7676
7676
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -7703,7 +7703,7 @@ declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{
7703
7703
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7704
7704
  dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7705
7705
  }, z.core.$strip>;
7706
- declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
7706
+ declare const ArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
7707
7707
  createdAt: drizzle_orm_pg_core495.PgColumn<{
7708
7708
  name: "created_at";
7709
7709
  tableName: "artifact_components";
@@ -7850,7 +7850,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select",
7850
7850
  }, {}, {
7851
7851
  length: 256;
7852
7852
  }>;
7853
- }, drizzle_zod19.BuildRefine<{
7853
+ }, drizzle_zod15.BuildRefine<{
7854
7854
  createdAt: drizzle_orm_pg_core495.PgColumn<{
7855
7855
  name: "created_at";
7856
7856
  tableName: "artifact_components";
@@ -8025,16 +8025,16 @@ declare const ArtifactComponentUpdateSchema: z.ZodObject<{
8025
8025
  in: {};
8026
8026
  }>;
8027
8027
  declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
8028
- name: z.ZodString;
8029
8028
  id: z.ZodString;
8029
+ name: z.ZodString;
8030
8030
  createdAt: z.ZodString;
8031
8031
  updatedAt: z.ZodString;
8032
8032
  description: z.ZodNullable<z.ZodString>;
8033
8033
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
8034
8034
  }, z.core.$strip>;
8035
8035
  declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
8036
- name: z.ZodString;
8037
8036
  id: z.ZodString;
8037
+ name: z.ZodString;
8038
8038
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8039
8039
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
8040
8040
  }, {
@@ -8042,14 +8042,14 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
8042
8042
  in: {};
8043
8043
  }>;
8044
8044
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
8045
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8046
8045
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8046
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8047
8047
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8048
8048
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8049
8049
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8050
8050
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
8051
8051
  }, z.core.$strip>;
8052
- declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
8052
+ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
8053
8053
  artifactComponentId: drizzle_orm_pg_core495.PgColumn<{
8054
8054
  name: "artifact_component_id";
8055
8055
  tableName: "sub_agent_artifact_components";
@@ -8181,7 +8181,7 @@ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"
8181
8181
  }, {}, {
8182
8182
  length: 256;
8183
8183
  }>;
8184
- }, drizzle_zod19.BuildRefine<{
8184
+ }, drizzle_zod15.BuildRefine<{
8185
8185
  artifactComponentId: drizzle_orm_pg_core495.PgColumn<{
8186
8186
  name: "artifact_component_id";
8187
8187
  tableName: "sub_agent_artifact_components";
@@ -8401,8 +8401,8 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
8401
8401
  in: {};
8402
8402
  }>;
8403
8403
  declare const ExternalAgentApiSelectSchema: z.ZodObject<{
8404
- name: z.ZodString;
8405
8404
  id: z.ZodString;
8405
+ name: z.ZodString;
8406
8406
  createdAt: z.ZodString;
8407
8407
  updatedAt: z.ZodString;
8408
8408
  description: z.ZodNullable<z.ZodString>;
@@ -8410,8 +8410,8 @@ declare const ExternalAgentApiSelectSchema: z.ZodObject<{
8410
8410
  baseUrl: z.ZodString;
8411
8411
  }, z.core.$strip>;
8412
8412
  declare const ExternalAgentApiInsertSchema: z.ZodObject<{
8413
- name: z.ZodString;
8414
8413
  id: z.ZodString;
8414
+ name: z.ZodString;
8415
8415
  createdAt: z.ZodOptional<z.ZodString>;
8416
8416
  updatedAt: z.ZodOptional<z.ZodString>;
8417
8417
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8419,8 +8419,8 @@ declare const ExternalAgentApiInsertSchema: z.ZodObject<{
8419
8419
  baseUrl: z.ZodString;
8420
8420
  }, z.core.$strip>;
8421
8421
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
8422
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8423
8422
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8423
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8424
8424
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8425
8425
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8426
8426
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -8428,11 +8428,12 @@ declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
8428
8428
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8429
8429
  }, z.core.$strip>;
8430
8430
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8431
- name: z.ZodString;
8432
8431
  id: z.ZodString;
8432
+ name: z.ZodString;
8433
8433
  createdAt: z.ZodString;
8434
8434
  updatedAt: z.ZodString;
8435
8435
  description: z.ZodNullable<z.ZodString>;
8436
+ prompt: z.ZodNullable<z.ZodString>;
8436
8437
  models: z.ZodNullable<z.ZodType<{
8437
8438
  base?: {
8438
8439
  model?: string | undefined;
@@ -8486,7 +8487,6 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8486
8487
  providerOptions?: Record<string, any> | undefined;
8487
8488
  } | undefined;
8488
8489
  }>>>;
8489
- prompt: z.ZodNullable<z.ZodString>;
8490
8490
  stopWhen: z.ZodNullable<z.ZodType<{
8491
8491
  stepCountIs?: number | undefined;
8492
8492
  }, {
@@ -8499,8 +8499,8 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8499
8499
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
8500
8500
  type: z.ZodLiteral<"internal">;
8501
8501
  }, z.core.$strip>, z.ZodObject<{
8502
- name: z.ZodString;
8503
8502
  id: z.ZodString;
8503
+ name: z.ZodString;
8504
8504
  createdAt: z.ZodString;
8505
8505
  updatedAt: z.ZodString;
8506
8506
  description: z.ZodNullable<z.ZodString>;
@@ -8508,7 +8508,7 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8508
8508
  baseUrl: z.ZodString;
8509
8509
  type: z.ZodLiteral<"external">;
8510
8510
  }, z.core.$strip>], "type">;
8511
- declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
8511
+ declare const ApiKeySelectSchema: drizzle_zod15.BuildSchema<"select", {
8512
8512
  createdAt: drizzle_orm_pg_core495.PgColumn<{
8513
8513
  name: "created_at";
8514
8514
  tableName: "api_keys";
@@ -8729,7 +8729,7 @@ declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
8729
8729
  }, {}, {
8730
8730
  length: 256;
8731
8731
  }>;
8732
- }, drizzle_zod19.BuildRefine<{
8732
+ }, drizzle_zod15.BuildRefine<{
8733
8733
  createdAt: drizzle_orm_pg_core495.PgColumn<{
8734
8734
  name: "created_at";
8735
8735
  tableName: "api_keys";
@@ -8971,20 +8971,20 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
8971
8971
  declare const ApiKeyUpdateSchema: z.ZodObject<{
8972
8972
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8973
8973
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8974
- agentId: z.ZodOptional<z.ZodString>;
8975
8974
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8975
+ agentId: z.ZodOptional<z.ZodString>;
8976
8976
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8977
8977
  }, {
8978
8978
  out: {};
8979
8979
  in: {};
8980
8980
  }>;
8981
8981
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
8982
- name: z.ZodNullable<z.ZodString>;
8983
8982
  id: z.ZodString;
8983
+ name: z.ZodNullable<z.ZodString>;
8984
8984
  createdAt: z.ZodString;
8985
8985
  updatedAt: z.ZodString;
8986
- agentId: z.ZodString;
8987
8986
  expiresAt: z.ZodNullable<z.ZodString>;
8987
+ agentId: z.ZodString;
8988
8988
  publicId: z.ZodString;
8989
8989
  keyPrefix: z.ZodString;
8990
8990
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -8995,12 +8995,12 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
8995
8995
  declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
8996
8996
  data: z.ZodObject<{
8997
8997
  apiKey: z.ZodObject<{
8998
- name: z.ZodNullable<z.ZodString>;
8999
8998
  id: z.ZodString;
8999
+ name: z.ZodNullable<z.ZodString>;
9000
9000
  createdAt: z.ZodString;
9001
9001
  updatedAt: z.ZodString;
9002
- agentId: z.ZodString;
9003
9002
  expiresAt: z.ZodNullable<z.ZodString>;
9003
+ agentId: z.ZodString;
9004
9004
  publicId: z.ZodString;
9005
9005
  keyPrefix: z.ZodString;
9006
9006
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -9015,8 +9015,8 @@ declare const ApiKeyApiInsertSchema: z.ZodObject<{
9015
9015
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9016
9016
  createdAt: z.ZodOptional<z.ZodString>;
9017
9017
  updatedAt: z.ZodOptional<z.ZodString>;
9018
- agentId: z.ZodString;
9019
9018
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9019
+ agentId: z.ZodString;
9020
9020
  }, {
9021
9021
  out: {};
9022
9022
  in: {};
@@ -9024,14 +9024,14 @@ declare const ApiKeyApiInsertSchema: z.ZodObject<{
9024
9024
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
9025
9025
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9026
9026
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9027
- agentId: z.ZodOptional<z.ZodString>;
9028
9027
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9028
+ agentId: z.ZodOptional<z.ZodString>;
9029
9029
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9030
9030
  }, {
9031
9031
  out: {};
9032
9032
  in: {};
9033
9033
  }>;
9034
- declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select", {
9034
+ declare const CredentialReferenceSelectSchema: drizzle_zod15.BuildSchema<"select", {
9035
9035
  createdAt: drizzle_orm_pg_core495.PgColumn<{
9036
9036
  name: "created_at";
9037
9037
  tableName: "credential_references";
@@ -9256,7 +9256,7 @@ declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select
9256
9256
  }, {}, {
9257
9257
  length: 256;
9258
9258
  }>;
9259
- }, drizzle_zod19.BuildRefine<{
9259
+ }, drizzle_zod15.BuildRefine<{
9260
9260
  createdAt: drizzle_orm_pg_core495.PgColumn<{
9261
9261
  name: "created_at";
9262
9262
  tableName: "credential_references";
@@ -9517,8 +9517,8 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
9517
9517
  in: {};
9518
9518
  }>;
9519
9519
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
9520
- name: z.ZodString;
9521
9520
  id: z.ZodString;
9521
+ name: z.ZodString;
9522
9522
  createdAt: z.ZodString;
9523
9523
  updatedAt: z.ZodString;
9524
9524
  userId: z.ZodNullable<z.ZodString>;
@@ -9531,7 +9531,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
9531
9531
  readonly keychain: "keychain";
9532
9532
  readonly nango: "nango";
9533
9533
  }>;
9534
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
9534
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
9535
9535
  createdAt: drizzle_orm_pg_core495.PgColumn<{
9536
9536
  name: "created_at";
9537
9537
  tableName: "tools";
@@ -9794,7 +9794,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
9794
9794
  }, {}, {
9795
9795
  length: 256;
9796
9796
  }>;
9797
- }, drizzle_zod19.BuildRefine<{
9797
+ }, drizzle_zod15.BuildRefine<{
9798
9798
  createdAt: drizzle_orm_pg_core495.PgColumn<{
9799
9799
  name: "created_at";
9800
9800
  tableName: "tools";
@@ -10074,8 +10074,8 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
10074
10074
  }>>>;
10075
10075
  }, z.core.$strip>;
10076
10076
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
10077
- name: z.ZodString;
10078
10077
  id: z.ZodString;
10078
+ name: z.ZodString;
10079
10079
  createdAt: z.ZodOptional<z.ZodString>;
10080
10080
  updatedAt: z.ZodOptional<z.ZodString>;
10081
10081
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10090,8 +10090,8 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
10090
10090
  }>;
10091
10091
  }, z.core.$strip>;
10092
10092
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
10093
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10094
10093
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10094
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10095
10095
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10096
10096
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10097
10097
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -10212,15 +10212,15 @@ declare const McpToolSchema: z.ZodObject<{
10212
10212
  in: {};
10213
10213
  }>;
10214
10214
  declare const MCPToolConfigSchema: z.ZodObject<{
10215
- name: z.ZodString;
10216
10215
  id: z.ZodString;
10216
+ name: z.ZodString;
10217
10217
  expiresAt: z.ZodOptional<z.ZodString>;
10218
- credentialScope: z.ZodOptional<z.ZodString>;
10219
10218
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
10219
+ createdBy: z.ZodOptional<z.ZodString>;
10220
+ credentialScope: z.ZodOptional<z.ZodString>;
10220
10221
  imageUrl: z.ZodOptional<z.ZodString>;
10221
10222
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
10222
10223
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10223
- createdBy: z.ZodOptional<z.ZodString>;
10224
10224
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
10225
10225
  name: z.ZodString;
10226
10226
  description: z.ZodOptional<z.ZodString>;
@@ -10247,8 +10247,8 @@ declare const MCPToolConfigSchema: z.ZodObject<{
10247
10247
  sessionId: z.ZodOptional<z.ZodString>;
10248
10248
  }, z.core.$strip>>;
10249
10249
  credential: z.ZodOptional<z.ZodObject<{
10250
- name: z.ZodString;
10251
10250
  id: z.ZodString;
10251
+ name: z.ZodString;
10252
10252
  createdAt: z.ZodOptional<z.ZodString>;
10253
10253
  updatedAt: z.ZodOptional<z.ZodString>;
10254
10254
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10304,11 +10304,12 @@ declare const ToolUpdateSchema: z.ZodObject<{
10304
10304
  in: {};
10305
10305
  }>;
10306
10306
  declare const ToolApiSelectSchema: z.ZodObject<{
10307
- name: z.ZodString;
10308
10307
  id: z.ZodString;
10308
+ name: z.ZodString;
10309
10309
  createdAt: z.ZodString;
10310
10310
  updatedAt: z.ZodString;
10311
10311
  description: z.ZodNullable<z.ZodString>;
10312
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
10312
10313
  config: z.ZodType<{
10313
10314
  type: "mcp";
10314
10315
  mcp: ToolMcpConfig;
@@ -10324,17 +10325,17 @@ declare const ToolApiSelectSchema: z.ZodObject<{
10324
10325
  }>>;
10325
10326
  credentialReferenceId: z.ZodNullable<z.ZodString>;
10326
10327
  credentialScope: z.ZodString;
10327
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
10328
10328
  imageUrl: z.ZodNullable<z.ZodString>;
10329
10329
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
10330
10330
  lastError: z.ZodNullable<z.ZodString>;
10331
10331
  }, z.core.$strip>;
10332
10332
  declare const ToolApiInsertSchema: z.ZodObject<{
10333
- name: z.ZodString;
10334
10333
  id: z.ZodString;
10334
+ name: z.ZodString;
10335
10335
  createdAt: z.ZodOptional<z.ZodString>;
10336
10336
  updatedAt: z.ZodOptional<z.ZodString>;
10337
10337
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10338
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
10338
10339
  config: z.ZodObject<{
10339
10340
  type: z.ZodLiteral<"mcp">;
10340
10341
  mcp: z.ZodObject<{
@@ -10356,17 +10357,17 @@ declare const ToolApiInsertSchema: z.ZodObject<{
10356
10357
  }, z.core.$strip>;
10357
10358
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10358
10359
  credentialScope: z.ZodOptional<z.ZodString>;
10359
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
10360
10360
  imageUrl: z.ZodOptional<z.ZodString>;
10361
10361
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
10362
10362
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10363
10363
  }, z.core.$strip>;
10364
10364
  declare const ToolApiUpdateSchema: z.ZodObject<{
10365
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10366
10365
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10366
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10367
10367
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10368
10368
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10369
10369
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10370
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
10370
10371
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
10371
10372
  type: z.ZodLiteral<"mcp">;
10372
10373
  mcp: z.ZodObject<{
@@ -10388,12 +10389,11 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
10388
10389
  }, z.core.$strip>>>;
10389
10390
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10390
10391
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10391
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
10392
10392
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10393
10393
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
10394
10394
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10395
10395
  }, z.core.$strip>;
10396
- declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
10396
+ declare const FunctionToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
10397
10397
  createdAt: drizzle_orm_pg_core495.PgColumn<{
10398
10398
  name: "created_at";
10399
10399
  tableName: "function_tools";
@@ -10559,7 +10559,7 @@ declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
10559
10559
  }, {}, {
10560
10560
  length: 256;
10561
10561
  }>;
10562
- }, drizzle_zod19.BuildRefine<{
10562
+ }, drizzle_zod15.BuildRefine<{
10563
10563
  createdAt: drizzle_orm_pg_core495.PgColumn<{
10564
10564
  name: "created_at";
10565
10565
  tableName: "function_tools";
@@ -10755,32 +10755,32 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
10755
10755
  in: {};
10756
10756
  }>;
10757
10757
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
10758
- name: z.ZodString;
10759
10758
  id: z.ZodString;
10759
+ name: z.ZodString;
10760
10760
  createdAt: z.ZodString;
10761
10761
  updatedAt: z.ZodString;
10762
- agentId: z.ZodString;
10763
10762
  description: z.ZodNullable<z.ZodString>;
10763
+ agentId: z.ZodString;
10764
10764
  functionId: z.ZodString;
10765
10765
  }, z.core.$strip>;
10766
10766
  declare const FunctionToolApiInsertSchema: z.ZodObject<{
10767
- name: z.ZodString;
10768
10767
  id: z.ZodString;
10768
+ name: z.ZodString;
10769
10769
  createdAt: z.ZodOptional<z.ZodString>;
10770
10770
  updatedAt: z.ZodOptional<z.ZodString>;
10771
10771
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10772
10772
  functionId: z.ZodString;
10773
10773
  }, z.core.$strip>;
10774
10774
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
10775
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10776
10775
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10776
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10777
10777
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10778
10778
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10779
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10780
10779
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10780
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10781
10781
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10782
10782
  }, z.core.$strip>;
10783
- declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
10783
+ declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
10784
10784
  createdAt: drizzle_orm_pg_core495.PgColumn<{
10785
10785
  name: "created_at";
10786
10786
  tableName: "functions";
@@ -10927,7 +10927,7 @@ declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
10927
10927
  }, {}, {
10928
10928
  length: 256;
10929
10929
  }>;
10930
- }, drizzle_zod19.BuildRefine<{
10930
+ }, drizzle_zod15.BuildRefine<{
10931
10931
  createdAt: drizzle_orm_pg_core495.PgColumn<{
10932
10932
  name: "created_at";
10933
10933
  tableName: "functions";
@@ -11165,8 +11165,8 @@ declare const FetchDefinitionSchema: z.ZodObject<{
11165
11165
  responseSchema: z.ZodOptional<z.ZodAny>;
11166
11166
  defaultValue: z.ZodOptional<z.ZodAny>;
11167
11167
  credential: z.ZodOptional<z.ZodObject<{
11168
- name: z.ZodString;
11169
11168
  id: z.ZodString;
11169
+ name: z.ZodString;
11170
11170
  createdAt: z.ZodOptional<z.ZodString>;
11171
11171
  updatedAt: z.ZodOptional<z.ZodString>;
11172
11172
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -11196,32 +11196,32 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
11196
11196
  }>;
11197
11197
  declare const ContextConfigInsertSchema: z.ZodObject<{
11198
11198
  id: z.ZodOptional<z.ZodString>;
11199
+ tenantId: z.ZodString;
11200
+ projectId: z.ZodString;
11201
+ agentId: z.ZodString;
11199
11202
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
11200
11203
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
11201
- agentId: z.ZodString;
11202
- projectId: z.ZodString;
11203
- tenantId: z.ZodString;
11204
11204
  }, {
11205
11205
  out: {};
11206
11206
  in: {};
11207
11207
  }>;
11208
11208
  declare const ContextConfigUpdateSchema: z.ZodObject<{
11209
11209
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11210
+ tenantId: z.ZodOptional<z.ZodString>;
11211
+ projectId: z.ZodOptional<z.ZodString>;
11212
+ agentId: z.ZodOptional<z.ZodString>;
11210
11213
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
11211
11214
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
11212
- agentId: z.ZodOptional<z.ZodString>;
11213
- projectId: z.ZodOptional<z.ZodString>;
11214
- tenantId: z.ZodOptional<z.ZodString>;
11215
11215
  }, {
11216
11216
  out: {};
11217
11217
  in: {};
11218
11218
  }>;
11219
11219
  declare const ContextConfigApiSelectSchema: z.ZodObject<{
11220
11220
  id: z.ZodString;
11221
- headersSchema: z.ZodOptional<z.ZodAny>;
11222
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
11223
11221
  createdAt: z.ZodString;
11224
11222
  updatedAt: z.ZodString;
11223
+ headersSchema: z.ZodOptional<z.ZodAny>;
11224
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
11225
11225
  }, z.core.$strip>;
11226
11226
  declare const ContextConfigApiInsertSchema: z.ZodObject<{
11227
11227
  id: z.ZodOptional<z.ZodString>;
@@ -11233,7 +11233,7 @@ declare const ContextConfigApiUpdateSchema: z.ZodObject<{
11233
11233
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
11234
11234
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
11235
11235
  }, z.core.$strip>;
11236
- declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11236
+ declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11237
11237
  createdAt: drizzle_orm_pg_core495.PgColumn<{
11238
11238
  name: "created_at";
11239
11239
  tableName: "sub_agent_tool_relations";
@@ -11443,7 +11443,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"selec
11443
11443
  }, {}, {
11444
11444
  length: 256;
11445
11445
  }>;
11446
- }, drizzle_zod19.BuildRefine<{
11446
+ }, drizzle_zod15.BuildRefine<{
11447
11447
  createdAt: drizzle_orm_pg_core495.PgColumn<{
11448
11448
  name: "created_at";
11449
11449
  tableName: "sub_agent_tool_relations";
@@ -11694,11 +11694,11 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
11694
11694
  id: z.ZodString;
11695
11695
  createdAt: z.ZodString;
11696
11696
  updatedAt: z.ZodString;
11697
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
11697
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
11698
11698
  toolId: z.ZodString;
11699
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
11699
11700
  subAgentId: z.ZodString;
11700
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
11701
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
11701
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
11702
11702
  }, z.core.$strip>;
11703
11703
  declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
11704
11704
  id: z.ZodString;
@@ -11706,11 +11706,11 @@ declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
11706
11706
  updatedAt: z.ZodOptional<z.ZodString>;
11707
11707
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
11708
11708
  toolId: z.ZodString;
11709
- subAgentId: z.ZodString;
11710
- selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
11711
11709
  toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
11712
11710
  needsApproval: z.ZodOptional<z.ZodBoolean>;
11713
11711
  }, z.core.$strip>>>>;
11712
+ subAgentId: z.ZodString;
11713
+ selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
11714
11714
  }, z.core.$strip>;
11715
11715
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
11716
11716
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -11718,13 +11718,13 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
11718
11718
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11719
11719
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
11720
11720
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11721
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11722
- selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
11723
11721
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
11724
11722
  needsApproval: z.ZodOptional<z.ZodBoolean>;
11725
11723
  }, z.core.$strip>>>>>>;
11724
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11725
+ selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
11726
11726
  }, z.core.$strip>;
11727
- declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11727
+ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11728
11728
  createdAt: drizzle_orm_pg_core495.PgColumn<{
11729
11729
  name: "created_at";
11730
11730
  tableName: "sub_agent_external_agent_relations";
@@ -11892,7 +11892,7 @@ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSche
11892
11892
  }, {}, {
11893
11893
  length: 256;
11894
11894
  }>;
11895
- }, drizzle_zod19.BuildRefine<{
11895
+ }, drizzle_zod15.BuildRefine<{
11896
11896
  createdAt: drizzle_orm_pg_core495.PgColumn<{
11897
11897
  name: "created_at";
11898
11898
  tableName: "sub_agent_external_agent_relations";
@@ -12093,9 +12093,9 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<{
12093
12093
  id: z.ZodString;
12094
12094
  createdAt: z.ZodString;
12095
12095
  updatedAt: z.ZodString;
12096
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
12097
- subAgentId: z.ZodString;
12096
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
12098
12097
  externalAgentId: z.ZodString;
12098
+ subAgentId: z.ZodString;
12099
12099
  }, z.core.$strip>;
12100
12100
  declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
12101
12101
  createdAt: z.ZodOptional<z.ZodString>;
@@ -12108,10 +12108,10 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
12108
12108
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12109
12109
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12110
12110
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
12111
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12112
12111
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12112
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12113
12113
  }, z.core.$strip>;
12114
- declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
12114
+ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
12115
12115
  createdAt: drizzle_orm_pg_core495.PgColumn<{
12116
12116
  name: "created_at";
12117
12117
  tableName: "sub_agent_team_agent_relations";
@@ -12279,7 +12279,7 @@ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"
12279
12279
  }, {}, {
12280
12280
  length: 256;
12281
12281
  }>;
12282
- }, drizzle_zod19.BuildRefine<{
12282
+ }, drizzle_zod15.BuildRefine<{
12283
12283
  createdAt: drizzle_orm_pg_core495.PgColumn<{
12284
12284
  name: "created_at";
12285
12285
  tableName: "sub_agent_team_agent_relations";
@@ -12480,7 +12480,7 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<{
12480
12480
  id: z.ZodString;
12481
12481
  createdAt: z.ZodString;
12482
12482
  updatedAt: z.ZodString;
12483
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
12483
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
12484
12484
  subAgentId: z.ZodString;
12485
12485
  targetAgentId: z.ZodString;
12486
12486
  }, z.core.$strip>;
@@ -12498,7 +12498,7 @@ declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
12498
12498
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12499
12499
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12500
12500
  }, z.core.$strip>;
12501
- declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
12501
+ declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
12502
12502
  createdAt: drizzle_orm_pg_core495.PgColumn<{
12503
12503
  name: "created_at";
12504
12504
  tableName: "ledger_artifacts";
@@ -12833,7 +12833,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
12833
12833
  }, {}, {
12834
12834
  length: 256;
12835
12835
  }>;
12836
- }, drizzle_zod19.BuildRefine<{
12836
+ }, drizzle_zod15.BuildRefine<{
12837
12837
  createdAt: drizzle_orm_pg_core495.PgColumn<{
12838
12838
  name: "created_at";
12839
12839
  tableName: "ledger_artifacts";
@@ -13169,7 +13169,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
13169
13169
  length: 256;
13170
13170
  }>;
13171
13171
  }, undefined>, undefined>;
13172
- declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
13172
+ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
13173
13173
  createdAt: drizzle_orm_pg_core495.PgColumn<{
13174
13174
  name: "created_at";
13175
13175
  tableName: "ledger_artifacts";
@@ -13504,7 +13504,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
13504
13504
  }, {}, {
13505
13505
  length: 256;
13506
13506
  }>;
13507
- }, drizzle_zod19.BuildRefine<Pick<{
13507
+ }, drizzle_zod15.BuildRefine<Pick<{
13508
13508
  createdAt: drizzle_orm_pg_core495.PgColumn<{
13509
13509
  name: "created_at";
13510
13510
  tableName: "ledger_artifacts";
@@ -13839,7 +13839,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
13839
13839
  }, {}, {
13840
13840
  length: 256;
13841
13841
  }>;
13842
- }, "type" | "name" | "id" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "description" | "metadata" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
13842
+ }, "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "type" | "tenantId" | "projectId" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
13843
13843
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
13844
13844
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13845
13845
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -13849,12 +13849,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
13849
13849
  type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13850
13850
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
13851
13851
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
13852
- parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
13853
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
13852
+ parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
13853
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
13854
13854
  summary: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
13855
- mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
13855
+ mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
13856
13856
  visibility: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
13857
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
13857
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
13858
13858
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
13859
13859
  projectId: z.ZodOptional<z.ZodString>;
13860
13860
  tenantId: z.ZodOptional<z.ZodString>;
@@ -13864,57 +13864,57 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
13864
13864
  in: {};
13865
13865
  }>;
13866
13866
  declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
13867
- type: z.ZodString;
13868
- name: z.ZodNullable<z.ZodString>;
13869
13867
  id: z.ZodString;
13868
+ name: z.ZodNullable<z.ZodString>;
13870
13869
  createdAt: z.ZodString;
13871
13870
  updatedAt: z.ZodString;
13871
+ metadata: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
13872
13872
  description: z.ZodNullable<z.ZodString>;
13873
- metadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
13873
+ type: z.ZodString;
13874
13874
  contextId: z.ZodString;
13875
13875
  visibility: z.ZodNullable<z.ZodString>;
13876
13876
  taskId: z.ZodString;
13877
13877
  toolCallId: z.ZodNullable<z.ZodString>;
13878
- parts: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
13878
+ parts: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
13879
13879
  summary: z.ZodNullable<z.ZodString>;
13880
- mime: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
13881
- allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
13880
+ mime: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
13881
+ allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
13882
13882
  derivedFrom: z.ZodNullable<z.ZodString>;
13883
13883
  }, z.core.$strip>;
13884
13884
  declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
13885
- type: z.ZodOptional<z.ZodString>;
13886
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13887
13885
  id: z.ZodString;
13886
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13888
13887
  createdAt: z.ZodOptional<z.ZodString>;
13889
13888
  updatedAt: z.ZodOptional<z.ZodString>;
13889
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
13890
13890
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13891
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
13891
+ type: z.ZodOptional<z.ZodString>;
13892
13892
  contextId: z.ZodString;
13893
13893
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13894
13894
  taskId: z.ZodString;
13895
13895
  toolCallId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13896
- parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
13896
+ parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
13897
13897
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13898
- mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
13899
- allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
13898
+ mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
13899
+ allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
13900
13900
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13901
13901
  }, z.core.$strip>;
13902
13902
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
13903
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13904
- name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13905
13903
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13904
+ name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13906
13905
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13907
13906
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13907
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
13908
13908
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13909
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
13909
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13910
13910
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13911
13911
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13912
13912
  taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13913
13913
  toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13914
- parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
13914
+ parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
13915
13915
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13916
- mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
13917
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
13916
+ mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
13917
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
13918
13918
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13919
13919
  }, z.core.$strip>;
13920
13920
  declare const StatusComponentSchema: z.ZodObject<{
@@ -13966,8 +13966,8 @@ declare const TeamAgentSchema: z.ZodObject<{
13966
13966
  description: z.ZodString;
13967
13967
  }, z.core.$strip>;
13968
13968
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
13969
- name: z.ZodString;
13970
13969
  id: z.ZodString;
13970
+ name: z.ZodString;
13971
13971
  createdAt: z.ZodOptional<z.ZodString>;
13972
13972
  updatedAt: z.ZodOptional<z.ZodString>;
13973
13973
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -14028,8 +14028,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
14028
14028
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14029
14029
  id: z.ZodString;
14030
14030
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
14031
- name: z.ZodString;
14032
14031
  id: z.ZodString;
14032
+ name: z.ZodString;
14033
14033
  createdAt: z.ZodOptional<z.ZodString>;
14034
14034
  updatedAt: z.ZodOptional<z.ZodString>;
14035
14035
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -14082,11 +14082,12 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
14082
14082
  }, z.core.$strip>]>>>;
14083
14083
  }, z.core.$strip>>;
14084
14084
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14085
- name: z.ZodString;
14086
14085
  id: z.ZodString;
14086
+ name: z.ZodString;
14087
14087
  createdAt: z.ZodOptional<z.ZodString>;
14088
14088
  updatedAt: z.ZodOptional<z.ZodString>;
14089
14089
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14090
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14090
14091
  config: z.ZodObject<{
14091
14092
  type: z.ZodLiteral<"mcp">;
14092
14093
  mcp: z.ZodObject<{
@@ -14108,14 +14109,13 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
14108
14109
  }, z.core.$strip>;
14109
14110
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14110
14111
  credentialScope: z.ZodOptional<z.ZodString>;
14111
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14112
14112
  imageUrl: z.ZodOptional<z.ZodString>;
14113
14113
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
14114
14114
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14115
14115
  }, z.core.$strip>>>;
14116
14116
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14117
- name: z.ZodString;
14118
14117
  id: z.ZodString;
14118
+ name: z.ZodString;
14119
14119
  createdAt: z.ZodOptional<z.ZodString>;
14120
14120
  updatedAt: z.ZodOptional<z.ZodString>;
14121
14121
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -14128,8 +14128,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
14128
14128
  description: z.ZodString;
14129
14129
  }, z.core.$strip>>>;
14130
14130
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14131
- name: z.ZodString;
14132
14131
  id: z.ZodString;
14132
+ name: z.ZodString;
14133
14133
  createdAt: z.ZodOptional<z.ZodString>;
14134
14134
  updatedAt: z.ZodOptional<z.ZodString>;
14135
14135
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -14242,10 +14242,10 @@ declare const ProjectSelectSchema: z.ZodObject<{
14242
14242
  in: {};
14243
14243
  }>;
14244
14244
  declare const ProjectInsertSchema: z.ZodObject<{
14245
- name: z.ZodString;
14246
14245
  id: z.ZodString;
14247
- tenantId: z.ZodString;
14246
+ name: z.ZodString;
14248
14247
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14248
+ tenantId: z.ZodString;
14249
14249
  models: z.ZodObject<{
14250
14250
  base: z.ZodObject<{
14251
14251
  model: z.ZodOptional<z.ZodString>;
@@ -14294,8 +14294,8 @@ declare const ProjectUpdateSchema: z.ZodObject<{
14294
14294
  in: {};
14295
14295
  }>;
14296
14296
  declare const ProjectApiSelectSchema: z.ZodObject<{
14297
- name: z.ZodString;
14298
14297
  id: z.ZodString;
14298
+ name: z.ZodString;
14299
14299
  createdAt: z.ZodString;
14300
14300
  updatedAt: z.ZodString;
14301
14301
  description: z.ZodNullable<z.ZodString>;
@@ -14322,8 +14322,8 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
14322
14322
  in: {};
14323
14323
  }>;
14324
14324
  declare const ProjectApiInsertSchema: z.ZodObject<{
14325
- name: z.ZodString;
14326
14325
  id: z.ZodString;
14326
+ name: z.ZodString;
14327
14327
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14328
14328
  models: z.ZodObject<{
14329
14329
  base: z.ZodObject<{
@@ -14373,8 +14373,8 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
14373
14373
  in: {};
14374
14374
  }>;
14375
14375
  declare const FullProjectDefinitionSchema: z.ZodObject<{
14376
- name: z.ZodString;
14377
14376
  id: z.ZodString;
14377
+ name: z.ZodString;
14378
14378
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14379
14379
  models: z.ZodObject<{
14380
14380
  base: z.ZodObject<{
@@ -14403,8 +14403,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14403
14403
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14404
14404
  id: z.ZodString;
14405
14405
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
14406
- name: z.ZodString;
14407
14406
  id: z.ZodString;
14407
+ name: z.ZodString;
14408
14408
  createdAt: z.ZodOptional<z.ZodString>;
14409
14409
  updatedAt: z.ZodOptional<z.ZodString>;
14410
14410
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -14457,11 +14457,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14457
14457
  }, z.core.$strip>]>>>;
14458
14458
  }, z.core.$strip>>;
14459
14459
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14460
- name: z.ZodString;
14461
14460
  id: z.ZodString;
14461
+ name: z.ZodString;
14462
14462
  createdAt: z.ZodOptional<z.ZodString>;
14463
14463
  updatedAt: z.ZodOptional<z.ZodString>;
14464
14464
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14465
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14465
14466
  config: z.ZodObject<{
14466
14467
  type: z.ZodLiteral<"mcp">;
14467
14468
  mcp: z.ZodObject<{
@@ -14483,14 +14484,13 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14483
14484
  }, z.core.$strip>;
14484
14485
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14485
14486
  credentialScope: z.ZodOptional<z.ZodString>;
14486
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14487
14487
  imageUrl: z.ZodOptional<z.ZodString>;
14488
14488
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
14489
14489
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14490
14490
  }, z.core.$strip>>>;
14491
14491
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14492
- name: z.ZodString;
14493
14492
  id: z.ZodString;
14493
+ name: z.ZodString;
14494
14494
  createdAt: z.ZodOptional<z.ZodString>;
14495
14495
  updatedAt: z.ZodOptional<z.ZodString>;
14496
14496
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -14503,8 +14503,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14503
14503
  description: z.ZodString;
14504
14504
  }, z.core.$strip>>>;
14505
14505
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14506
- name: z.ZodString;
14507
14506
  id: z.ZodString;
14507
+ name: z.ZodString;
14508
14508
  createdAt: z.ZodOptional<z.ZodString>;
14509
14509
  updatedAt: z.ZodOptional<z.ZodString>;
14510
14510
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -14558,11 +14558,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14558
14558
  prompt: z.ZodOptional<z.ZodString>;
14559
14559
  }, z.core.$strip>>;
14560
14560
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
14561
- name: z.ZodString;
14562
14561
  id: z.ZodString;
14562
+ name: z.ZodString;
14563
14563
  createdAt: z.ZodOptional<z.ZodString>;
14564
14564
  updatedAt: z.ZodOptional<z.ZodString>;
14565
14565
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14566
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14566
14567
  config: z.ZodObject<{
14567
14568
  type: z.ZodLiteral<"mcp">;
14568
14569
  mcp: z.ZodObject<{
@@ -14584,14 +14585,13 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14584
14585
  }, z.core.$strip>;
14585
14586
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14586
14587
  credentialScope: z.ZodOptional<z.ZodString>;
14587
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14588
14588
  imageUrl: z.ZodOptional<z.ZodString>;
14589
14589
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
14590
14590
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14591
14591
  }, z.core.$strip>>;
14592
14592
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14593
- name: z.ZodString;
14594
14593
  id: z.ZodString;
14594
+ name: z.ZodString;
14595
14595
  createdAt: z.ZodOptional<z.ZodString>;
14596
14596
  updatedAt: z.ZodOptional<z.ZodString>;
14597
14597
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -14606,8 +14606,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14606
14606
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
14607
14607
  }, z.core.$strip>>>;
14608
14608
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14609
- name: z.ZodString;
14610
14609
  id: z.ZodString;
14610
+ name: z.ZodString;
14611
14611
  createdAt: z.ZodOptional<z.ZodString>;
14612
14612
  updatedAt: z.ZodOptional<z.ZodString>;
14613
14613
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -14627,8 +14627,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14627
14627
  }>>>>;
14628
14628
  }, z.core.$strip>>>;
14629
14629
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14630
- name: z.ZodString;
14631
14630
  id: z.ZodString;
14631
+ name: z.ZodString;
14632
14632
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14633
14633
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14634
14634
  }, {
@@ -14636,8 +14636,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14636
14636
  in: {};
14637
14637
  }>>>;
14638
14638
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14639
- name: z.ZodString;
14640
14639
  id: z.ZodString;
14640
+ name: z.ZodString;
14641
14641
  createdAt: z.ZodOptional<z.ZodString>;
14642
14642
  updatedAt: z.ZodOptional<z.ZodString>;
14643
14643
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -14660,8 +14660,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14660
14660
  }, z.core.$strip>>>;
14661
14661
  }, z.core.$strip>>;
14662
14662
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14663
- name: z.ZodString;
14664
14663
  id: z.ZodString;
14664
+ name: z.ZodString;
14665
14665
  createdAt: z.ZodOptional<z.ZodString>;
14666
14666
  updatedAt: z.ZodOptional<z.ZodString>;
14667
14667
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -14683,8 +14683,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
14683
14683
  }>;
14684
14684
  declare const ProjectResponse: z.ZodObject<{
14685
14685
  data: z.ZodObject<{
14686
- name: z.ZodString;
14687
14686
  id: z.ZodString;
14687
+ name: z.ZodString;
14688
14688
  createdAt: z.ZodString;
14689
14689
  updatedAt: z.ZodString;
14690
14690
  description: z.ZodNullable<z.ZodString>;
@@ -14713,11 +14713,12 @@ declare const ProjectResponse: z.ZodObject<{
14713
14713
  }, z.core.$strip>;
14714
14714
  declare const SubAgentResponse: z.ZodObject<{
14715
14715
  data: z.ZodObject<{
14716
- name: z.ZodString;
14717
14716
  id: z.ZodString;
14717
+ name: z.ZodString;
14718
14718
  createdAt: z.ZodString;
14719
14719
  updatedAt: z.ZodString;
14720
14720
  description: z.ZodNullable<z.ZodString>;
14721
+ prompt: z.ZodNullable<z.ZodString>;
14721
14722
  models: z.ZodNullable<z.ZodType<{
14722
14723
  base?: {
14723
14724
  model?: string | undefined;
@@ -14771,7 +14772,6 @@ declare const SubAgentResponse: z.ZodObject<{
14771
14772
  providerOptions?: Record<string, any> | undefined;
14772
14773
  } | undefined;
14773
14774
  }>>>;
14774
- prompt: z.ZodNullable<z.ZodString>;
14775
14775
  stopWhen: z.ZodNullable<z.ZodType<{
14776
14776
  stepCountIs?: number | undefined;
14777
14777
  }, {
@@ -14786,13 +14786,12 @@ declare const SubAgentResponse: z.ZodObject<{
14786
14786
  }, z.core.$strip>;
14787
14787
  declare const AgentResponse: z.ZodObject<{
14788
14788
  data: z.ZodObject<{
14789
- name: z.ZodString;
14790
14789
  id: z.ZodString;
14790
+ name: z.ZodString;
14791
14791
  createdAt: z.ZodString;
14792
14792
  updatedAt: z.ZodString;
14793
14793
  description: z.ZodNullable<z.ZodString>;
14794
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
14795
- contextConfigId: z.ZodNullable<z.ZodString>;
14794
+ prompt: z.ZodNullable<z.ZodString>;
14796
14795
  models: z.ZodNullable<z.ZodType<{
14797
14796
  base?: {
14798
14797
  model?: string | undefined;
@@ -14846,7 +14845,17 @@ declare const AgentResponse: z.ZodObject<{
14846
14845
  providerOptions?: Record<string, any> | undefined;
14847
14846
  } | undefined;
14848
14847
  }>>>;
14849
- prompt: z.ZodNullable<z.ZodString>;
14848
+ stopWhen: z.ZodNullable<z.ZodType<{
14849
+ transferCountIs?: number | undefined;
14850
+ }, {
14851
+ transferCountIs?: number | undefined;
14852
+ }, z.core.$ZodTypeInternals<{
14853
+ transferCountIs?: number | undefined;
14854
+ }, {
14855
+ transferCountIs?: number | undefined;
14856
+ }>>>;
14857
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
14858
+ contextConfigId: z.ZodNullable<z.ZodString>;
14850
14859
  statusUpdates: z.ZodNullable<z.ZodType<{
14851
14860
  enabled?: boolean | undefined;
14852
14861
  numEvents?: number | undefined;
@@ -14904,24 +14913,16 @@ declare const AgentResponse: z.ZodObject<{
14904
14913
  } | undefined;
14905
14914
  }[] | undefined;
14906
14915
  }>>>;
14907
- stopWhen: z.ZodNullable<z.ZodType<{
14908
- transferCountIs?: number | undefined;
14909
- }, {
14910
- transferCountIs?: number | undefined;
14911
- }, z.core.$ZodTypeInternals<{
14912
- transferCountIs?: number | undefined;
14913
- }, {
14914
- transferCountIs?: number | undefined;
14915
- }>>>;
14916
14916
  }, z.core.$strip>;
14917
14917
  }, z.core.$strip>;
14918
14918
  declare const ToolResponse: z.ZodObject<{
14919
14919
  data: z.ZodObject<{
14920
- name: z.ZodString;
14921
14920
  id: z.ZodString;
14921
+ name: z.ZodString;
14922
14922
  createdAt: z.ZodString;
14923
14923
  updatedAt: z.ZodString;
14924
14924
  description: z.ZodNullable<z.ZodString>;
14925
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
14925
14926
  config: z.ZodType<{
14926
14927
  type: "mcp";
14927
14928
  mcp: ToolMcpConfig;
@@ -14937,7 +14938,6 @@ declare const ToolResponse: z.ZodObject<{
14937
14938
  }>>;
14938
14939
  credentialReferenceId: z.ZodNullable<z.ZodString>;
14939
14940
  credentialScope: z.ZodString;
14940
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
14941
14941
  imageUrl: z.ZodNullable<z.ZodString>;
14942
14942
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
14943
14943
  lastError: z.ZodNullable<z.ZodString>;
@@ -14945,8 +14945,8 @@ declare const ToolResponse: z.ZodObject<{
14945
14945
  }, z.core.$strip>;
14946
14946
  declare const ExternalAgentResponse: z.ZodObject<{
14947
14947
  data: z.ZodObject<{
14948
- name: z.ZodString;
14949
14948
  id: z.ZodString;
14949
+ name: z.ZodString;
14950
14950
  createdAt: z.ZodString;
14951
14951
  updatedAt: z.ZodString;
14952
14952
  description: z.ZodNullable<z.ZodString>;
@@ -14957,20 +14957,20 @@ declare const ExternalAgentResponse: z.ZodObject<{
14957
14957
  declare const ContextConfigResponse: z.ZodObject<{
14958
14958
  data: z.ZodObject<{
14959
14959
  id: z.ZodString;
14960
- headersSchema: z.ZodOptional<z.ZodAny>;
14961
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
14962
14960
  createdAt: z.ZodString;
14963
14961
  updatedAt: z.ZodString;
14962
+ headersSchema: z.ZodOptional<z.ZodAny>;
14963
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
14964
14964
  }, z.core.$strip>;
14965
14965
  }, z.core.$strip>;
14966
14966
  declare const ApiKeyResponse: z.ZodObject<{
14967
14967
  data: z.ZodObject<{
14968
- name: z.ZodNullable<z.ZodString>;
14969
14968
  id: z.ZodString;
14969
+ name: z.ZodNullable<z.ZodString>;
14970
14970
  createdAt: z.ZodString;
14971
14971
  updatedAt: z.ZodString;
14972
- agentId: z.ZodString;
14973
14972
  expiresAt: z.ZodNullable<z.ZodString>;
14973
+ agentId: z.ZodString;
14974
14974
  publicId: z.ZodString;
14975
14975
  keyPrefix: z.ZodString;
14976
14976
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -14981,8 +14981,8 @@ declare const ApiKeyResponse: z.ZodObject<{
14981
14981
  }, z.core.$strip>;
14982
14982
  declare const CredentialReferenceResponse: z.ZodObject<{
14983
14983
  data: z.ZodObject<{
14984
- name: z.ZodString;
14985
14984
  id: z.ZodString;
14985
+ name: z.ZodString;
14986
14986
  createdAt: z.ZodString;
14987
14987
  updatedAt: z.ZodString;
14988
14988
  userId: z.ZodNullable<z.ZodString>;
@@ -14995,7 +14995,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
14995
14995
  readonly keychain: "keychain";
14996
14996
  readonly nango: "nango";
14997
14997
  }>;
14998
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
14998
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
14999
14999
  createdAt: drizzle_orm_pg_core495.PgColumn<{
15000
15000
  name: "created_at";
15001
15001
  tableName: "tools";
@@ -15258,7 +15258,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
15258
15258
  }, {}, {
15259
15259
  length: 256;
15260
15260
  }>;
15261
- }, drizzle_zod19.BuildRefine<{
15261
+ }, drizzle_zod15.BuildRefine<{
15262
15262
  createdAt: drizzle_orm_pg_core495.PgColumn<{
15263
15263
  name: "created_at";
15264
15264
  tableName: "tools";
@@ -15550,19 +15550,19 @@ declare const FunctionResponse: z.ZodObject<{
15550
15550
  }, z.core.$strip>;
15551
15551
  declare const FunctionToolResponse: z.ZodObject<{
15552
15552
  data: z.ZodObject<{
15553
- name: z.ZodString;
15554
15553
  id: z.ZodString;
15554
+ name: z.ZodString;
15555
15555
  createdAt: z.ZodString;
15556
15556
  updatedAt: z.ZodString;
15557
- agentId: z.ZodString;
15558
15557
  description: z.ZodNullable<z.ZodString>;
15558
+ agentId: z.ZodString;
15559
15559
  functionId: z.ZodString;
15560
15560
  }, z.core.$strip>;
15561
15561
  }, z.core.$strip>;
15562
15562
  declare const DataComponentResponse: z.ZodObject<{
15563
15563
  data: z.ZodObject<{
15564
- name: z.ZodString;
15565
15564
  id: z.ZodString;
15565
+ name: z.ZodString;
15566
15566
  createdAt: z.ZodString;
15567
15567
  updatedAt: z.ZodString;
15568
15568
  description: z.ZodNullable<z.ZodString>;
@@ -15584,8 +15584,8 @@ declare const DataComponentResponse: z.ZodObject<{
15584
15584
  }, z.core.$strip>;
15585
15585
  declare const ArtifactComponentResponse: z.ZodObject<{
15586
15586
  data: z.ZodObject<{
15587
- name: z.ZodString;
15588
15587
  id: z.ZodString;
15588
+ name: z.ZodString;
15589
15589
  createdAt: z.ZodString;
15590
15590
  updatedAt: z.ZodString;
15591
15591
  description: z.ZodNullable<z.ZodString>;
@@ -15607,11 +15607,11 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
15607
15607
  id: z.ZodString;
15608
15608
  createdAt: z.ZodString;
15609
15609
  updatedAt: z.ZodString;
15610
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
15610
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
15611
15611
  toolId: z.ZodString;
15612
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
15612
15613
  subAgentId: z.ZodString;
15613
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
15614
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
15614
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
15615
15615
  }, z.core.$strip>;
15616
15616
  }, z.core.$strip>;
15617
15617
  declare const ConversationResponse: z.ZodObject<{
@@ -15619,9 +15619,9 @@ declare const ConversationResponse: z.ZodObject<{
15619
15619
  id: z.ZodString;
15620
15620
  createdAt: z.ZodString;
15621
15621
  updatedAt: z.ZodString;
15622
- title: z.ZodNullable<z.ZodString>;
15623
- metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
15624
15622
  userId: z.ZodNullable<z.ZodString>;
15623
+ metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
15624
+ title: z.ZodNullable<z.ZodString>;
15625
15625
  activeSubAgentId: z.ZodString;
15626
15626
  lastContextResolution: z.ZodNullable<z.ZodString>;
15627
15627
  }, z.core.$strip>;
@@ -15632,8 +15632,8 @@ declare const MessageResponse: z.ZodObject<{
15632
15632
  createdAt: z.ZodString;
15633
15633
  updatedAt: z.ZodString;
15634
15634
  metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
15635
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
15636
15635
  role: z.ZodString;
15636
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
15637
15637
  conversationId: z.ZodString;
15638
15638
  fromSubAgentId: z.ZodNullable<z.ZodString>;
15639
15639
  toSubAgentId: z.ZodNullable<z.ZodString>;
@@ -15651,8 +15651,8 @@ declare const MessageResponse: z.ZodObject<{
15651
15651
  }, z.core.$strip>;
15652
15652
  declare const ProjectListResponse: z.ZodObject<{
15653
15653
  data: z.ZodArray<z.ZodObject<{
15654
- name: z.ZodString;
15655
15654
  id: z.ZodString;
15655
+ name: z.ZodString;
15656
15656
  createdAt: z.ZodString;
15657
15657
  updatedAt: z.ZodString;
15658
15658
  description: z.ZodNullable<z.ZodString>;
@@ -15687,11 +15687,12 @@ declare const ProjectListResponse: z.ZodObject<{
15687
15687
  }, z.core.$strip>;
15688
15688
  declare const SubAgentListResponse: z.ZodObject<{
15689
15689
  data: z.ZodArray<z.ZodObject<{
15690
- name: z.ZodString;
15691
15690
  id: z.ZodString;
15691
+ name: z.ZodString;
15692
15692
  createdAt: z.ZodString;
15693
15693
  updatedAt: z.ZodString;
15694
15694
  description: z.ZodNullable<z.ZodString>;
15695
+ prompt: z.ZodNullable<z.ZodString>;
15695
15696
  models: z.ZodNullable<z.ZodType<{
15696
15697
  base?: {
15697
15698
  model?: string | undefined;
@@ -15745,7 +15746,6 @@ declare const SubAgentListResponse: z.ZodObject<{
15745
15746
  providerOptions?: Record<string, any> | undefined;
15746
15747
  } | undefined;
15747
15748
  }>>>;
15748
- prompt: z.ZodNullable<z.ZodString>;
15749
15749
  stopWhen: z.ZodNullable<z.ZodType<{
15750
15750
  stepCountIs?: number | undefined;
15751
15751
  }, {
@@ -15766,13 +15766,12 @@ declare const SubAgentListResponse: z.ZodObject<{
15766
15766
  }, z.core.$strip>;
15767
15767
  declare const AgentListResponse: z.ZodObject<{
15768
15768
  data: z.ZodArray<z.ZodObject<{
15769
- name: z.ZodString;
15770
15769
  id: z.ZodString;
15770
+ name: z.ZodString;
15771
15771
  createdAt: z.ZodString;
15772
15772
  updatedAt: z.ZodString;
15773
15773
  description: z.ZodNullable<z.ZodString>;
15774
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
15775
- contextConfigId: z.ZodNullable<z.ZodString>;
15774
+ prompt: z.ZodNullable<z.ZodString>;
15776
15775
  models: z.ZodNullable<z.ZodType<{
15777
15776
  base?: {
15778
15777
  model?: string | undefined;
@@ -15826,7 +15825,17 @@ declare const AgentListResponse: z.ZodObject<{
15826
15825
  providerOptions?: Record<string, any> | undefined;
15827
15826
  } | undefined;
15828
15827
  }>>>;
15829
- prompt: z.ZodNullable<z.ZodString>;
15828
+ stopWhen: z.ZodNullable<z.ZodType<{
15829
+ transferCountIs?: number | undefined;
15830
+ }, {
15831
+ transferCountIs?: number | undefined;
15832
+ }, z.core.$ZodTypeInternals<{
15833
+ transferCountIs?: number | undefined;
15834
+ }, {
15835
+ transferCountIs?: number | undefined;
15836
+ }>>>;
15837
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
15838
+ contextConfigId: z.ZodNullable<z.ZodString>;
15830
15839
  statusUpdates: z.ZodNullable<z.ZodType<{
15831
15840
  enabled?: boolean | undefined;
15832
15841
  numEvents?: number | undefined;
@@ -15884,15 +15893,6 @@ declare const AgentListResponse: z.ZodObject<{
15884
15893
  } | undefined;
15885
15894
  }[] | undefined;
15886
15895
  }>>>;
15887
- stopWhen: z.ZodNullable<z.ZodType<{
15888
- transferCountIs?: number | undefined;
15889
- }, {
15890
- transferCountIs?: number | undefined;
15891
- }, z.core.$ZodTypeInternals<{
15892
- transferCountIs?: number | undefined;
15893
- }, {
15894
- transferCountIs?: number | undefined;
15895
- }>>>;
15896
15896
  }, z.core.$strip>>;
15897
15897
  pagination: z.ZodObject<{
15898
15898
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -15903,11 +15903,12 @@ declare const AgentListResponse: z.ZodObject<{
15903
15903
  }, z.core.$strip>;
15904
15904
  declare const ToolListResponse: z.ZodObject<{
15905
15905
  data: z.ZodArray<z.ZodObject<{
15906
- name: z.ZodString;
15907
15906
  id: z.ZodString;
15907
+ name: z.ZodString;
15908
15908
  createdAt: z.ZodString;
15909
15909
  updatedAt: z.ZodString;
15910
15910
  description: z.ZodNullable<z.ZodString>;
15911
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
15911
15912
  config: z.ZodType<{
15912
15913
  type: "mcp";
15913
15914
  mcp: ToolMcpConfig;
@@ -15923,7 +15924,6 @@ declare const ToolListResponse: z.ZodObject<{
15923
15924
  }>>;
15924
15925
  credentialReferenceId: z.ZodNullable<z.ZodString>;
15925
15926
  credentialScope: z.ZodString;
15926
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
15927
15927
  imageUrl: z.ZodNullable<z.ZodString>;
15928
15928
  capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
15929
15929
  lastError: z.ZodNullable<z.ZodString>;
@@ -15937,8 +15937,8 @@ declare const ToolListResponse: z.ZodObject<{
15937
15937
  }, z.core.$strip>;
15938
15938
  declare const ExternalAgentListResponse: z.ZodObject<{
15939
15939
  data: z.ZodArray<z.ZodObject<{
15940
- name: z.ZodString;
15941
15940
  id: z.ZodString;
15941
+ name: z.ZodString;
15942
15942
  createdAt: z.ZodString;
15943
15943
  updatedAt: z.ZodString;
15944
15944
  description: z.ZodNullable<z.ZodString>;
@@ -15955,10 +15955,10 @@ declare const ExternalAgentListResponse: z.ZodObject<{
15955
15955
  declare const ContextConfigListResponse: z.ZodObject<{
15956
15956
  data: z.ZodArray<z.ZodObject<{
15957
15957
  id: z.ZodString;
15958
- headersSchema: z.ZodOptional<z.ZodAny>;
15959
- contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
15960
15958
  createdAt: z.ZodString;
15961
15959
  updatedAt: z.ZodString;
15960
+ headersSchema: z.ZodOptional<z.ZodAny>;
15961
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
15962
15962
  }, z.core.$strip>>;
15963
15963
  pagination: z.ZodObject<{
15964
15964
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -15969,12 +15969,12 @@ declare const ContextConfigListResponse: z.ZodObject<{
15969
15969
  }, z.core.$strip>;
15970
15970
  declare const ApiKeyListResponse: z.ZodObject<{
15971
15971
  data: z.ZodArray<z.ZodObject<{
15972
- name: z.ZodNullable<z.ZodString>;
15973
15972
  id: z.ZodString;
15973
+ name: z.ZodNullable<z.ZodString>;
15974
15974
  createdAt: z.ZodString;
15975
15975
  updatedAt: z.ZodString;
15976
- agentId: z.ZodString;
15977
15976
  expiresAt: z.ZodNullable<z.ZodString>;
15977
+ agentId: z.ZodString;
15978
15978
  publicId: z.ZodString;
15979
15979
  keyPrefix: z.ZodString;
15980
15980
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -15991,8 +15991,8 @@ declare const ApiKeyListResponse: z.ZodObject<{
15991
15991
  }, z.core.$strip>;
15992
15992
  declare const CredentialReferenceListResponse: z.ZodObject<{
15993
15993
  data: z.ZodArray<z.ZodObject<{
15994
- name: z.ZodString;
15995
15994
  id: z.ZodString;
15995
+ name: z.ZodString;
15996
15996
  createdAt: z.ZodString;
15997
15997
  updatedAt: z.ZodString;
15998
15998
  userId: z.ZodNullable<z.ZodString>;
@@ -16005,7 +16005,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
16005
16005
  readonly keychain: "keychain";
16006
16006
  readonly nango: "nango";
16007
16007
  }>;
16008
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
16008
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
16009
16009
  createdAt: drizzle_orm_pg_core495.PgColumn<{
16010
16010
  name: "created_at";
16011
16011
  tableName: "tools";
@@ -16268,7 +16268,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
16268
16268
  }, {}, {
16269
16269
  length: 256;
16270
16270
  }>;
16271
- }, drizzle_zod19.BuildRefine<{
16271
+ }, drizzle_zod15.BuildRefine<{
16272
16272
  createdAt: drizzle_orm_pg_core495.PgColumn<{
16273
16273
  name: "created_at";
16274
16274
  tableName: "tools";
@@ -16572,12 +16572,12 @@ declare const FunctionListResponse: z.ZodObject<{
16572
16572
  }, z.core.$strip>;
16573
16573
  declare const FunctionToolListResponse: z.ZodObject<{
16574
16574
  data: z.ZodArray<z.ZodObject<{
16575
- name: z.ZodString;
16576
16575
  id: z.ZodString;
16576
+ name: z.ZodString;
16577
16577
  createdAt: z.ZodString;
16578
16578
  updatedAt: z.ZodString;
16579
- agentId: z.ZodString;
16580
16579
  description: z.ZodNullable<z.ZodString>;
16580
+ agentId: z.ZodString;
16581
16581
  functionId: z.ZodString;
16582
16582
  }, z.core.$strip>>;
16583
16583
  pagination: z.ZodObject<{
@@ -16589,8 +16589,8 @@ declare const FunctionToolListResponse: z.ZodObject<{
16589
16589
  }, z.core.$strip>;
16590
16590
  declare const DataComponentListResponse: z.ZodObject<{
16591
16591
  data: z.ZodArray<z.ZodObject<{
16592
- name: z.ZodString;
16593
16592
  id: z.ZodString;
16593
+ name: z.ZodString;
16594
16594
  createdAt: z.ZodString;
16595
16595
  updatedAt: z.ZodString;
16596
16596
  description: z.ZodNullable<z.ZodString>;
@@ -16618,8 +16618,8 @@ declare const DataComponentListResponse: z.ZodObject<{
16618
16618
  }, z.core.$strip>;
16619
16619
  declare const ArtifactComponentListResponse: z.ZodObject<{
16620
16620
  data: z.ZodArray<z.ZodObject<{
16621
- name: z.ZodString;
16622
16621
  id: z.ZodString;
16622
+ name: z.ZodString;
16623
16623
  createdAt: z.ZodString;
16624
16624
  updatedAt: z.ZodString;
16625
16625
  description: z.ZodNullable<z.ZodString>;
@@ -16653,11 +16653,11 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
16653
16653
  id: z.ZodString;
16654
16654
  createdAt: z.ZodString;
16655
16655
  updatedAt: z.ZodString;
16656
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
16656
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
16657
16657
  toolId: z.ZodString;
16658
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
16658
16659
  subAgentId: z.ZodString;
16659
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
16660
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
16660
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
16661
16661
  }, z.core.$strip>>;
16662
16662
  pagination: z.ZodObject<{
16663
16663
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -16671,9 +16671,9 @@ declare const ConversationListResponse: z.ZodObject<{
16671
16671
  id: z.ZodString;
16672
16672
  createdAt: z.ZodString;
16673
16673
  updatedAt: z.ZodString;
16674
- title: z.ZodNullable<z.ZodString>;
16675
- metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
16676
16674
  userId: z.ZodNullable<z.ZodString>;
16675
+ metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
16676
+ title: z.ZodNullable<z.ZodString>;
16677
16677
  activeSubAgentId: z.ZodString;
16678
16678
  lastContextResolution: z.ZodNullable<z.ZodString>;
16679
16679
  }, z.core.$strip>>;
@@ -16690,8 +16690,8 @@ declare const MessageListResponse: z.ZodObject<{
16690
16690
  createdAt: z.ZodString;
16691
16691
  updatedAt: z.ZodString;
16692
16692
  metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
16693
- content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
16694
16693
  role: z.ZodString;
16694
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
16695
16695
  conversationId: z.ZodString;
16696
16696
  fromSubAgentId: z.ZodNullable<z.ZodString>;
16697
16697
  toSubAgentId: z.ZodNullable<z.ZodString>;
@@ -16759,8 +16759,8 @@ declare const SubAgentArtifactComponentListResponse: z.ZodObject<{
16759
16759
  }, z.core.$strip>;
16760
16760
  declare const FullProjectDefinitionResponse: z.ZodObject<{
16761
16761
  data: z.ZodObject<{
16762
- name: z.ZodString;
16763
16762
  id: z.ZodString;
16763
+ name: z.ZodString;
16764
16764
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16765
16765
  models: z.ZodObject<{
16766
16766
  base: z.ZodObject<{
@@ -16789,8 +16789,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16789
16789
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16790
16790
  id: z.ZodString;
16791
16791
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
16792
- name: z.ZodString;
16793
16792
  id: z.ZodString;
16793
+ name: z.ZodString;
16794
16794
  createdAt: z.ZodOptional<z.ZodString>;
16795
16795
  updatedAt: z.ZodOptional<z.ZodString>;
16796
16796
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -16843,11 +16843,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16843
16843
  }, z.core.$strip>]>>>;
16844
16844
  }, z.core.$strip>>;
16845
16845
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16846
- name: z.ZodString;
16847
16846
  id: z.ZodString;
16847
+ name: z.ZodString;
16848
16848
  createdAt: z.ZodOptional<z.ZodString>;
16849
16849
  updatedAt: z.ZodOptional<z.ZodString>;
16850
16850
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16851
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16851
16852
  config: z.ZodObject<{
16852
16853
  type: z.ZodLiteral<"mcp">;
16853
16854
  mcp: z.ZodObject<{
@@ -16869,14 +16870,13 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16869
16870
  }, z.core.$strip>;
16870
16871
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16871
16872
  credentialScope: z.ZodOptional<z.ZodString>;
16872
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16873
16873
  imageUrl: z.ZodOptional<z.ZodString>;
16874
16874
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
16875
16875
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16876
16876
  }, z.core.$strip>>>;
16877
16877
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16878
- name: z.ZodString;
16879
16878
  id: z.ZodString;
16879
+ name: z.ZodString;
16880
16880
  createdAt: z.ZodOptional<z.ZodString>;
16881
16881
  updatedAt: z.ZodOptional<z.ZodString>;
16882
16882
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -16889,8 +16889,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16889
16889
  description: z.ZodString;
16890
16890
  }, z.core.$strip>>>;
16891
16891
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16892
- name: z.ZodString;
16893
16892
  id: z.ZodString;
16893
+ name: z.ZodString;
16894
16894
  createdAt: z.ZodOptional<z.ZodString>;
16895
16895
  updatedAt: z.ZodOptional<z.ZodString>;
16896
16896
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -16944,11 +16944,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16944
16944
  prompt: z.ZodOptional<z.ZodString>;
16945
16945
  }, z.core.$strip>>;
16946
16946
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
16947
- name: z.ZodString;
16948
16947
  id: z.ZodString;
16948
+ name: z.ZodString;
16949
16949
  createdAt: z.ZodOptional<z.ZodString>;
16950
16950
  updatedAt: z.ZodOptional<z.ZodString>;
16951
16951
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16952
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16952
16953
  config: z.ZodObject<{
16953
16954
  type: z.ZodLiteral<"mcp">;
16954
16955
  mcp: z.ZodObject<{
@@ -16970,14 +16971,13 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16970
16971
  }, z.core.$strip>;
16971
16972
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16972
16973
  credentialScope: z.ZodOptional<z.ZodString>;
16973
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16974
16974
  imageUrl: z.ZodOptional<z.ZodString>;
16975
16975
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
16976
16976
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16977
16977
  }, z.core.$strip>>;
16978
16978
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16979
- name: z.ZodString;
16980
16979
  id: z.ZodString;
16980
+ name: z.ZodString;
16981
16981
  createdAt: z.ZodOptional<z.ZodString>;
16982
16982
  updatedAt: z.ZodOptional<z.ZodString>;
16983
16983
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -16992,8 +16992,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
16992
16992
  dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
16993
16993
  }, z.core.$strip>>>;
16994
16994
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16995
- name: z.ZodString;
16996
16995
  id: z.ZodString;
16996
+ name: z.ZodString;
16997
16997
  createdAt: z.ZodOptional<z.ZodString>;
16998
16998
  updatedAt: z.ZodOptional<z.ZodString>;
16999
16999
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -17013,8 +17013,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
17013
17013
  }>>>>;
17014
17014
  }, z.core.$strip>>>;
17015
17015
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17016
- name: z.ZodString;
17017
17016
  id: z.ZodString;
17017
+ name: z.ZodString;
17018
17018
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17019
17019
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
17020
17020
  }, {
@@ -17022,8 +17022,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
17022
17022
  in: {};
17023
17023
  }>>>;
17024
17024
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17025
- name: z.ZodString;
17026
17025
  id: z.ZodString;
17026
+ name: z.ZodString;
17027
17027
  createdAt: z.ZodOptional<z.ZodString>;
17028
17028
  updatedAt: z.ZodOptional<z.ZodString>;
17029
17029
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -17046,8 +17046,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
17046
17046
  }, z.core.$strip>>>;
17047
17047
  }, z.core.$strip>>;
17048
17048
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17049
- name: z.ZodString;
17050
17049
  id: z.ZodString;
17050
+ name: z.ZodString;
17051
17051
  createdAt: z.ZodOptional<z.ZodString>;
17052
17052
  updatedAt: z.ZodOptional<z.ZodString>;
17053
17053
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -17078,8 +17078,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
17078
17078
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17079
17079
  id: z.ZodString;
17080
17080
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
17081
- name: z.ZodString;
17082
17081
  id: z.ZodString;
17082
+ name: z.ZodString;
17083
17083
  createdAt: z.ZodOptional<z.ZodString>;
17084
17084
  updatedAt: z.ZodOptional<z.ZodString>;
17085
17085
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -17132,11 +17132,12 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
17132
17132
  }, z.core.$strip>]>>>;
17133
17133
  }, z.core.$strip>>;
17134
17134
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17135
- name: z.ZodString;
17136
17135
  id: z.ZodString;
17136
+ name: z.ZodString;
17137
17137
  createdAt: z.ZodOptional<z.ZodString>;
17138
17138
  updatedAt: z.ZodOptional<z.ZodString>;
17139
17139
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17140
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17140
17141
  config: z.ZodObject<{
17141
17142
  type: z.ZodLiteral<"mcp">;
17142
17143
  mcp: z.ZodObject<{
@@ -17158,14 +17159,13 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
17158
17159
  }, z.core.$strip>;
17159
17160
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17160
17161
  credentialScope: z.ZodOptional<z.ZodString>;
17161
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17162
17162
  imageUrl: z.ZodOptional<z.ZodString>;
17163
17163
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
17164
17164
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17165
17165
  }, z.core.$strip>>>;
17166
17166
  externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17167
- name: z.ZodString;
17168
17167
  id: z.ZodString;
17168
+ name: z.ZodString;
17169
17169
  createdAt: z.ZodOptional<z.ZodString>;
17170
17170
  updatedAt: z.ZodOptional<z.ZodString>;
17171
17171
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -17178,8 +17178,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
17178
17178
  description: z.ZodString;
17179
17179
  }, z.core.$strip>>>;
17180
17180
  functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17181
- name: z.ZodString;
17182
17181
  id: z.ZodString;
17182
+ name: z.ZodString;
17183
17183
  createdAt: z.ZodOptional<z.ZodString>;
17184
17184
  updatedAt: z.ZodOptional<z.ZodString>;
17185
17185
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -17371,7 +17371,7 @@ declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
17371
17371
  id: z.ZodString;
17372
17372
  createdAt: z.ZodString;
17373
17373
  updatedAt: z.ZodString;
17374
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
17374
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
17375
17375
  subAgentId: z.ZodString;
17376
17376
  targetAgentId: z.ZodString;
17377
17377
  }, z.core.$strip>;
@@ -17381,7 +17381,7 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
17381
17381
  id: z.ZodString;
17382
17382
  createdAt: z.ZodString;
17383
17383
  updatedAt: z.ZodString;
17384
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
17384
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
17385
17385
  subAgentId: z.ZodString;
17386
17386
  targetAgentId: z.ZodString;
17387
17387
  }, z.core.$strip>>;
@@ -17397,9 +17397,9 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
17397
17397
  id: z.ZodString;
17398
17398
  createdAt: z.ZodString;
17399
17399
  updatedAt: z.ZodString;
17400
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
17401
- subAgentId: z.ZodString;
17400
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
17402
17401
  externalAgentId: z.ZodString;
17402
+ subAgentId: z.ZodString;
17403
17403
  }, z.core.$strip>;
17404
17404
  }, z.core.$strip>;
17405
17405
  declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
@@ -17407,9 +17407,9 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
17407
17407
  id: z.ZodString;
17408
17408
  createdAt: z.ZodString;
17409
17409
  updatedAt: z.ZodString;
17410
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
17411
- subAgentId: z.ZodString;
17410
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
17412
17411
  externalAgentId: z.ZodString;
17412
+ subAgentId: z.ZodString;
17413
17413
  }, z.core.$strip>>;
17414
17414
  pagination: z.ZodObject<{
17415
17415
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -17420,8 +17420,8 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
17420
17420
  }, z.core.$strip>;
17421
17421
  declare const DataComponentArrayResponse: z.ZodObject<{
17422
17422
  data: z.ZodArray<z.ZodObject<{
17423
- name: z.ZodString;
17424
17423
  id: z.ZodString;
17424
+ name: z.ZodString;
17425
17425
  createdAt: z.ZodString;
17426
17426
  updatedAt: z.ZodString;
17427
17427
  description: z.ZodNullable<z.ZodString>;
@@ -17443,8 +17443,8 @@ declare const DataComponentArrayResponse: z.ZodObject<{
17443
17443
  }, z.core.$strip>;
17444
17444
  declare const ArtifactComponentArrayResponse: z.ZodObject<{
17445
17445
  data: z.ZodArray<z.ZodObject<{
17446
- name: z.ZodString;
17447
17446
  id: z.ZodString;
17447
+ name: z.ZodString;
17448
17448
  createdAt: z.ZodString;
17449
17449
  updatedAt: z.ZodString;
17450
17450
  description: z.ZodNullable<z.ZodString>;