@inkeep/agents-core 0.15.0 → 0.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/{chunk-FLKAMXLV.js → chunk-L53XWAYG.js} +1 -1
  2. package/dist/chunk-R2EERZSW.js +223 -0
  3. package/dist/{chunk-FMCAYVO7.js → chunk-TO2HNKGP.js} +167 -10
  4. package/dist/{chunk-AHSEMW6N.js → chunk-VPJ6Z5QZ.js} +43 -7
  5. package/dist/client-exports.cjs +215 -21
  6. package/dist/client-exports.d.cts +16 -12
  7. package/dist/client-exports.d.ts +16 -12
  8. package/dist/client-exports.js +4 -10
  9. package/dist/db/schema.cjs +42 -6
  10. package/dist/db/schema.d.cts +2 -2
  11. package/dist/db/schema.d.ts +2 -2
  12. package/dist/db/schema.js +1 -1
  13. package/dist/index.cjs +3274 -2819
  14. package/dist/index.d.cts +365 -314
  15. package/dist/index.d.ts +365 -314
  16. package/dist/index.js +2519 -2494
  17. package/dist/props-validation-BMR1qNiy.d.cts +15 -0
  18. package/dist/props-validation-BMR1qNiy.d.ts +15 -0
  19. package/dist/{schema-D0E2bG9V.d.ts → schema-BtdvdyOA.d.ts} +253 -64
  20. package/dist/{schema-CTBfyt-o.d.cts → schema-DVnfWYwH.d.cts} +253 -64
  21. package/dist/types/index.d.cts +2 -2
  22. package/dist/types/index.d.ts +2 -2
  23. package/dist/{utility-BMAHFZX6.d.cts → utility-BaVsvScm.d.cts} +873 -326
  24. package/dist/{utility-BMAHFZX6.d.ts → utility-BaVsvScm.d.ts} +873 -326
  25. package/dist/utils/schema-conversion.cjs +236 -0
  26. package/dist/utils/schema-conversion.d.cts +26 -0
  27. package/dist/utils/schema-conversion.d.ts +26 -0
  28. package/dist/utils/schema-conversion.js +1 -0
  29. package/dist/validation/index.cjs +218 -14
  30. package/dist/validation/index.d.cts +3 -2
  31. package/dist/validation/index.d.ts +3 -2
  32. package/dist/validation/index.js +2 -2
  33. package/drizzle/0002_bumpy_romulus.sql +3 -0
  34. package/drizzle/0003_soft_forgotten_one.sql +39 -0
  35. package/drizzle/0004_melted_omega_flight.sql +3 -0
  36. package/drizzle/meta/0002_snapshot.json +2428 -0
  37. package/drizzle/meta/0003_snapshot.json +2559 -0
  38. package/drizzle/meta/0004_snapshot.json +2547 -0
  39. package/drizzle/meta/_journal.json +21 -0
  40. package/package.json +1 -1
@@ -428,6 +428,29 @@ declare const ProjectModelSchema: z.ZodObject<{
428
428
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
429
429
  }, z.core.$strip>>;
430
430
  }, z.core.$strip>;
431
+ declare const SandboxConfigSchema: z.ZodObject<{
432
+ provider: z.ZodEnum<{
433
+ vercel: "vercel";
434
+ local: "local";
435
+ }>;
436
+ runtime: z.ZodEnum<{
437
+ node22: "node22";
438
+ typescript: "typescript";
439
+ }>;
440
+ timeout: z.ZodOptional<z.ZodNumber>;
441
+ vcpus: z.ZodOptional<z.ZodNumber>;
442
+ }, z.core.$strip>;
443
+ type SandboxConfig = z.infer<typeof SandboxConfigSchema>;
444
+ declare const FunctionToolConfigSchema: z.ZodObject<{
445
+ name: z.ZodString;
446
+ description: z.ZodString;
447
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
448
+ dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
449
+ execute: z.ZodUnion<readonly [z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>, z.ZodString]>;
450
+ }, z.core.$strip>;
451
+ type FunctionToolConfig = Omit<z.infer<typeof FunctionToolConfigSchema>, 'execute'> & {
452
+ execute: ((params: any) => Promise<any>) | string;
453
+ };
431
454
  declare const AgentSelectSchema: drizzle_zod.BuildSchema<"select", {
432
455
  createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
433
456
  name: "created_at";
@@ -765,13 +788,11 @@ declare const AgentUpdateSchema: z.ZodObject<{
765
788
  in: {};
766
789
  }>;
767
790
  declare const AgentApiSelectSchema: z.ZodObject<{
768
- id: z.ZodString;
769
791
  name: z.ZodString;
770
- description: z.ZodString;
771
- prompt: z.ZodString;
792
+ id: z.ZodString;
772
793
  createdAt: z.ZodString;
773
794
  updatedAt: z.ZodString;
774
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
795
+ description: z.ZodString;
775
796
  models: z.ZodNullable<z.ZodType<{
776
797
  base?: {
777
798
  model?: string | undefined;
@@ -834,15 +855,15 @@ declare const AgentApiSelectSchema: z.ZodObject<{
834
855
  }, {
835
856
  stepCountIs?: number | undefined;
836
857
  }>>>;
858
+ prompt: z.ZodString;
859
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
837
860
  }, z.core.$strip>;
838
861
  declare const AgentApiInsertSchema: z.ZodObject<{
839
- id: z.ZodString;
840
862
  name: z.ZodString;
841
- description: z.ZodString;
842
- prompt: z.ZodString;
863
+ id: z.ZodString;
843
864
  createdAt: z.ZodOptional<z.ZodString>;
844
865
  updatedAt: z.ZodOptional<z.ZodString>;
845
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
866
+ description: z.ZodString;
846
867
  models: z.ZodOptional<z.ZodObject<{
847
868
  base: z.ZodOptional<z.ZodObject<{
848
869
  model: z.ZodOptional<z.ZodString>;
@@ -866,15 +887,15 @@ declare const AgentApiInsertSchema: z.ZodObject<{
866
887
  }, {
867
888
  stepCountIs?: number | undefined;
868
889
  }>>>>;
890
+ prompt: z.ZodString;
891
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
869
892
  }, z.core.$strip>;
870
893
  declare const AgentApiUpdateSchema: z.ZodObject<{
871
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
872
894
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
873
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
874
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
895
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
875
896
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
876
897
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
877
- conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
898
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
878
899
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
879
900
  base: z.ZodOptional<z.ZodObject<{
880
901
  model: z.ZodOptional<z.ZodString>;
@@ -898,6 +919,8 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
898
919
  }, {
899
920
  stepCountIs?: number | undefined;
900
921
  }>>>>>>;
922
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
923
+ conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
901
924
  }, z.core.$strip>;
902
925
  declare const AgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
903
926
  createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
@@ -1176,9 +1199,9 @@ declare const ExternalAgentRelationInsertSchema: z.ZodObject<{
1176
1199
  }>;
1177
1200
  declare const ExternalAgentRelationApiInsertSchema: z.ZodObject<{
1178
1201
  id: z.ZodString;
1179
- graphId: z.ZodString;
1180
1202
  createdAt: z.ZodOptional<z.ZodString>;
1181
1203
  updatedAt: z.ZodOptional<z.ZodString>;
1204
+ graphId: z.ZodString;
1182
1205
  sourceAgentId: z.ZodString;
1183
1206
  targetAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1184
1207
  externalAgentId: z.ZodString;
@@ -1760,12 +1783,11 @@ declare const AgentGraphUpdateSchema: z.ZodObject<{
1760
1783
  in: {};
1761
1784
  }>;
1762
1785
  declare const AgentGraphApiSelectSchema: z.ZodObject<{
1763
- id: z.ZodString;
1764
1786
  name: z.ZodString;
1765
- description: z.ZodNullable<z.ZodString>;
1787
+ id: z.ZodString;
1766
1788
  createdAt: z.ZodString;
1767
1789
  updatedAt: z.ZodString;
1768
- defaultAgentId: z.ZodNullable<z.ZodString>;
1790
+ description: z.ZodNullable<z.ZodString>;
1769
1791
  models: z.ZodNullable<z.ZodType<{
1770
1792
  base?: {
1771
1793
  model?: string | undefined;
@@ -1828,6 +1850,7 @@ declare const AgentGraphApiSelectSchema: z.ZodObject<{
1828
1850
  }, {
1829
1851
  transferCountIs?: number | undefined;
1830
1852
  }>>>;
1853
+ defaultAgentId: z.ZodNullable<z.ZodString>;
1831
1854
  contextConfigId: z.ZodNullable<z.ZodString>;
1832
1855
  statusUpdates: z.ZodNullable<z.ZodType<{
1833
1856
  enabled?: boolean | undefined;
@@ -1890,10 +1913,9 @@ declare const AgentGraphApiSelectSchema: z.ZodObject<{
1890
1913
  }, z.core.$strip>;
1891
1914
  declare const AgentGraphApiInsertSchema: z.ZodObject<{
1892
1915
  name: z.ZodString;
1893
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1894
1916
  createdAt: z.ZodOptional<z.ZodString>;
1895
1917
  updatedAt: z.ZodOptional<z.ZodString>;
1896
- defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1918
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1897
1919
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
1898
1920
  base?: {
1899
1921
  model?: string | undefined;
@@ -1956,6 +1978,7 @@ declare const AgentGraphApiInsertSchema: z.ZodObject<{
1956
1978
  }, {
1957
1979
  transferCountIs?: number | undefined;
1958
1980
  }>>>>;
1981
+ defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1959
1982
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1960
1983
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
1961
1984
  enabled?: boolean | undefined;
@@ -2018,12 +2041,11 @@ declare const AgentGraphApiInsertSchema: z.ZodObject<{
2018
2041
  id: z.ZodString;
2019
2042
  }, z.core.$strip>;
2020
2043
  declare const AgentGraphApiUpdateSchema: z.ZodObject<{
2021
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2022
2044
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2023
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2045
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2024
2046
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2025
2047
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2026
- defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2048
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2027
2049
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2028
2050
  base?: {
2029
2051
  model?: string | undefined;
@@ -2086,6 +2108,7 @@ declare const AgentGraphApiUpdateSchema: z.ZodObject<{
2086
2108
  }, {
2087
2109
  transferCountIs?: number | undefined;
2088
2110
  }>>>>>>;
2111
+ defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2089
2112
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2090
2113
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2091
2114
  enabled?: boolean | undefined;
@@ -2372,32 +2395,32 @@ declare const TaskUpdateSchema: z.ZodObject<{
2372
2395
  }>;
2373
2396
  declare const TaskApiSelectSchema: z.ZodObject<{
2374
2397
  id: z.ZodString;
2375
- graphId: z.ZodString;
2376
2398
  createdAt: z.ZodString;
2377
2399
  updatedAt: z.ZodString;
2378
- metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
2400
+ graphId: z.ZodString;
2379
2401
  status: z.ZodString;
2402
+ metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
2380
2403
  contextId: z.ZodString;
2381
2404
  agentId: z.ZodString;
2382
2405
  }, z.core.$strip>;
2383
2406
  declare const TaskApiInsertSchema: z.ZodObject<{
2384
2407
  id: z.ZodString;
2385
- graphId: z.ZodString;
2386
2408
  createdAt: z.ZodOptional<z.ZodString>;
2387
2409
  updatedAt: z.ZodOptional<z.ZodString>;
2388
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
2410
+ graphId: z.ZodString;
2389
2411
  status: z.ZodString;
2412
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
2390
2413
  conversationId: z.ZodOptional<z.ZodString>;
2391
2414
  contextId: z.ZodString;
2392
2415
  agentId: z.ZodString;
2393
2416
  }, z.core.$strip>;
2394
2417
  declare const TaskApiUpdateSchema: z.ZodObject<{
2395
2418
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2396
- graphId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2397
2419
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2398
2420
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2399
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
2421
+ graphId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2400
2422
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2423
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
2401
2424
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2402
2425
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2403
2426
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2685,6 +2708,25 @@ declare const ToolSelectSchema: drizzle_zod.BuildSchema<"select", {
2685
2708
  }, {}, {
2686
2709
  length: number | undefined;
2687
2710
  }>;
2711
+ description: drizzle_orm_sqlite_core.SQLiteColumn<{
2712
+ name: "description";
2713
+ tableName: "tools";
2714
+ dataType: "string";
2715
+ columnType: "SQLiteText";
2716
+ data: string;
2717
+ driverParam: string;
2718
+ notNull: false;
2719
+ hasDefault: false;
2720
+ isPrimaryKey: false;
2721
+ isAutoincrement: false;
2722
+ hasRuntimeDefault: false;
2723
+ enumValues: [string, ...string[]];
2724
+ baseColumn: never;
2725
+ identity: undefined;
2726
+ generated: undefined;
2727
+ }, {}, {
2728
+ length: number | undefined;
2729
+ }>;
2688
2730
  config: drizzle_orm_sqlite_core.SQLiteColumn<{
2689
2731
  name: "config";
2690
2732
  tableName: "tools";
@@ -2693,6 +2735,13 @@ declare const ToolSelectSchema: drizzle_zod.BuildSchema<"select", {
2693
2735
  data: {
2694
2736
  type: "mcp";
2695
2737
  mcp: ToolMcpConfig;
2738
+ } | {
2739
+ type: "function";
2740
+ function?: {
2741
+ inputSchema: Record<string, unknown>;
2742
+ executeCode: string;
2743
+ dependencies: Record<string, unknown>;
2744
+ };
2696
2745
  };
2697
2746
  driverParam: Buffer<ArrayBufferLike>;
2698
2747
  notNull: true;
@@ -2708,8 +2757,34 @@ declare const ToolSelectSchema: drizzle_zod.BuildSchema<"select", {
2708
2757
  $type: {
2709
2758
  type: "mcp";
2710
2759
  mcp: ToolMcpConfig;
2760
+ } | {
2761
+ type: "function";
2762
+ function?: {
2763
+ inputSchema: Record<string, unknown>;
2764
+ executeCode: string;
2765
+ dependencies: Record<string, unknown>;
2766
+ };
2711
2767
  };
2712
2768
  }>;
2769
+ functionId: drizzle_orm_sqlite_core.SQLiteColumn<{
2770
+ name: "function_id";
2771
+ tableName: "tools";
2772
+ dataType: "string";
2773
+ columnType: "SQLiteText";
2774
+ data: string;
2775
+ driverParam: string;
2776
+ notNull: false;
2777
+ hasDefault: false;
2778
+ isPrimaryKey: false;
2779
+ isAutoincrement: false;
2780
+ hasRuntimeDefault: false;
2781
+ enumValues: [string, ...string[]];
2782
+ baseColumn: never;
2783
+ identity: undefined;
2784
+ generated: undefined;
2785
+ }, {}, {
2786
+ length: number | undefined;
2787
+ }>;
2713
2788
  credentialReferenceId: drizzle_orm_sqlite_core.SQLiteColumn<{
2714
2789
  name: "credential_reference_id";
2715
2790
  tableName: "tools";
@@ -2867,19 +2942,7 @@ declare const ToolInsertSchema: z.ZodObject<{
2867
2942
  createdAt: z.ZodOptional<z.ZodString>;
2868
2943
  updatedAt: z.ZodOptional<z.ZodString>;
2869
2944
  name: z.ZodString;
2870
- config: z.ZodType<{
2871
- type: "mcp";
2872
- mcp: ToolMcpConfig;
2873
- }, {
2874
- type: "mcp";
2875
- mcp: ToolMcpConfig;
2876
- }, z.core.$ZodTypeInternals<{
2877
- type: "mcp";
2878
- mcp: ToolMcpConfig;
2879
- }, {
2880
- type: "mcp";
2881
- mcp: ToolMcpConfig;
2882
- }>>;
2945
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2883
2946
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2884
2947
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
2885
2948
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -2888,6 +2951,28 @@ declare const ToolInsertSchema: z.ZodObject<{
2888
2951
  tenantId: z.ZodString;
2889
2952
  id: z.ZodString;
2890
2953
  imageUrl: z.ZodOptional<z.ZodString>;
2954
+ functionId: z.ZodOptional<z.ZodString>;
2955
+ config: z.ZodDiscriminatedUnion<[z.ZodObject<{
2956
+ type: z.ZodLiteral<"mcp">;
2957
+ mcp: z.ZodObject<{
2958
+ server: z.ZodObject<{
2959
+ url: z.ZodString;
2960
+ }, z.core.$strip>;
2961
+ transport: z.ZodOptional<z.ZodObject<{
2962
+ type: z.ZodEnum<{
2963
+ readonly streamableHttp: "streamable_http";
2964
+ readonly sse: "sse";
2965
+ }>;
2966
+ requestInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2967
+ eventSourceInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2968
+ reconnectionOptions: z.ZodOptional<z.ZodCustom<StreamableHTTPReconnectionOptions, StreamableHTTPReconnectionOptions>>;
2969
+ sessionId: z.ZodOptional<z.ZodString>;
2970
+ }, z.core.$strip>>;
2971
+ activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
2972
+ }, z.core.$strip>;
2973
+ }, z.core.$strip>, z.ZodObject<{
2974
+ type: z.ZodLiteral<"function">;
2975
+ }, z.core.$strip>], "type">;
2891
2976
  }, {
2892
2977
  out: {};
2893
2978
  in: {};
@@ -3130,8 +3215,8 @@ declare const ConversationApiInsertSchema: z.ZodObject<{
3130
3215
  id: z.ZodString;
3131
3216
  createdAt: z.ZodOptional<z.ZodString>;
3132
3217
  updatedAt: z.ZodOptional<z.ZodString>;
3133
- contextConfigId: z.ZodOptional<z.ZodString>;
3134
3218
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3219
+ contextConfigId: z.ZodOptional<z.ZodString>;
3135
3220
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
3136
3221
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3137
3222
  activeAgentId: z.ZodString;
@@ -3141,8 +3226,8 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
3141
3226
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3142
3227
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3143
3228
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3144
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3145
3229
  title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3230
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3146
3231
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
3147
3232
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3148
3233
  activeAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4154,9 +4239,9 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
4154
4239
  }>;
4155
4240
  declare const ContextCacheApiSelectSchema: z.ZodObject<{
4156
4241
  id: z.ZodString;
4157
- value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
4158
4242
  createdAt: z.ZodString;
4159
4243
  updatedAt: z.ZodString;
4244
+ value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
4160
4245
  contextConfigId: z.ZodString;
4161
4246
  conversationId: z.ZodString;
4162
4247
  contextVariableKey: z.ZodString;
@@ -4167,9 +4252,9 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<{
4167
4252
  }, z.core.$strip>;
4168
4253
  declare const ContextCacheApiInsertSchema: z.ZodObject<{
4169
4254
  id: z.ZodString;
4170
- value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
4171
4255
  createdAt: z.ZodOptional<z.ZodString>;
4172
4256
  updatedAt: z.ZodOptional<z.ZodString>;
4257
+ value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
4173
4258
  contextConfigId: z.ZodString;
4174
4259
  conversationId: z.ZodString;
4175
4260
  contextVariableKey: z.ZodString;
@@ -4180,9 +4265,9 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<{
4180
4265
  }, z.core.$strip>;
4181
4266
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
4182
4267
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4183
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
4184
4268
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4185
4269
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4270
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
4186
4271
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4187
4272
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4188
4273
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4359,10 +4444,10 @@ declare const DataComponentInsertSchema: z.ZodObject<{
4359
4444
  in: {};
4360
4445
  }>;
4361
4446
  declare const DataComponentBaseSchema: z.ZodObject<{
4362
- tenantId: z.ZodString;
4363
- projectId: z.ZodString;
4364
- id: z.ZodString;
4365
4447
  name: z.ZodString;
4448
+ id: z.ZodString;
4449
+ projectId: z.ZodString;
4450
+ tenantId: z.ZodString;
4366
4451
  description: z.ZodString;
4367
4452
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4368
4453
  }, {
@@ -4383,27 +4468,27 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
4383
4468
  in: {};
4384
4469
  }>;
4385
4470
  declare const DataComponentApiSelectSchema: z.ZodObject<{
4386
- id: z.ZodString;
4387
4471
  name: z.ZodString;
4388
- description: z.ZodString;
4472
+ id: z.ZodString;
4389
4473
  createdAt: z.ZodString;
4390
4474
  updatedAt: z.ZodString;
4475
+ description: z.ZodString;
4391
4476
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
4392
4477
  }, z.core.$strip>;
4393
4478
  declare const DataComponentApiInsertSchema: z.ZodObject<{
4394
- id: z.ZodString;
4395
4479
  name: z.ZodString;
4396
- description: z.ZodString;
4480
+ id: z.ZodString;
4397
4481
  createdAt: z.ZodOptional<z.ZodString>;
4398
4482
  updatedAt: z.ZodOptional<z.ZodString>;
4483
+ description: z.ZodString;
4399
4484
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4400
4485
  }, z.core.$strip>;
4401
4486
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
4402
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4403
4487
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4404
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4488
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4405
4489
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4406
4490
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4491
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4407
4492
  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>>>>>>>;
4408
4493
  }, z.core.$strip>;
4409
4494
  declare const AgentDataComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -4747,27 +4832,8 @@ declare const ArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
4747
4832
  }, {}, {
4748
4833
  length: number | undefined;
4749
4834
  }>;
4750
- summaryProps: drizzle_orm_sqlite_core.SQLiteColumn<{
4751
- name: "summary_props";
4752
- tableName: "artifact_components";
4753
- dataType: "json";
4754
- columnType: "SQLiteBlobJson";
4755
- data: Record<string, unknown>;
4756
- driverParam: Buffer<ArrayBufferLike>;
4757
- notNull: false;
4758
- hasDefault: false;
4759
- isPrimaryKey: false;
4760
- isAutoincrement: false;
4761
- hasRuntimeDefault: false;
4762
- enumValues: undefined;
4763
- baseColumn: never;
4764
- identity: undefined;
4765
- generated: undefined;
4766
- }, {}, {
4767
- $type: Record<string, unknown>;
4768
- }>;
4769
- fullProps: drizzle_orm_sqlite_core.SQLiteColumn<{
4770
- name: "full_props";
4835
+ props: drizzle_orm_sqlite_core.SQLiteColumn<{
4836
+ name: "props";
4771
4837
  tableName: "artifact_components";
4772
4838
  dataType: "json";
4773
4839
  columnType: "SQLiteBlobJson";
@@ -4884,8 +4950,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
4884
4950
  declare const ArtifactComponentInsertSchema: z.ZodObject<{
4885
4951
  createdAt: z.ZodOptional<z.ZodString>;
4886
4952
  updatedAt: z.ZodOptional<z.ZodString>;
4887
- summaryProps: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4888
- fullProps: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4953
+ props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4889
4954
  name: z.ZodString;
4890
4955
  description: z.ZodString;
4891
4956
  projectId: z.ZodString;
@@ -4898,8 +4963,7 @@ declare const ArtifactComponentInsertSchema: z.ZodObject<{
4898
4963
  declare const ArtifactComponentUpdateSchema: z.ZodObject<{
4899
4964
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4900
4965
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4901
- summaryProps: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>;
4902
- fullProps: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>;
4966
+ props: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>;
4903
4967
  name: z.ZodOptional<z.ZodString>;
4904
4968
  description: z.ZodOptional<z.ZodString>;
4905
4969
  projectId: z.ZodOptional<z.ZodString>;
@@ -4910,32 +4974,29 @@ declare const ArtifactComponentUpdateSchema: z.ZodObject<{
4910
4974
  in: {};
4911
4975
  }>;
4912
4976
  declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
4913
- id: z.ZodString;
4914
4977
  name: z.ZodString;
4915
- description: z.ZodString;
4978
+ id: z.ZodString;
4916
4979
  createdAt: z.ZodString;
4917
4980
  updatedAt: z.ZodString;
4918
- summaryProps: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
4919
- fullProps: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
4981
+ description: z.ZodString;
4982
+ props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
4920
4983
  }, z.core.$strip>;
4921
4984
  declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
4922
- id: z.ZodString;
4923
4985
  name: z.ZodString;
4986
+ id: z.ZodString;
4924
4987
  description: z.ZodString;
4925
- summaryProps: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4926
- fullProps: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4988
+ props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4927
4989
  }, {
4928
4990
  out: {};
4929
4991
  in: {};
4930
4992
  }>;
4931
4993
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
4932
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4933
4994
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4934
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4995
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4935
4996
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4936
4997
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4937
- summaryProps: 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>>>>>>>;
4938
- fullProps: 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>>>>>>>;
4998
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4999
+ 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>>>>>>>;
4939
5000
  }, z.core.$strip>;
4940
5001
  declare const AgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
4941
5002
  artifactComponentId: drizzle_orm_sqlite_core.SQLiteColumn<{
@@ -5165,43 +5226,41 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
5165
5226
  in: {};
5166
5227
  }>;
5167
5228
  declare const ExternalAgentApiSelectSchema: z.ZodObject<{
5168
- id: z.ZodString;
5169
5229
  name: z.ZodString;
5170
- description: z.ZodString;
5171
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5230
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
5231
+ id: z.ZodString;
5172
5232
  createdAt: z.ZodString;
5173
5233
  updatedAt: z.ZodString;
5234
+ description: z.ZodString;
5235
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5174
5236
  baseUrl: z.ZodString;
5175
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
5176
5237
  }, z.core.$strip>;
5177
5238
  declare const ExternalAgentApiInsertSchema: z.ZodObject<{
5178
- id: z.ZodString;
5179
5239
  name: z.ZodString;
5180
- description: z.ZodString;
5181
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5240
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
5241
+ id: z.ZodString;
5182
5242
  createdAt: z.ZodOptional<z.ZodString>;
5183
5243
  updatedAt: z.ZodOptional<z.ZodString>;
5244
+ description: z.ZodString;
5245
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5184
5246
  baseUrl: z.ZodString;
5185
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
5186
5247
  }, z.core.$strip>;
5187
5248
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
5188
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5189
5249
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5190
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5191
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5250
+ 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>>>>>>>;
5251
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5192
5252
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5193
5253
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5254
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5255
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5194
5256
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5195
- 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>>>>>>>;
5196
5257
  }, z.core.$strip>;
5197
5258
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5198
- id: z.ZodString;
5199
5259
  name: z.ZodString;
5200
- description: z.ZodString;
5201
- prompt: z.ZodString;
5260
+ id: z.ZodString;
5202
5261
  createdAt: z.ZodString;
5203
5262
  updatedAt: z.ZodString;
5204
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
5263
+ description: z.ZodString;
5205
5264
  models: z.ZodNullable<z.ZodType<{
5206
5265
  base?: {
5207
5266
  model?: string | undefined;
@@ -5264,16 +5323,18 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5264
5323
  }, {
5265
5324
  stepCountIs?: number | undefined;
5266
5325
  }>>>;
5326
+ prompt: z.ZodString;
5327
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
5267
5328
  type: z.ZodLiteral<"internal">;
5268
5329
  }, z.core.$strip>, z.ZodObject<{
5269
- id: z.ZodString;
5270
5330
  name: z.ZodString;
5271
- description: z.ZodString;
5272
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5331
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
5332
+ id: z.ZodString;
5273
5333
  createdAt: z.ZodString;
5274
5334
  updatedAt: z.ZodString;
5335
+ description: z.ZodString;
5336
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5275
5337
  baseUrl: z.ZodString;
5276
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
5277
5338
  type: z.ZodLiteral<"external">;
5278
5339
  }, z.core.$strip>], "type">;
5279
5340
  declare const ApiKeySelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -5525,24 +5586,24 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
5525
5586
  }>;
5526
5587
  declare const ApiKeyUpdateSchema: z.ZodObject<{
5527
5588
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5589
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5528
5590
  graphId: z.ZodOptional<z.ZodString>;
5529
5591
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5530
5592
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5531
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5532
5593
  }, {
5533
5594
  out: {};
5534
5595
  in: {};
5535
5596
  }>;
5536
5597
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
5537
- id: z.ZodString;
5538
5598
  name: z.ZodNullable<z.ZodString>;
5599
+ id: z.ZodString;
5600
+ createdAt: z.ZodString;
5601
+ updatedAt: z.ZodString;
5539
5602
  graphId: z.ZodString;
5540
5603
  publicId: z.ZodString;
5541
5604
  keyPrefix: z.ZodString;
5542
5605
  lastUsedAt: z.ZodNullable<z.ZodString>;
5543
5606
  expiresAt: z.ZodNullable<z.ZodString>;
5544
- createdAt: z.ZodString;
5545
- updatedAt: z.ZodString;
5546
5607
  }, {
5547
5608
  out: {};
5548
5609
  in: {};
@@ -5550,15 +5611,15 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
5550
5611
  declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
5551
5612
  data: z.ZodObject<{
5552
5613
  apiKey: z.ZodObject<{
5553
- id: z.ZodString;
5554
5614
  name: z.ZodNullable<z.ZodString>;
5615
+ id: z.ZodString;
5616
+ createdAt: z.ZodString;
5617
+ updatedAt: z.ZodString;
5555
5618
  graphId: z.ZodString;
5556
5619
  publicId: z.ZodString;
5557
5620
  keyPrefix: z.ZodString;
5558
5621
  lastUsedAt: z.ZodNullable<z.ZodString>;
5559
5622
  expiresAt: z.ZodNullable<z.ZodString>;
5560
- createdAt: z.ZodString;
5561
- updatedAt: z.ZodString;
5562
5623
  }, {
5563
5624
  out: {};
5564
5625
  in: {};
@@ -5568,20 +5629,20 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
5568
5629
  }, z.core.$strip>;
5569
5630
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
5570
5631
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5571
- graphId: z.ZodString;
5572
- expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5573
5632
  createdAt: z.ZodOptional<z.ZodString>;
5574
5633
  updatedAt: z.ZodOptional<z.ZodString>;
5634
+ graphId: z.ZodString;
5635
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5575
5636
  }, {
5576
5637
  out: {};
5577
5638
  in: {};
5578
5639
  }>;
5579
5640
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
5580
5641
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5642
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5581
5643
  graphId: z.ZodOptional<z.ZodString>;
5582
5644
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5583
5645
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5584
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5585
5646
  }, {
5586
5647
  out: {};
5587
5648
  in: {};
@@ -5624,10 +5685,10 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
5624
5685
  }>;
5625
5686
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
5626
5687
  id: z.ZodString;
5627
- createdAt: z.ZodString;
5628
- updatedAt: z.ZodString;
5629
5688
  credentialStoreId: z.ZodString;
5630
5689
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5690
+ createdAt: z.ZodString;
5691
+ updatedAt: z.ZodString;
5631
5692
  type: z.ZodEnum<{
5632
5693
  readonly memory: "memory";
5633
5694
  readonly keychain: "keychain";
@@ -5691,21 +5752,47 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
5691
5752
  }, {}, {
5692
5753
  length: number | undefined;
5693
5754
  }>;
5694
- config: drizzle_orm_sqlite_core.SQLiteColumn<{
5695
- name: "config";
5755
+ description: drizzle_orm_sqlite_core.SQLiteColumn<{
5756
+ name: "description";
5696
5757
  tableName: "tools";
5697
- dataType: "json";
5698
- columnType: "SQLiteBlobJson";
5699
- data: {
5700
- type: "mcp";
5701
- mcp: ToolMcpConfig;
5702
- };
5703
- driverParam: Buffer<ArrayBufferLike>;
5704
- notNull: true;
5705
- hasDefault: false;
5706
- isPrimaryKey: false;
5707
- isAutoincrement: false;
5708
- hasRuntimeDefault: false;
5758
+ dataType: "string";
5759
+ columnType: "SQLiteText";
5760
+ data: string;
5761
+ driverParam: string;
5762
+ notNull: false;
5763
+ hasDefault: false;
5764
+ isPrimaryKey: false;
5765
+ isAutoincrement: false;
5766
+ hasRuntimeDefault: false;
5767
+ enumValues: [string, ...string[]];
5768
+ baseColumn: never;
5769
+ identity: undefined;
5770
+ generated: undefined;
5771
+ }, {}, {
5772
+ length: number | undefined;
5773
+ }>;
5774
+ config: drizzle_orm_sqlite_core.SQLiteColumn<{
5775
+ name: "config";
5776
+ tableName: "tools";
5777
+ dataType: "json";
5778
+ columnType: "SQLiteBlobJson";
5779
+ data: {
5780
+ type: "mcp";
5781
+ mcp: ToolMcpConfig;
5782
+ } | {
5783
+ type: "function";
5784
+ function?: {
5785
+ inputSchema: Record<string, unknown>;
5786
+ executeCode: string;
5787
+ dependencies: Record<string, unknown>;
5788
+ };
5789
+ };
5790
+ driverParam: Buffer<ArrayBufferLike>;
5791
+ notNull: true;
5792
+ hasDefault: false;
5793
+ isPrimaryKey: false;
5794
+ isAutoincrement: false;
5795
+ hasRuntimeDefault: false;
5709
5796
  enumValues: undefined;
5710
5797
  baseColumn: never;
5711
5798
  identity: undefined;
@@ -5714,8 +5801,34 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
5714
5801
  $type: {
5715
5802
  type: "mcp";
5716
5803
  mcp: ToolMcpConfig;
5804
+ } | {
5805
+ type: "function";
5806
+ function?: {
5807
+ inputSchema: Record<string, unknown>;
5808
+ executeCode: string;
5809
+ dependencies: Record<string, unknown>;
5810
+ };
5717
5811
  };
5718
5812
  }>;
5813
+ functionId: drizzle_orm_sqlite_core.SQLiteColumn<{
5814
+ name: "function_id";
5815
+ tableName: "tools";
5816
+ dataType: "string";
5817
+ columnType: "SQLiteText";
5818
+ data: string;
5819
+ driverParam: string;
5820
+ notNull: false;
5821
+ hasDefault: false;
5822
+ isPrimaryKey: false;
5823
+ isAutoincrement: false;
5824
+ hasRuntimeDefault: false;
5825
+ enumValues: [string, ...string[]];
5826
+ baseColumn: never;
5827
+ identity: undefined;
5828
+ generated: undefined;
5829
+ }, {}, {
5830
+ length: number | undefined;
5831
+ }>;
5719
5832
  credentialReferenceId: drizzle_orm_sqlite_core.SQLiteColumn<{
5720
5833
  name: "credential_reference_id";
5721
5834
  tableName: "tools";
@@ -5872,10 +5985,10 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
5872
5985
  }, z.core.$strip>;
5873
5986
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
5874
5987
  id: z.ZodString;
5875
- createdAt: z.ZodOptional<z.ZodString>;
5876
- updatedAt: z.ZodOptional<z.ZodString>;
5877
5988
  credentialStoreId: z.ZodString;
5878
5989
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5990
+ createdAt: z.ZodOptional<z.ZodString>;
5991
+ updatedAt: z.ZodOptional<z.ZodString>;
5879
5992
  type: z.ZodEnum<{
5880
5993
  readonly memory: "memory";
5881
5994
  readonly keychain: "keychain";
@@ -5884,10 +5997,10 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
5884
5997
  }, z.core.$strip>;
5885
5998
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
5886
5999
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5887
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5888
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5889
6000
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5890
6001
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
6002
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6003
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5891
6004
  type: z.ZodOptional<z.ZodEnum<{
5892
6005
  readonly memory: "memory";
5893
6006
  readonly keychain: "keychain";
@@ -5896,19 +6009,7 @@ declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
5896
6009
  }, z.core.$strip>;
5897
6010
  declare const McpToolSchema: z.ZodObject<{
5898
6011
  name: z.ZodString;
5899
- config: z.ZodType<{
5900
- type: "mcp";
5901
- mcp: ToolMcpConfig;
5902
- }, {
5903
- type: "mcp";
5904
- mcp: ToolMcpConfig;
5905
- }, z.core.$ZodTypeInternals<{
5906
- type: "mcp";
5907
- mcp: ToolMcpConfig;
5908
- }, {
5909
- type: "mcp";
5910
- mcp: ToolMcpConfig;
5911
- }>>;
6012
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5912
6013
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5913
6014
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
5914
6015
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -5916,6 +6017,28 @@ declare const McpToolSchema: z.ZodObject<{
5916
6017
  projectId: z.ZodString;
5917
6018
  tenantId: z.ZodString;
5918
6019
  id: z.ZodString;
6020
+ functionId: z.ZodOptional<z.ZodString>;
6021
+ config: z.ZodDiscriminatedUnion<[z.ZodObject<{
6022
+ type: z.ZodLiteral<"mcp">;
6023
+ mcp: z.ZodObject<{
6024
+ server: z.ZodObject<{
6025
+ url: z.ZodString;
6026
+ }, z.core.$strip>;
6027
+ transport: z.ZodOptional<z.ZodObject<{
6028
+ type: z.ZodEnum<{
6029
+ readonly streamableHttp: "streamable_http";
6030
+ readonly sse: "sse";
6031
+ }>;
6032
+ requestInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6033
+ eventSourceInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6034
+ reconnectionOptions: z.ZodOptional<z.ZodCustom<StreamableHTTPReconnectionOptions, StreamableHTTPReconnectionOptions>>;
6035
+ sessionId: z.ZodOptional<z.ZodString>;
6036
+ }, z.core.$strip>>;
6037
+ activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
6038
+ }, z.core.$strip>;
6039
+ }, z.core.$strip>, z.ZodObject<{
6040
+ type: z.ZodLiteral<"function">;
6041
+ }, z.core.$strip>], "type">;
5919
6042
  imageUrl: z.ZodOptional<z.ZodString>;
5920
6043
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
5921
6044
  name: z.ZodString;
@@ -5936,10 +6059,11 @@ declare const McpToolSchema: z.ZodObject<{
5936
6059
  in: {};
5937
6060
  }>;
5938
6061
  declare const MCPToolConfigSchema: z.ZodObject<{
5939
- id: z.ZodString;
5940
6062
  name: z.ZodString;
5941
6063
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
6064
+ id: z.ZodString;
5942
6065
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
6066
+ functionId: z.ZodOptional<z.ZodString>;
5943
6067
  imageUrl: z.ZodOptional<z.ZodString>;
5944
6068
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5945
6069
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -5968,10 +6092,10 @@ declare const MCPToolConfigSchema: z.ZodObject<{
5968
6092
  }, z.core.$strip>>;
5969
6093
  credential: z.ZodOptional<z.ZodObject<{
5970
6094
  id: z.ZodString;
5971
- createdAt: z.ZodOptional<z.ZodString>;
5972
- updatedAt: z.ZodOptional<z.ZodString>;
5973
6095
  credentialStoreId: z.ZodString;
5974
6096
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6097
+ createdAt: z.ZodOptional<z.ZodString>;
6098
+ updatedAt: z.ZodOptional<z.ZodString>;
5975
6099
  type: z.ZodEnum<{
5976
6100
  readonly memory: "memory";
5977
6101
  readonly keychain: "keychain";
@@ -5986,19 +6110,7 @@ declare const ToolUpdateSchema: z.ZodObject<{
5986
6110
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5987
6111
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5988
6112
  name: z.ZodOptional<z.ZodString>;
5989
- config: z.ZodOptional<z.ZodType<{
5990
- type: "mcp";
5991
- mcp: ToolMcpConfig;
5992
- }, {
5993
- type: "mcp";
5994
- mcp: ToolMcpConfig;
5995
- }, z.core.$ZodTypeInternals<{
5996
- type: "mcp";
5997
- mcp: ToolMcpConfig;
5998
- }, {
5999
- type: "mcp";
6000
- mcp: ToolMcpConfig;
6001
- }>>>;
6113
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
6002
6114
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
6003
6115
  headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>;
6004
6116
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>;
@@ -6007,81 +6119,357 @@ declare const ToolUpdateSchema: z.ZodObject<{
6007
6119
  tenantId: z.ZodOptional<z.ZodString>;
6008
6120
  id: z.ZodOptional<z.ZodString>;
6009
6121
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6122
+ functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6123
+ config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
6124
+ type: z.ZodLiteral<"mcp">;
6125
+ mcp: z.ZodObject<{
6126
+ server: z.ZodObject<{
6127
+ url: z.ZodString;
6128
+ }, z.core.$strip>;
6129
+ transport: z.ZodOptional<z.ZodObject<{
6130
+ type: z.ZodEnum<{
6131
+ readonly streamableHttp: "streamable_http";
6132
+ readonly sse: "sse";
6133
+ }>;
6134
+ requestInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6135
+ eventSourceInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6136
+ reconnectionOptions: z.ZodOptional<z.ZodCustom<StreamableHTTPReconnectionOptions, StreamableHTTPReconnectionOptions>>;
6137
+ sessionId: z.ZodOptional<z.ZodString>;
6138
+ }, z.core.$strip>>;
6139
+ activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
6140
+ }, z.core.$strip>;
6141
+ }, z.core.$strip>, z.ZodObject<{
6142
+ type: z.ZodLiteral<"function">;
6143
+ }, z.core.$strip>], "type">>;
6010
6144
  }, {
6011
6145
  out: {};
6012
6146
  in: {};
6013
6147
  }>;
6014
6148
  declare const ToolApiSelectSchema: z.ZodObject<{
6015
- id: z.ZodString;
6016
6149
  name: z.ZodString;
6150
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
6151
+ id: z.ZodString;
6152
+ createdAt: z.ZodString;
6153
+ updatedAt: z.ZodString;
6154
+ description: z.ZodNullable<z.ZodString>;
6155
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
6156
+ capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
6017
6157
  config: z.ZodType<{
6018
6158
  type: "mcp";
6019
6159
  mcp: ToolMcpConfig;
6160
+ } | {
6161
+ type: "function";
6162
+ function?: {
6163
+ inputSchema: Record<string, unknown>;
6164
+ executeCode: string;
6165
+ dependencies: Record<string, unknown>;
6166
+ };
6020
6167
  }, {
6021
6168
  type: "mcp";
6022
6169
  mcp: ToolMcpConfig;
6170
+ } | {
6171
+ type: "function";
6172
+ function?: {
6173
+ inputSchema: Record<string, unknown>;
6174
+ executeCode: string;
6175
+ dependencies: Record<string, unknown>;
6176
+ };
6023
6177
  }, z.core.$ZodTypeInternals<{
6024
6178
  type: "mcp";
6025
6179
  mcp: ToolMcpConfig;
6180
+ } | {
6181
+ type: "function";
6182
+ function?: {
6183
+ inputSchema: Record<string, unknown>;
6184
+ executeCode: string;
6185
+ dependencies: Record<string, unknown>;
6186
+ };
6026
6187
  }, {
6027
6188
  type: "mcp";
6028
6189
  mcp: ToolMcpConfig;
6190
+ } | {
6191
+ type: "function";
6192
+ function?: {
6193
+ inputSchema: Record<string, unknown>;
6194
+ executeCode: string;
6195
+ dependencies: Record<string, unknown>;
6196
+ };
6029
6197
  }>>;
6030
- credentialReferenceId: z.ZodNullable<z.ZodString>;
6031
- createdAt: z.ZodString;
6032
- updatedAt: z.ZodString;
6033
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
6034
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
6198
+ functionId: z.ZodNullable<z.ZodString>;
6035
6199
  imageUrl: z.ZodNullable<z.ZodString>;
6036
6200
  lastError: z.ZodNullable<z.ZodString>;
6037
6201
  }, z.core.$strip>;
6038
6202
  declare const ToolApiInsertSchema: z.ZodObject<{
6039
- id: z.ZodString;
6040
6203
  name: z.ZodString;
6041
- config: z.ZodType<{
6042
- type: "mcp";
6043
- mcp: ToolMcpConfig;
6044
- }, {
6045
- type: "mcp";
6046
- mcp: ToolMcpConfig;
6047
- }, z.core.$ZodTypeInternals<{
6048
- type: "mcp";
6049
- mcp: ToolMcpConfig;
6050
- }, {
6051
- type: "mcp";
6052
- mcp: ToolMcpConfig;
6053
- }>>;
6054
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6204
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
6205
+ id: z.ZodString;
6055
6206
  createdAt: z.ZodOptional<z.ZodString>;
6056
6207
  updatedAt: z.ZodOptional<z.ZodString>;
6057
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
6208
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6209
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6058
6210
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
6211
+ config: z.ZodDiscriminatedUnion<[z.ZodObject<{
6212
+ type: z.ZodLiteral<"mcp">;
6213
+ mcp: z.ZodObject<{
6214
+ server: z.ZodObject<{
6215
+ url: z.ZodString;
6216
+ }, z.core.$strip>;
6217
+ transport: z.ZodOptional<z.ZodObject<{
6218
+ type: z.ZodEnum<{
6219
+ readonly streamableHttp: "streamable_http";
6220
+ readonly sse: "sse";
6221
+ }>;
6222
+ requestInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6223
+ eventSourceInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6224
+ reconnectionOptions: z.ZodOptional<z.ZodCustom<StreamableHTTPReconnectionOptions, StreamableHTTPReconnectionOptions>>;
6225
+ sessionId: z.ZodOptional<z.ZodString>;
6226
+ }, z.core.$strip>>;
6227
+ activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
6228
+ }, z.core.$strip>;
6229
+ }, z.core.$strip>, z.ZodObject<{
6230
+ type: z.ZodLiteral<"function">;
6231
+ }, z.core.$strip>], "type">;
6232
+ functionId: z.ZodOptional<z.ZodString>;
6059
6233
  imageUrl: z.ZodOptional<z.ZodString>;
6060
6234
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6061
6235
  }, z.core.$strip>;
6062
6236
  declare const ToolApiUpdateSchema: z.ZodObject<{
6237
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6238
+ 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>>>>>>>;
6239
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6240
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6241
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6242
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6243
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6244
+ capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
6245
+ config: z.ZodOptional<z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
6246
+ type: z.ZodLiteral<"mcp">;
6247
+ mcp: z.ZodObject<{
6248
+ server: z.ZodObject<{
6249
+ url: z.ZodString;
6250
+ }, z.core.$strip>;
6251
+ transport: z.ZodOptional<z.ZodObject<{
6252
+ type: z.ZodEnum<{
6253
+ readonly streamableHttp: "streamable_http";
6254
+ readonly sse: "sse";
6255
+ }>;
6256
+ requestInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6257
+ eventSourceInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6258
+ reconnectionOptions: z.ZodOptional<z.ZodCustom<StreamableHTTPReconnectionOptions, StreamableHTTPReconnectionOptions>>;
6259
+ sessionId: z.ZodOptional<z.ZodString>;
6260
+ }, z.core.$strip>>;
6261
+ activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
6262
+ }, z.core.$strip>;
6263
+ }, z.core.$strip>, z.ZodObject<{
6264
+ type: z.ZodLiteral<"function">;
6265
+ }, z.core.$strip>], "type">>>;
6266
+ functionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6267
+ imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6268
+ lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6269
+ }, z.core.$strip>;
6270
+ declare const FunctionSelectSchema: drizzle_zod.BuildSchema<"select", {
6271
+ createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
6272
+ name: "created_at";
6273
+ tableName: "functions";
6274
+ dataType: "string";
6275
+ columnType: "SQLiteText";
6276
+ data: string;
6277
+ driverParam: string;
6278
+ notNull: true;
6279
+ hasDefault: true;
6280
+ isPrimaryKey: false;
6281
+ isAutoincrement: false;
6282
+ hasRuntimeDefault: false;
6283
+ enumValues: [string, ...string[]];
6284
+ baseColumn: never;
6285
+ identity: undefined;
6286
+ generated: undefined;
6287
+ }, {}, {
6288
+ length: number | undefined;
6289
+ }>;
6290
+ updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
6291
+ name: "updated_at";
6292
+ tableName: "functions";
6293
+ dataType: "string";
6294
+ columnType: "SQLiteText";
6295
+ data: string;
6296
+ driverParam: string;
6297
+ notNull: true;
6298
+ hasDefault: true;
6299
+ isPrimaryKey: false;
6300
+ isAutoincrement: false;
6301
+ hasRuntimeDefault: false;
6302
+ enumValues: [string, ...string[]];
6303
+ baseColumn: never;
6304
+ identity: undefined;
6305
+ generated: undefined;
6306
+ }, {}, {
6307
+ length: number | undefined;
6308
+ }>;
6309
+ inputSchema: drizzle_orm_sqlite_core.SQLiteColumn<{
6310
+ name: "input_schema";
6311
+ tableName: "functions";
6312
+ dataType: "json";
6313
+ columnType: "SQLiteBlobJson";
6314
+ data: Record<string, unknown>;
6315
+ driverParam: Buffer<ArrayBufferLike>;
6316
+ notNull: false;
6317
+ hasDefault: false;
6318
+ isPrimaryKey: false;
6319
+ isAutoincrement: false;
6320
+ hasRuntimeDefault: false;
6321
+ enumValues: undefined;
6322
+ baseColumn: never;
6323
+ identity: undefined;
6324
+ generated: undefined;
6325
+ }, {}, {
6326
+ $type: Record<string, unknown>;
6327
+ }>;
6328
+ executeCode: drizzle_orm_sqlite_core.SQLiteColumn<{
6329
+ name: "execute_code";
6330
+ tableName: "functions";
6331
+ dataType: "string";
6332
+ columnType: "SQLiteText";
6333
+ data: string;
6334
+ driverParam: string;
6335
+ notNull: true;
6336
+ hasDefault: false;
6337
+ isPrimaryKey: false;
6338
+ isAutoincrement: false;
6339
+ hasRuntimeDefault: false;
6340
+ enumValues: [string, ...string[]];
6341
+ baseColumn: never;
6342
+ identity: undefined;
6343
+ generated: undefined;
6344
+ }, {}, {
6345
+ length: number | undefined;
6346
+ }>;
6347
+ dependencies: drizzle_orm_sqlite_core.SQLiteColumn<{
6348
+ name: "dependencies";
6349
+ tableName: "functions";
6350
+ dataType: "json";
6351
+ columnType: "SQLiteBlobJson";
6352
+ data: Record<string, string>;
6353
+ driverParam: Buffer<ArrayBufferLike>;
6354
+ notNull: false;
6355
+ hasDefault: false;
6356
+ isPrimaryKey: false;
6357
+ isAutoincrement: false;
6358
+ hasRuntimeDefault: false;
6359
+ enumValues: undefined;
6360
+ baseColumn: never;
6361
+ identity: undefined;
6362
+ generated: undefined;
6363
+ }, {}, {
6364
+ $type: Record<string, string>;
6365
+ }>;
6366
+ projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
6367
+ name: "project_id";
6368
+ tableName: "functions";
6369
+ dataType: "string";
6370
+ columnType: "SQLiteText";
6371
+ data: string;
6372
+ driverParam: string;
6373
+ notNull: true;
6374
+ hasDefault: false;
6375
+ isPrimaryKey: false;
6376
+ isAutoincrement: false;
6377
+ hasRuntimeDefault: false;
6378
+ enumValues: [string, ...string[]];
6379
+ baseColumn: never;
6380
+ identity: undefined;
6381
+ generated: undefined;
6382
+ }, {}, {
6383
+ length: number | undefined;
6384
+ }>;
6385
+ tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
6386
+ name: "tenant_id";
6387
+ tableName: "functions";
6388
+ dataType: "string";
6389
+ columnType: "SQLiteText";
6390
+ data: string;
6391
+ driverParam: string;
6392
+ notNull: true;
6393
+ hasDefault: false;
6394
+ isPrimaryKey: false;
6395
+ isAutoincrement: false;
6396
+ hasRuntimeDefault: false;
6397
+ enumValues: [string, ...string[]];
6398
+ baseColumn: never;
6399
+ identity: undefined;
6400
+ generated: undefined;
6401
+ }, {}, {
6402
+ length: number | undefined;
6403
+ }>;
6404
+ id: drizzle_orm_sqlite_core.SQLiteColumn<{
6405
+ name: "id";
6406
+ tableName: "functions";
6407
+ dataType: "string";
6408
+ columnType: "SQLiteText";
6409
+ data: string;
6410
+ driverParam: string;
6411
+ notNull: true;
6412
+ hasDefault: false;
6413
+ isPrimaryKey: false;
6414
+ isAutoincrement: false;
6415
+ hasRuntimeDefault: false;
6416
+ enumValues: [string, ...string[]];
6417
+ baseColumn: never;
6418
+ identity: undefined;
6419
+ generated: undefined;
6420
+ }, {}, {
6421
+ length: number | undefined;
6422
+ }>;
6423
+ }, undefined, undefined>;
6424
+ declare const FunctionInsertSchema: z.ZodObject<{
6425
+ createdAt: z.ZodOptional<z.ZodString>;
6426
+ updatedAt: z.ZodOptional<z.ZodString>;
6427
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
6428
+ executeCode: z.ZodString;
6429
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
6430
+ projectId: z.ZodString;
6431
+ tenantId: z.ZodString;
6432
+ id: z.ZodString;
6433
+ }, {
6434
+ out: {};
6435
+ in: {};
6436
+ }>;
6437
+ declare const FunctionUpdateSchema: z.ZodObject<{
6438
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6439
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6440
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>;
6441
+ executeCode: z.ZodOptional<z.ZodString>;
6442
+ dependencies: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>;
6443
+ projectId: z.ZodOptional<z.ZodString>;
6444
+ tenantId: z.ZodOptional<z.ZodString>;
6445
+ id: z.ZodOptional<z.ZodString>;
6446
+ }, {
6447
+ out: {};
6448
+ in: {};
6449
+ }>;
6450
+ declare const FunctionApiSelectSchema: z.ZodObject<{
6451
+ id: z.ZodString;
6452
+ createdAt: z.ZodString;
6453
+ updatedAt: z.ZodString;
6454
+ inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
6455
+ executeCode: z.ZodString;
6456
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
6457
+ }, z.core.$strip>;
6458
+ declare const FunctionApiInsertSchema: z.ZodObject<{
6459
+ id: z.ZodString;
6460
+ createdAt: z.ZodOptional<z.ZodString>;
6461
+ updatedAt: z.ZodOptional<z.ZodString>;
6462
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
6463
+ executeCode: z.ZodString;
6464
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
6465
+ }, z.core.$strip>;
6466
+ declare const FunctionApiUpdateSchema: z.ZodObject<{
6063
6467
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6064
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6065
- config: z.ZodOptional<z.ZodOptional<z.ZodType<{
6066
- type: "mcp";
6067
- mcp: ToolMcpConfig;
6068
- }, {
6069
- type: "mcp";
6070
- mcp: ToolMcpConfig;
6071
- }, z.core.$ZodTypeInternals<{
6072
- type: "mcp";
6073
- mcp: ToolMcpConfig;
6074
- }, {
6075
- type: "mcp";
6076
- mcp: ToolMcpConfig;
6077
- }>>>>;
6078
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6079
6468
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6080
6469
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6081
- 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>>>>>>>;
6082
- capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
6083
- imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6084
- lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6470
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
6471
+ executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6472
+ dependencies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
6085
6473
  }, z.core.$strip>;
6086
6474
  declare const FetchConfigSchema: z.ZodObject<{
6087
6475
  url: z.ZodString;
@@ -6122,10 +6510,10 @@ declare const FetchDefinitionSchema: z.ZodObject<{
6122
6510
  defaultValue: z.ZodOptional<z.ZodUnknown>;
6123
6511
  credential: z.ZodOptional<z.ZodObject<{
6124
6512
  id: z.ZodString;
6125
- createdAt: z.ZodOptional<z.ZodString>;
6126
- updatedAt: z.ZodOptional<z.ZodString>;
6127
6513
  credentialStoreId: z.ZodString;
6128
6514
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6515
+ createdAt: z.ZodOptional<z.ZodString>;
6516
+ updatedAt: z.ZodOptional<z.ZodString>;
6129
6517
  type: z.ZodEnum<{
6130
6518
  readonly memory: "memory";
6131
6519
  readonly keychain: "keychain";
@@ -6137,64 +6525,52 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
6137
6525
  createdAt: z.ZodString;
6138
6526
  updatedAt: z.ZodString;
6139
6527
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
6140
- name: z.ZodString;
6141
- description: z.ZodString;
6142
6528
  graphId: z.ZodString;
6143
6529
  projectId: z.ZodString;
6144
6530
  tenantId: z.ZodString;
6145
6531
  id: z.ZodString;
6146
- requestContextSchema: z.ZodOptional<z.ZodUnknown>;
6532
+ headersSchema: z.ZodOptional<z.ZodUnknown>;
6147
6533
  }, {
6148
6534
  out: {};
6149
6535
  in: {};
6150
6536
  }>;
6151
6537
  declare const ContextConfigInsertSchema: z.ZodObject<{
6152
- tenantId: z.ZodString;
6538
+ id: z.ZodOptional<z.ZodString>;
6153
6539
  projectId: z.ZodString;
6154
- id: z.ZodString;
6155
- name: z.ZodString;
6156
- description: z.ZodString;
6157
- graphId: z.ZodString;
6158
- requestContextSchema: z.ZodOptional<z.ZodUnknown>;
6540
+ tenantId: z.ZodString;
6541
+ headersSchema: z.ZodOptional<z.ZodUnknown>;
6159
6542
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
6543
+ graphId: z.ZodString;
6160
6544
  }, {
6161
6545
  out: {};
6162
6546
  in: {};
6163
6547
  }>;
6164
6548
  declare const ContextConfigUpdateSchema: z.ZodObject<{
6165
- tenantId: z.ZodOptional<z.ZodString>;
6549
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6166
6550
  projectId: z.ZodOptional<z.ZodString>;
6167
- id: z.ZodOptional<z.ZodString>;
6168
- name: z.ZodOptional<z.ZodString>;
6169
- description: z.ZodOptional<z.ZodString>;
6170
- graphId: z.ZodOptional<z.ZodString>;
6171
- requestContextSchema: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
6551
+ tenantId: z.ZodOptional<z.ZodString>;
6552
+ headersSchema: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
6172
6553
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>>;
6554
+ graphId: z.ZodOptional<z.ZodString>;
6173
6555
  }, {
6174
6556
  out: {};
6175
6557
  in: {};
6176
6558
  }>;
6177
6559
  declare const ContextConfigApiSelectSchema: z.ZodObject<{
6178
6560
  id: z.ZodString;
6179
- name: z.ZodString;
6180
- description: z.ZodString;
6181
6561
  createdAt: z.ZodString;
6182
6562
  updatedAt: z.ZodString;
6183
- requestContextSchema: z.ZodOptional<z.ZodUnknown>;
6563
+ headersSchema: z.ZodOptional<z.ZodUnknown>;
6184
6564
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
6185
6565
  }, z.core.$strip>;
6186
6566
  declare const ContextConfigApiInsertSchema: z.ZodObject<{
6187
- id: z.ZodString;
6188
- name: z.ZodString;
6189
- description: z.ZodString;
6190
- requestContextSchema: z.ZodOptional<z.ZodUnknown>;
6567
+ id: z.ZodOptional<z.ZodString>;
6568
+ headersSchema: z.ZodOptional<z.ZodUnknown>;
6191
6569
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
6192
6570
  }, z.core.$strip>;
6193
6571
  declare const ContextConfigApiUpdateSchema: z.ZodObject<{
6194
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6195
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6196
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6197
- requestContextSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodUnknown>>>;
6572
+ id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6573
+ headersSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodUnknown>>>;
6198
6574
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>>>;
6199
6575
  }, z.core.$strip>;
6200
6576
  declare const AgentToolRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -6420,31 +6796,31 @@ declare const AgentToolRelationUpdateSchema: z.ZodObject<{
6420
6796
  in: {};
6421
6797
  }>;
6422
6798
  declare const AgentToolRelationApiSelectSchema: z.ZodObject<{
6799
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
6423
6800
  id: z.ZodString;
6424
6801
  createdAt: z.ZodString;
6425
6802
  updatedAt: z.ZodString;
6426
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
6427
- toolId: z.ZodString;
6428
6803
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
6429
6804
  agentId: z.ZodString;
6805
+ toolId: z.ZodString;
6430
6806
  }, z.core.$strip>;
6431
6807
  declare const AgentToolRelationApiInsertSchema: z.ZodObject<{
6808
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
6432
6809
  id: z.ZodString;
6433
6810
  createdAt: z.ZodOptional<z.ZodString>;
6434
6811
  updatedAt: z.ZodOptional<z.ZodString>;
6435
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
6436
- toolId: z.ZodString;
6437
6812
  selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
6438
6813
  agentId: z.ZodString;
6814
+ toolId: z.ZodString;
6439
6815
  }, z.core.$strip>;
6440
6816
  declare const AgentToolRelationApiUpdateSchema: z.ZodObject<{
6817
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
6441
6818
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6442
6819
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6443
6820
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6444
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
6445
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6446
6821
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
6447
6822
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6823
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6448
6824
  }, z.core.$strip>;
6449
6825
  declare const LedgerArtifactSelectSchema: drizzle_zod.BuildSchema<"select", {
6450
6826
  createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
@@ -7158,12 +7534,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
7158
7534
  in: {};
7159
7535
  }>;
7160
7536
  declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
7161
- id: z.ZodString;
7162
7537
  type: z.ZodString;
7163
7538
  name: z.ZodNullable<z.ZodString>;
7164
- description: z.ZodNullable<z.ZodString>;
7539
+ id: z.ZodString;
7165
7540
  createdAt: z.ZodString;
7166
7541
  updatedAt: z.ZodString;
7542
+ description: z.ZodNullable<z.ZodString>;
7167
7543
  metadata: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7168
7544
  contextId: z.ZodString;
7169
7545
  visibility: z.ZodNullable<z.ZodString>;
@@ -7176,12 +7552,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
7176
7552
  derivedFrom: z.ZodNullable<z.ZodString>;
7177
7553
  }, z.core.$strip>;
7178
7554
  declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
7179
- id: z.ZodString;
7180
7555
  type: z.ZodOptional<z.ZodString>;
7181
7556
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7182
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7557
+ id: z.ZodString;
7183
7558
  createdAt: z.ZodOptional<z.ZodString>;
7184
7559
  updatedAt: z.ZodOptional<z.ZodString>;
7560
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7185
7561
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
7186
7562
  contextId: z.ZodString;
7187
7563
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -7194,12 +7570,12 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
7194
7570
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7195
7571
  }, z.core.$strip>;
7196
7572
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
7197
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7198
7573
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7199
7574
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7200
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7575
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7201
7576
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7202
7577
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7578
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7203
7579
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>>;
7204
7580
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7205
7581
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -7242,13 +7618,11 @@ declare const CanUseItemSchema: z.ZodObject<{
7242
7618
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7243
7619
  }, z.core.$strip>;
7244
7620
  declare const FullGraphAgentInsertSchema: z.ZodObject<{
7245
- id: z.ZodString;
7246
7621
  name: z.ZodString;
7247
- description: z.ZodString;
7248
- prompt: z.ZodString;
7622
+ id: z.ZodString;
7249
7623
  createdAt: z.ZodOptional<z.ZodString>;
7250
7624
  updatedAt: z.ZodOptional<z.ZodString>;
7251
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7625
+ description: z.ZodString;
7252
7626
  models: z.ZodOptional<z.ZodObject<{
7253
7627
  base: z.ZodOptional<z.ZodObject<{
7254
7628
  model: z.ZodOptional<z.ZodString>;
@@ -7272,6 +7646,8 @@ declare const FullGraphAgentInsertSchema: z.ZodObject<{
7272
7646
  }, {
7273
7647
  stepCountIs?: number | undefined;
7274
7648
  }>>>>;
7649
+ prompt: z.ZodString;
7650
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7275
7651
  type: z.ZodLiteral<"internal">;
7276
7652
  canUse: z.ZodArray<z.ZodObject<{
7277
7653
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -7286,20 +7662,18 @@ declare const FullGraphAgentInsertSchema: z.ZodObject<{
7286
7662
  }, z.core.$strip>;
7287
7663
  declare const FullGraphDefinitionSchema: z.ZodObject<{
7288
7664
  name: z.ZodString;
7289
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7290
7665
  createdAt: z.ZodOptional<z.ZodString>;
7291
7666
  updatedAt: z.ZodOptional<z.ZodString>;
7667
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7292
7668
  defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7293
7669
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7294
7670
  id: z.ZodString;
7295
7671
  agents: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
7296
- id: z.ZodString;
7297
7672
  name: z.ZodString;
7298
- description: z.ZodString;
7299
- prompt: z.ZodString;
7673
+ id: z.ZodString;
7300
7674
  createdAt: z.ZodOptional<z.ZodString>;
7301
7675
  updatedAt: z.ZodOptional<z.ZodString>;
7302
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7676
+ description: z.ZodString;
7303
7677
  models: z.ZodOptional<z.ZodObject<{
7304
7678
  base: z.ZodOptional<z.ZodObject<{
7305
7679
  model: z.ZodOptional<z.ZodString>;
@@ -7323,6 +7697,8 @@ declare const FullGraphDefinitionSchema: z.ZodObject<{
7323
7697
  }, {
7324
7698
  stepCountIs?: number | undefined;
7325
7699
  }>>>>;
7700
+ prompt: z.ZodString;
7701
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7326
7702
  type: z.ZodLiteral<"internal">;
7327
7703
  canUse: z.ZodArray<z.ZodObject<{
7328
7704
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -7335,20 +7711,60 @@ declare const FullGraphDefinitionSchema: z.ZodObject<{
7335
7711
  canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
7336
7712
  canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
7337
7713
  }, z.core.$strip>, z.ZodObject<{
7338
- id: z.ZodString;
7339
7714
  name: z.ZodString;
7340
- description: z.ZodString;
7341
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7715
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7716
+ id: z.ZodString;
7342
7717
  createdAt: z.ZodOptional<z.ZodString>;
7343
7718
  updatedAt: z.ZodOptional<z.ZodString>;
7719
+ description: z.ZodString;
7720
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7344
7721
  baseUrl: z.ZodString;
7345
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7346
7722
  }, z.core.$strip>]>>;
7347
- contextConfig: z.ZodOptional<z.ZodObject<{
7348
- id: z.ZodString;
7723
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7349
7724
  name: z.ZodString;
7350
- description: z.ZodString;
7351
- requestContextSchema: z.ZodOptional<z.ZodUnknown>;
7725
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7726
+ id: z.ZodString;
7727
+ createdAt: z.ZodOptional<z.ZodString>;
7728
+ updatedAt: z.ZodOptional<z.ZodString>;
7729
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7730
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7731
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
7732
+ config: z.ZodDiscriminatedUnion<[z.ZodObject<{
7733
+ type: z.ZodLiteral<"mcp">;
7734
+ mcp: z.ZodObject<{
7735
+ server: z.ZodObject<{
7736
+ url: z.ZodString;
7737
+ }, z.core.$strip>;
7738
+ transport: z.ZodOptional<z.ZodObject<{
7739
+ type: z.ZodEnum<{
7740
+ readonly streamableHttp: "streamable_http";
7741
+ readonly sse: "sse";
7742
+ }>;
7743
+ requestInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7744
+ eventSourceInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7745
+ reconnectionOptions: z.ZodOptional<z.ZodCustom<StreamableHTTPReconnectionOptions, StreamableHTTPReconnectionOptions>>;
7746
+ sessionId: z.ZodOptional<z.ZodString>;
7747
+ }, z.core.$strip>>;
7748
+ activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
7749
+ }, z.core.$strip>;
7750
+ }, z.core.$strip>, z.ZodObject<{
7751
+ type: z.ZodLiteral<"function">;
7752
+ }, z.core.$strip>], "type">;
7753
+ functionId: z.ZodOptional<z.ZodString>;
7754
+ imageUrl: z.ZodOptional<z.ZodString>;
7755
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7756
+ }, z.core.$strip>>>;
7757
+ functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7758
+ id: z.ZodString;
7759
+ createdAt: z.ZodOptional<z.ZodString>;
7760
+ updatedAt: z.ZodOptional<z.ZodString>;
7761
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
7762
+ executeCode: z.ZodString;
7763
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7764
+ }, z.core.$strip>>>;
7765
+ contextConfig: z.ZodOptional<z.ZodObject<{
7766
+ id: z.ZodOptional<z.ZodString>;
7767
+ headersSchema: z.ZodOptional<z.ZodUnknown>;
7352
7768
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
7353
7769
  }, z.core.$strip>>;
7354
7770
  statusUpdates: z.ZodOptional<z.ZodObject<{
@@ -7387,20 +7803,18 @@ declare const FullGraphDefinitionSchema: z.ZodObject<{
7387
7803
  }, z.core.$strip>;
7388
7804
  declare const GraphWithinContextOfProjectSchema: z.ZodObject<{
7389
7805
  name: z.ZodString;
7390
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7391
7806
  createdAt: z.ZodOptional<z.ZodString>;
7392
7807
  updatedAt: z.ZodOptional<z.ZodString>;
7808
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7393
7809
  defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7394
7810
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7395
7811
  id: z.ZodString;
7396
7812
  agents: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
7397
- id: z.ZodString;
7398
7813
  name: z.ZodString;
7399
- description: z.ZodString;
7400
- prompt: z.ZodString;
7814
+ id: z.ZodString;
7401
7815
  createdAt: z.ZodOptional<z.ZodString>;
7402
7816
  updatedAt: z.ZodOptional<z.ZodString>;
7403
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7817
+ description: z.ZodString;
7404
7818
  models: z.ZodOptional<z.ZodObject<{
7405
7819
  base: z.ZodOptional<z.ZodObject<{
7406
7820
  model: z.ZodOptional<z.ZodString>;
@@ -7424,6 +7838,8 @@ declare const GraphWithinContextOfProjectSchema: z.ZodObject<{
7424
7838
  }, {
7425
7839
  stepCountIs?: number | undefined;
7426
7840
  }>>>>;
7841
+ prompt: z.ZodString;
7842
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7427
7843
  type: z.ZodLiteral<"internal">;
7428
7844
  canUse: z.ZodArray<z.ZodObject<{
7429
7845
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -7436,21 +7852,19 @@ declare const GraphWithinContextOfProjectSchema: z.ZodObject<{
7436
7852
  canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
7437
7853
  canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
7438
7854
  }, z.core.$strip>, z.ZodObject<{
7439
- id: z.ZodString;
7440
7855
  name: z.ZodString;
7441
- description: z.ZodString;
7442
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7856
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7857
+ id: z.ZodString;
7443
7858
  createdAt: z.ZodOptional<z.ZodString>;
7444
7859
  updatedAt: z.ZodOptional<z.ZodString>;
7860
+ description: z.ZodString;
7861
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7445
7862
  baseUrl: z.ZodString;
7446
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7447
7863
  type: z.ZodLiteral<"external">;
7448
7864
  }, z.core.$strip>], "type">>;
7449
7865
  contextConfig: z.ZodOptional<z.ZodObject<{
7450
- id: z.ZodString;
7451
- name: z.ZodString;
7452
- description: z.ZodString;
7453
- requestContextSchema: z.ZodOptional<z.ZodUnknown>;
7866
+ id: z.ZodOptional<z.ZodString>;
7867
+ headersSchema: z.ZodOptional<z.ZodUnknown>;
7454
7868
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
7455
7869
  }, z.core.$strip>>;
7456
7870
  statusUpdates: z.ZodOptional<z.ZodObject<{
@@ -7626,6 +8040,35 @@ declare const ProjectSelectSchema: drizzle_zod.BuildSchema<"select", {
7626
8040
  stepCountIs?: number | undefined;
7627
8041
  };
7628
8042
  }>;
8043
+ sandboxConfig: drizzle_orm_sqlite_core.SQLiteColumn<{
8044
+ name: "sandbox_config";
8045
+ tableName: "projects";
8046
+ dataType: "json";
8047
+ columnType: "SQLiteTextJson";
8048
+ data: {
8049
+ provider: "vercel" | "daytona" | "local";
8050
+ runtime: "node22" | "typescript";
8051
+ timeout?: number;
8052
+ vcpus?: number;
8053
+ };
8054
+ driverParam: string;
8055
+ notNull: false;
8056
+ hasDefault: false;
8057
+ isPrimaryKey: false;
8058
+ isAutoincrement: false;
8059
+ hasRuntimeDefault: false;
8060
+ enumValues: undefined;
8061
+ baseColumn: never;
8062
+ identity: undefined;
8063
+ generated: undefined;
8064
+ }, {}, {
8065
+ $type: {
8066
+ provider: "vercel" | "daytona" | "local";
8067
+ runtime: "node22" | "typescript";
8068
+ timeout?: number;
8069
+ vcpus?: number;
8070
+ };
8071
+ }>;
7629
8072
  name: drizzle_orm_sqlite_core.SQLiteColumn<{
7630
8073
  name: "name";
7631
8074
  tableName: "projects";
@@ -7704,9 +8147,9 @@ declare const ProjectSelectSchema: drizzle_zod.BuildSchema<"select", {
7704
8147
  }>;
7705
8148
  }, undefined, undefined>;
7706
8149
  declare const ProjectInsertSchema: z.ZodObject<{
7707
- tenantId: z.ZodString;
7708
- id: z.ZodString;
7709
8150
  name: z.ZodString;
8151
+ id: z.ZodString;
8152
+ tenantId: z.ZodString;
7710
8153
  description: z.ZodString;
7711
8154
  models: z.ZodObject<{
7712
8155
  base: z.ZodObject<{
@@ -7726,14 +8169,26 @@ declare const ProjectInsertSchema: z.ZodObject<{
7726
8169
  transferCountIs: z.ZodOptional<z.ZodNumber>;
7727
8170
  stepCountIs: z.ZodOptional<z.ZodNumber>;
7728
8171
  }, z.core.$strip>>;
8172
+ sandboxConfig: z.ZodOptional<z.ZodObject<{
8173
+ provider: z.ZodEnum<{
8174
+ vercel: "vercel";
8175
+ local: "local";
8176
+ }>;
8177
+ runtime: z.ZodEnum<{
8178
+ node22: "node22";
8179
+ typescript: "typescript";
8180
+ }>;
8181
+ timeout: z.ZodOptional<z.ZodNumber>;
8182
+ vcpus: z.ZodOptional<z.ZodNumber>;
8183
+ }, z.core.$strip>>;
7729
8184
  }, {
7730
8185
  out: {};
7731
8186
  in: {};
7732
8187
  }>;
7733
8188
  declare const ProjectUpdateSchema: z.ZodObject<{
7734
- tenantId: z.ZodOptional<z.ZodString>;
7735
- id: z.ZodOptional<z.ZodString>;
7736
8189
  name: z.ZodOptional<z.ZodString>;
8190
+ id: z.ZodOptional<z.ZodString>;
8191
+ tenantId: z.ZodOptional<z.ZodString>;
7737
8192
  description: z.ZodOptional<z.ZodString>;
7738
8193
  models: z.ZodOptional<z.ZodObject<{
7739
8194
  base: z.ZodObject<{
@@ -7753,16 +8208,28 @@ declare const ProjectUpdateSchema: z.ZodObject<{
7753
8208
  transferCountIs: z.ZodOptional<z.ZodNumber>;
7754
8209
  stepCountIs: z.ZodOptional<z.ZodNumber>;
7755
8210
  }, z.core.$strip>>>;
8211
+ sandboxConfig: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8212
+ provider: z.ZodEnum<{
8213
+ vercel: "vercel";
8214
+ local: "local";
8215
+ }>;
8216
+ runtime: z.ZodEnum<{
8217
+ node22: "node22";
8218
+ typescript: "typescript";
8219
+ }>;
8220
+ timeout: z.ZodOptional<z.ZodNumber>;
8221
+ vcpus: z.ZodOptional<z.ZodNumber>;
8222
+ }, z.core.$strip>>>;
7756
8223
  }, {
7757
8224
  out: {};
7758
8225
  in: {};
7759
8226
  }>;
7760
8227
  declare const ProjectApiSelectSchema: z.ZodObject<{
7761
- id: z.ZodString;
7762
8228
  name: z.ZodString;
7763
- description: z.ZodString;
8229
+ id: z.ZodString;
7764
8230
  createdAt: z.ZodString;
7765
8231
  updatedAt: z.ZodString;
8232
+ description: z.ZodString;
7766
8233
  models: z.ZodNullable<z.ZodType<{
7767
8234
  base: {
7768
8235
  model?: string | undefined;
@@ -7829,13 +8296,34 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
7829
8296
  transferCountIs?: number | undefined;
7830
8297
  stepCountIs?: number | undefined;
7831
8298
  }>>>;
8299
+ sandboxConfig: z.ZodNullable<z.ZodType<{
8300
+ provider: "vercel" | "daytona" | "local";
8301
+ runtime: "node22" | "typescript";
8302
+ timeout?: number;
8303
+ vcpus?: number;
8304
+ }, {
8305
+ provider: "vercel" | "daytona" | "local";
8306
+ runtime: "node22" | "typescript";
8307
+ timeout?: number;
8308
+ vcpus?: number;
8309
+ }, z.core.$ZodTypeInternals<{
8310
+ provider: "vercel" | "daytona" | "local";
8311
+ runtime: "node22" | "typescript";
8312
+ timeout?: number;
8313
+ vcpus?: number;
8314
+ }, {
8315
+ provider: "vercel" | "daytona" | "local";
8316
+ runtime: "node22" | "typescript";
8317
+ timeout?: number;
8318
+ vcpus?: number;
8319
+ }>>>;
7832
8320
  }, {
7833
8321
  out: {};
7834
8322
  in: {};
7835
8323
  }>;
7836
8324
  declare const ProjectApiInsertSchema: z.ZodObject<{
7837
- id: z.ZodString;
7838
8325
  name: z.ZodString;
8326
+ id: z.ZodString;
7839
8327
  description: z.ZodString;
7840
8328
  models: z.ZodObject<{
7841
8329
  base: z.ZodObject<{
@@ -7855,13 +8343,25 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
7855
8343
  transferCountIs: z.ZodOptional<z.ZodNumber>;
7856
8344
  stepCountIs: z.ZodOptional<z.ZodNumber>;
7857
8345
  }, z.core.$strip>>;
8346
+ sandboxConfig: z.ZodOptional<z.ZodObject<{
8347
+ provider: z.ZodEnum<{
8348
+ vercel: "vercel";
8349
+ local: "local";
8350
+ }>;
8351
+ runtime: z.ZodEnum<{
8352
+ node22: "node22";
8353
+ typescript: "typescript";
8354
+ }>;
8355
+ timeout: z.ZodOptional<z.ZodNumber>;
8356
+ vcpus: z.ZodOptional<z.ZodNumber>;
8357
+ }, z.core.$strip>>;
7858
8358
  }, {
7859
8359
  out: {};
7860
8360
  in: {};
7861
8361
  }>;
7862
8362
  declare const ProjectApiUpdateSchema: z.ZodObject<{
7863
- id: z.ZodOptional<z.ZodString>;
7864
8363
  name: z.ZodOptional<z.ZodString>;
8364
+ id: z.ZodOptional<z.ZodString>;
7865
8365
  description: z.ZodOptional<z.ZodString>;
7866
8366
  models: z.ZodOptional<z.ZodObject<{
7867
8367
  base: z.ZodObject<{
@@ -7881,13 +8381,25 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
7881
8381
  transferCountIs: z.ZodOptional<z.ZodNumber>;
7882
8382
  stepCountIs: z.ZodOptional<z.ZodNumber>;
7883
8383
  }, z.core.$strip>>>;
8384
+ sandboxConfig: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8385
+ provider: z.ZodEnum<{
8386
+ vercel: "vercel";
8387
+ local: "local";
8388
+ }>;
8389
+ runtime: z.ZodEnum<{
8390
+ node22: "node22";
8391
+ typescript: "typescript";
8392
+ }>;
8393
+ timeout: z.ZodOptional<z.ZodNumber>;
8394
+ vcpus: z.ZodOptional<z.ZodNumber>;
8395
+ }, z.core.$strip>>>;
7884
8396
  }, {
7885
8397
  out: {};
7886
8398
  in: {};
7887
8399
  }>;
7888
8400
  declare const FullProjectDefinitionSchema: z.ZodObject<{
7889
- id: z.ZodString;
7890
8401
  name: z.ZodString;
8402
+ id: z.ZodString;
7891
8403
  description: z.ZodString;
7892
8404
  models: z.ZodObject<{
7893
8405
  base: z.ZodObject<{
@@ -7907,22 +8419,32 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
7907
8419
  transferCountIs: z.ZodOptional<z.ZodNumber>;
7908
8420
  stepCountIs: z.ZodOptional<z.ZodNumber>;
7909
8421
  }, z.core.$strip>>;
8422
+ sandboxConfig: z.ZodOptional<z.ZodObject<{
8423
+ provider: z.ZodEnum<{
8424
+ vercel: "vercel";
8425
+ local: "local";
8426
+ }>;
8427
+ runtime: z.ZodEnum<{
8428
+ node22: "node22";
8429
+ typescript: "typescript";
8430
+ }>;
8431
+ timeout: z.ZodOptional<z.ZodNumber>;
8432
+ vcpus: z.ZodOptional<z.ZodNumber>;
8433
+ }, z.core.$strip>>;
7910
8434
  graphs: z.ZodRecord<z.ZodString, z.ZodObject<{
7911
8435
  name: z.ZodString;
7912
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7913
8436
  createdAt: z.ZodOptional<z.ZodString>;
7914
8437
  updatedAt: z.ZodOptional<z.ZodString>;
8438
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7915
8439
  defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7916
8440
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7917
8441
  id: z.ZodString;
7918
8442
  agents: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
7919
- id: z.ZodString;
7920
8443
  name: z.ZodString;
7921
- description: z.ZodString;
7922
- prompt: z.ZodString;
8444
+ id: z.ZodString;
7923
8445
  createdAt: z.ZodOptional<z.ZodString>;
7924
8446
  updatedAt: z.ZodOptional<z.ZodString>;
7925
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
8447
+ description: z.ZodString;
7926
8448
  models: z.ZodOptional<z.ZodObject<{
7927
8449
  base: z.ZodOptional<z.ZodObject<{
7928
8450
  model: z.ZodOptional<z.ZodString>;
@@ -7946,6 +8468,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
7946
8468
  }, {
7947
8469
  stepCountIs?: number | undefined;
7948
8470
  }>>>>;
8471
+ prompt: z.ZodString;
8472
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7949
8473
  type: z.ZodLiteral<"internal">;
7950
8474
  canUse: z.ZodArray<z.ZodObject<{
7951
8475
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -7958,21 +8482,19 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
7958
8482
  canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
7959
8483
  canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
7960
8484
  }, z.core.$strip>, z.ZodObject<{
7961
- id: z.ZodString;
7962
8485
  name: z.ZodString;
7963
- description: z.ZodString;
7964
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8486
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8487
+ id: z.ZodString;
7965
8488
  createdAt: z.ZodOptional<z.ZodString>;
7966
8489
  updatedAt: z.ZodOptional<z.ZodString>;
8490
+ description: z.ZodString;
8491
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7967
8492
  baseUrl: z.ZodString;
7968
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7969
8493
  type: z.ZodLiteral<"external">;
7970
8494
  }, z.core.$strip>], "type">>;
7971
8495
  contextConfig: z.ZodOptional<z.ZodObject<{
7972
- id: z.ZodString;
7973
- name: z.ZodString;
7974
- description: z.ZodString;
7975
- requestContextSchema: z.ZodOptional<z.ZodUnknown>;
8496
+ id: z.ZodOptional<z.ZodString>;
8497
+ headersSchema: z.ZodOptional<z.ZodUnknown>;
7976
8498
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
7977
8499
  }, z.core.$strip>>;
7978
8500
  statusUpdates: z.ZodOptional<z.ZodObject<{
@@ -8010,43 +8532,60 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8010
8532
  graphPrompt: z.ZodOptional<z.ZodString>;
8011
8533
  }, z.core.$strip>>;
8012
8534
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
8013
- id: z.ZodString;
8014
8535
  name: z.ZodString;
8015
- config: z.ZodType<{
8016
- type: "mcp";
8017
- mcp: ToolMcpConfig;
8018
- }, {
8019
- type: "mcp";
8020
- mcp: ToolMcpConfig;
8021
- }, z.core.$ZodTypeInternals<{
8022
- type: "mcp";
8023
- mcp: ToolMcpConfig;
8024
- }, {
8025
- type: "mcp";
8026
- mcp: ToolMcpConfig;
8027
- }>>;
8028
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8536
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8537
+ id: z.ZodString;
8029
8538
  createdAt: z.ZodOptional<z.ZodString>;
8030
8539
  updatedAt: z.ZodOptional<z.ZodString>;
8031
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8540
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8541
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8032
8542
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
8543
+ config: z.ZodDiscriminatedUnion<[z.ZodObject<{
8544
+ type: z.ZodLiteral<"mcp">;
8545
+ mcp: z.ZodObject<{
8546
+ server: z.ZodObject<{
8547
+ url: z.ZodString;
8548
+ }, z.core.$strip>;
8549
+ transport: z.ZodOptional<z.ZodObject<{
8550
+ type: z.ZodEnum<{
8551
+ readonly streamableHttp: "streamable_http";
8552
+ readonly sse: "sse";
8553
+ }>;
8554
+ requestInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8555
+ eventSourceInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8556
+ reconnectionOptions: z.ZodOptional<z.ZodCustom<StreamableHTTPReconnectionOptions, StreamableHTTPReconnectionOptions>>;
8557
+ sessionId: z.ZodOptional<z.ZodString>;
8558
+ }, z.core.$strip>>;
8559
+ activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
8560
+ }, z.core.$strip>;
8561
+ }, z.core.$strip>, z.ZodObject<{
8562
+ type: z.ZodLiteral<"function">;
8563
+ }, z.core.$strip>], "type">;
8564
+ functionId: z.ZodOptional<z.ZodString>;
8033
8565
  imageUrl: z.ZodOptional<z.ZodString>;
8034
8566
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8035
8567
  }, z.core.$strip>>;
8036
- dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8568
+ functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8037
8569
  id: z.ZodString;
8570
+ createdAt: z.ZodOptional<z.ZodString>;
8571
+ updatedAt: z.ZodOptional<z.ZodString>;
8572
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
8573
+ executeCode: z.ZodString;
8574
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8575
+ }, z.core.$strip>>>;
8576
+ dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8038
8577
  name: z.ZodString;
8039
- description: z.ZodString;
8578
+ id: z.ZodString;
8040
8579
  createdAt: z.ZodOptional<z.ZodString>;
8041
8580
  updatedAt: z.ZodOptional<z.ZodString>;
8581
+ description: z.ZodString;
8042
8582
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
8043
8583
  }, z.core.$strip>>>;
8044
8584
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8045
- id: z.ZodString;
8046
8585
  name: z.ZodString;
8586
+ id: z.ZodString;
8047
8587
  description: z.ZodString;
8048
- summaryProps: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
8049
- fullProps: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
8588
+ props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
8050
8589
  }, {
8051
8590
  out: {};
8052
8591
  in: {};
@@ -8068,10 +8607,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8068
8607
  }, z.core.$strip>>;
8069
8608
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8070
8609
  id: z.ZodString;
8071
- createdAt: z.ZodOptional<z.ZodString>;
8072
- updatedAt: z.ZodOptional<z.ZodString>;
8073
8610
  credentialStoreId: z.ZodString;
8074
8611
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8612
+ createdAt: z.ZodOptional<z.ZodString>;
8613
+ updatedAt: z.ZodOptional<z.ZodString>;
8075
8614
  type: z.ZodEnum<{
8076
8615
  readonly memory: "memory";
8077
8616
  readonly keychain: "keychain";
@@ -8165,6 +8704,12 @@ type ToolApiInsert = z$1.infer<typeof ToolApiInsertSchema>;
8165
8704
  type ToolApiUpdate = z$1.infer<typeof ToolApiUpdateSchema>;
8166
8705
  type McpTool = z$1.infer<typeof McpToolSchema>;
8167
8706
  type MCPToolConfig = z$1.infer<typeof MCPToolConfigSchema>;
8707
+ type FunctionSelect = z$1.infer<typeof FunctionSelectSchema>;
8708
+ type FunctionInsert = z$1.infer<typeof FunctionInsertSchema>;
8709
+ type FunctionUpdate = z$1.infer<typeof FunctionUpdateSchema>;
8710
+ type FunctionApiSelect = z$1.infer<typeof FunctionApiSelectSchema>;
8711
+ type FunctionApiInsert = z$1.infer<typeof FunctionApiInsertSchema>;
8712
+ type FunctionApiUpdate = z$1.infer<typeof FunctionApiUpdateSchema>;
8168
8713
  type ConversationSelect = z$1.infer<typeof ConversationSelectSchema>;
8169
8714
  type ConversationInsert = z$1.infer<typeof ConversationInsertSchema>;
8170
8715
  type ConversationUpdate = z$1.infer<typeof ConversationUpdateSchema>;
@@ -8253,6 +8798,8 @@ type FullProjectDefinition = z$1.infer<typeof FullProjectDefinitionSchema>;
8253
8798
  type CanUseItem = {
8254
8799
  toolId: string;
8255
8800
  toolSelection?: string[] | null;
8801
+ headers?: Record<string, string> | null;
8802
+ agentToolRelationId?: string;
8256
8803
  };
8257
8804
  type InternalAgentDefinition = z$1.infer<typeof AgentApiInsertSchema> & {
8258
8805
  canUse: CanUseItem[];
@@ -8494,4 +9041,4 @@ interface ExecutionContext {
8494
9041
  agentId?: string;
8495
9042
  }
8496
9043
 
8497
- export { type CredentialReferenceSelect as $, ApiKeyApiUpdateSchema as A, type AgentInsert as B, type ConversationHistoryConfig as C, type AgentUpdate as D, type ExternalAgentRelationInsert as E, FullGraphAgentInsertSchema as F, GraphStopWhenSchema as G, type AgentSelect as H, type ApiKeySelect as I, type ApiKeyInsert as J, type ApiKeyUpdate as K, type CreateApiKeyParams as L, ModelSettingsSchema as M, type ApiKeyCreateResult as N, type ArtifactComponentSelect as O, type Part as P, type ArtifactComponentInsert as Q, type ArtifactComponentUpdate as R, StopWhenSchema as S, type TaskMetadataConfig as T, type ContextCacheSelect as U, type ContextCacheInsert as V, type ContextConfigInsert as W, type ContextConfigUpdate as X, type ConversationSelect as Y, type ConversationInsert as Z, type ConversationUpdate as _, AgentStopWhenSchema as a, type UnsupportedOperationError as a$, type ToolSelect as a0, type CredentialReferenceInsert as a1, type CredentialReferenceUpdate as a2, type DataComponentSelect as a3, type DataComponentInsert as a4, type DataComponentUpdate as a5, type ExternalAgentInsert as a6, type ExternalAgentSelect as a7, type ExternalAgentUpdate as a8, type Artifact as a9, type AgentProvider as aA, type AgentSkill as aB, type SecuritySchemeBase as aC, type APIKeySecurityScheme as aD, type HTTPAuthSecurityScheme as aE, type OAuthFlows as aF, type AuthorizationCodeOAuthFlow as aG, type ClientCredentialsOAuthFlow as aH, type ImplicitOAuthFlow as aI, type PasswordOAuthFlow as aJ, type OAuth2SecurityScheme as aK, type OpenIdConnectSecurityScheme as aL, type SecurityScheme as aM, type AgentCard as aN, type Message as aO, type TaskStatus as aP, type Task as aQ, type TaskStatusUpdateEvent as aR, type TaskArtifactUpdateEvent as aS, type JSONParseError as aT, type InvalidRequestError as aU, type MethodNotFoundError as aV, type InvalidParamsError as aW, type InternalError as aX, type TaskNotFoundError as aY, type TaskNotCancelableError as aZ, type PushNotificationNotSupportedError as a_, type LedgerArtifactSelect as aa, type MessageVisibility as ab, type MessageInsert as ac, type MessageUpdate as ad, type FullProjectDefinition as ae, type ProjectInfo as af, type ProjectSelect as ag, type PaginationResult as ah, type ProjectResourceCounts as ai, type ProjectInsert as aj, type ProjectUpdate as ak, type TaskInsert as al, type TaskSelect as am, type McpTool as an, type ToolInsert as ao, type ToolUpdate as ap, type ExecutionContext as aq, type PartBase as ar, type TextPart as as, type FileBase as at, type FileWithBytes as au, type FileWithUri as av, type FilePart as aw, type DataPart as ax, TaskState as ay, type AgentCapabilities as az, type StopWhen as b, type ToolApiUpdate as b$, type ContentTypeNotSupportedError as b0, type InvalidAgentResponseError as b1, type A2AError as b2, type PushNotificationAuthenticationInfo as b3, type PushNotificationConfig as b4, type TaskPushNotificationConfig as b5, type TaskIdParams as b6, type TaskQueryParams as b7, type MessageSendConfiguration as b8, type MessageSendParams as b9, type MessagePart as bA, type TaskArtifact as bB, type AgentApiSelect as bC, type AgentApiInsert as bD, type AgentApiUpdate as bE, type AgentRelationSelect as bF, type AgentRelationApiSelect as bG, type AgentRelationApiInsert as bH, type AgentRelationApiUpdate as bI, type AgentRelationQuery as bJ, type ExternalAgentRelationApiInsert as bK, type AgentGraphSelect as bL, type AgentGraphApiSelect as bM, type AgentGraphApiInsert as bN, type AgentGraphApiUpdate as bO, type TaskUpdate as bP, type TaskApiSelect as bQ, type TaskApiInsert as bR, type TaskApiUpdate as bS, type TaskRelationSelect as bT, type TaskRelationInsert as bU, type TaskRelationUpdate as bV, type TaskRelationApiSelect as bW, type TaskRelationApiInsert as bX, type TaskRelationApiUpdate as bY, type ToolApiSelect as bZ, type ToolApiInsert as b_, type JSONRPCMessage as ba, type JSONRPCRequest as bb, type JSONRPCError as bc, type JSONRPCResult as bd, type JSONRPCErrorResponse as be, type SendMessageRequest as bf, type SendStreamingMessageRequest as bg, type GetTaskRequest as bh, type CancelTaskRequest as bi, type SetTaskPushNotificationConfigRequest as bj, type GetTaskPushNotificationConfigRequest as bk, type TaskResubscriptionRequest as bl, type SendMessageSuccessResponse as bm, type SendMessageResponse as bn, type SendStreamingMessageSuccessResponse as bo, type SendStreamingMessageResponse as bp, type GetTaskSuccessResponse as bq, type GetTaskResponse as br, type CancelTaskSuccessResponse as bs, type CancelTaskResponse as bt, type SetTaskPushNotificationConfigSuccessResponse as bu, type SetTaskPushNotificationConfigResponse as bv, type GetTaskPushNotificationConfigSuccessResponse as bw, type GetTaskPushNotificationConfigResponse as bx, type A2ARequest as by, type A2AResponse as bz, type GraphStopWhen as c, type SummaryEvent as c$, type ConversationApiSelect as c0, type ConversationApiInsert as c1, type ConversationApiUpdate as c2, type MessageSelect as c3, type MessageApiSelect as c4, type MessageApiInsert as c5, type MessageApiUpdate as c6, type ContextConfigApiSelect as c7, type ContextConfigApiInsert as c8, type ContextConfigApiUpdate as c9, type ExternalAgentApiUpdate as cA, type AllAgentSelect as cB, type ApiKeyApiSelect as cC, type ApiKeyApiInsert as cD, type ApiKeyApiUpdate as cE, type ApiKeyApiCreationResponse as cF, type CredentialReferenceApiSelect as cG, type CredentialReferenceApiUpdate as cH, type AgentToolRelationSelect as cI, type AgentToolRelationInsert as cJ, type AgentToolRelationApiSelect as cK, type AgentToolRelationApiInsert as cL, type AgentToolRelationApiUpdate as cM, type LedgerArtifactInsert as cN, type LedgerArtifactUpdate as cO, type LedgerArtifactApiSelect as cP, type LedgerArtifactApiInsert as cQ, type LedgerArtifactApiUpdate as cR, type FullGraphAgentInsert as cS, type CanUseItem as cT, type InternalAgentDefinition as cU, type AgentDefinition as cV, type ToolDefinition as cW, type ProjectApiSelect as cX, type ProjectApiInsert as cY, type ProjectApiUpdate as cZ, type Pagination as c_, type FetchDefinition as ca, type FetchConfig as cb, type ContextCacheUpdate as cc, type ContextCacheApiSelect as cd, type ContextCacheApiInsert as ce, type ContextCacheApiUpdate as cf, type DataComponentApiSelect as cg, type DataComponentApiInsert as ch, type DataComponentApiUpdate as ci, type AgentDataComponentSelect as cj, type AgentDataComponentInsert as ck, type AgentDataComponentUpdate as cl, type AgentDataComponentApiSelect as cm, type AgentDataComponentApiInsert as cn, type AgentDataComponentApiUpdate as co, type ArtifactComponentApiSelect as cp, type ArtifactComponentApiInsert as cq, type ArtifactComponentApiUpdate as cr, type AgentArtifactComponentSelect as cs, type AgentArtifactComponentInsert as ct, type AgentArtifactComponentUpdate as cu, type AgentArtifactComponentApiSelect as cv, type AgentArtifactComponentApiInsert as cw, type AgentArtifactComponentApiUpdate as cx, type ExternalAgentApiSelect as cy, type ExternalAgentApiInsert as cz, type AgentStopWhen as d, ConversationSelectSchema as d$, type MessageType as d0, type MessageRole as d1, type MessageMode as d2, type Models as d3, type ProjectModels as d4, type StatusUpdateSettings as d5, type StatusComponent as d6, type ConversationScopeOptions as d7, type AgentConversationHistoryConfig as d8, type ContextCacheEntry as d9, AgentRelationApiUpdateSchema as dA, AgentRelationQuerySchema as dB, ExternalAgentRelationInsertSchema as dC, ExternalAgentRelationApiInsertSchema as dD, AgentGraphSelectSchema as dE, AgentGraphInsertSchema as dF, AgentGraphUpdateSchema as dG, AgentGraphApiSelectSchema as dH, AgentGraphApiInsertSchema as dI, AgentGraphApiUpdateSchema as dJ, TaskSelectSchema as dK, TaskInsertSchema as dL, TaskUpdateSchema as dM, TaskApiSelectSchema as dN, TaskApiInsertSchema as dO, TaskApiUpdateSchema as dP, TaskRelationSelectSchema as dQ, TaskRelationInsertSchema as dR, TaskRelationUpdateSchema as dS, TaskRelationApiSelectSchema as dT, TaskRelationApiInsertSchema as dU, TaskRelationApiUpdateSchema as dV, McpTransportConfigSchema as dW, ToolStatusSchema as dX, McpToolDefinitionSchema as dY, ToolSelectSchema as dZ, ToolInsertSchema as d_, type McpAuthType as da, type McpServerAuth as db, type McpTransportConfig as dc, type McpServerCapabilities as dd, type McpToolDefinition as de, TOOL_STATUS_VALUES as df, VALID_RELATION_TYPES as dg, MCPServerType as dh, MIN_ID_LENGTH as di, MAX_ID_LENGTH as dj, URL_SAFE_ID_PATTERN as dk, resourceIdSchema as dl, ModelSchema as dm, ProjectModelSchema as dn, AgentSelectSchema as dp, AgentInsertSchema as dq, AgentUpdateSchema as dr, AgentApiSelectSchema as ds, AgentApiInsertSchema as dt, AgentApiUpdateSchema as du, AgentRelationSelectSchema as dv, AgentRelationInsertSchema as dw, AgentRelationUpdateSchema as dx, AgentRelationApiSelectSchema as dy, AgentRelationApiInsertSchema as dz, type ModelSettings as e, ToolUpdateSchema as e$, ConversationInsertSchema as e0, ConversationUpdateSchema as e1, ConversationApiSelectSchema as e2, ConversationApiInsertSchema as e3, ConversationApiUpdateSchema as e4, MessageSelectSchema as e5, MessageInsertSchema as e6, MessageUpdateSchema as e7, MessageApiSelectSchema as e8, MessageApiInsertSchema as e9, AgentArtifactComponentSelectSchema as eA, AgentArtifactComponentInsertSchema as eB, AgentArtifactComponentUpdateSchema as eC, AgentArtifactComponentApiSelectSchema as eD, AgentArtifactComponentApiInsertSchema as eE, AgentArtifactComponentApiUpdateSchema as eF, ExternalAgentSelectSchema as eG, ExternalAgentInsertSchema as eH, ExternalAgentUpdateSchema as eI, ExternalAgentApiSelectSchema as eJ, ExternalAgentApiInsertSchema as eK, ExternalAgentApiUpdateSchema as eL, AllAgentSchema as eM, ApiKeySelectSchema as eN, ApiKeyInsertSchema as eO, ApiKeyUpdateSchema as eP, ApiKeyApiSelectSchema as eQ, ApiKeyApiCreationResponseSchema as eR, ApiKeyApiInsertSchema as eS, CredentialReferenceSelectSchema as eT, CredentialReferenceInsertSchema as eU, CredentialReferenceUpdateSchema as eV, CredentialReferenceApiSelectSchema as eW, CredentialReferenceApiInsertSchema as eX, CredentialReferenceApiUpdateSchema as eY, McpToolSchema as eZ, MCPToolConfigSchema as e_, MessageApiUpdateSchema as ea, ContextCacheSelectSchema as eb, ContextCacheInsertSchema as ec, ContextCacheUpdateSchema as ed, ContextCacheApiSelectSchema as ee, ContextCacheApiInsertSchema as ef, ContextCacheApiUpdateSchema as eg, DataComponentSelectSchema as eh, DataComponentInsertSchema as ei, DataComponentBaseSchema as ej, DataComponentUpdateSchema as ek, DataComponentApiSelectSchema as el, DataComponentApiInsertSchema as em, DataComponentApiUpdateSchema as en, AgentDataComponentSelectSchema as eo, AgentDataComponentInsertSchema as ep, AgentDataComponentUpdateSchema as eq, AgentDataComponentApiSelectSchema as er, AgentDataComponentApiInsertSchema as es, AgentDataComponentApiUpdateSchema as et, ArtifactComponentSelectSchema as eu, ArtifactComponentInsertSchema as ev, ArtifactComponentUpdateSchema as ew, ArtifactComponentApiSelectSchema as ex, ArtifactComponentApiInsertSchema as ey, ArtifactComponentApiUpdateSchema as ez, CredentialStoreType as f, ToolApiSelectSchema as f0, ToolApiInsertSchema as f1, ToolApiUpdateSchema as f2, FetchConfigSchema as f3, FetchDefinitionSchema as f4, ContextConfigSelectSchema as f5, ContextConfigInsertSchema as f6, ContextConfigUpdateSchema as f7, ContextConfigApiSelectSchema as f8, ContextConfigApiInsertSchema as f9, ProjectUpdateSchema as fA, ProjectApiSelectSchema as fB, ProjectApiInsertSchema as fC, ProjectApiUpdateSchema as fD, FullProjectDefinitionSchema as fE, HeadersScopeSchema as fF, TenantParamsSchema as fG, TenantProjectParamsSchema as fH, TenantProjectGraphParamsSchema as fI, TenantProjectGraphIdParamsSchema as fJ, TenantProjectIdParamsSchema as fK, TenantIdParamsSchema as fL, IdParamsSchema as fM, PaginationQueryParamsSchema as fN, ContextConfigApiUpdateSchema as fa, AgentToolRelationSelectSchema as fb, AgentToolRelationInsertSchema as fc, AgentToolRelationUpdateSchema as fd, AgentToolRelationApiSelectSchema as fe, AgentToolRelationApiInsertSchema as ff, AgentToolRelationApiUpdateSchema as fg, LedgerArtifactSelectSchema as fh, LedgerArtifactInsertSchema as fi, LedgerArtifactUpdateSchema as fj, LedgerArtifactApiSelectSchema as fk, LedgerArtifactApiInsertSchema as fl, LedgerArtifactApiUpdateSchema as fm, StatusComponentSchema as fn, StatusUpdateSchema as fo, CanUseItemSchema as fp, FullGraphDefinitionSchema as fq, GraphWithinContextOfProjectSchema as fr, PaginationSchema as fs, ListResponseSchema as ft, SingleResponseSchema as fu, ErrorResponseSchema as fv, ExistsResponseSchema as fw, RemovedResponseSchema as fx, ProjectSelectSchema as fy, ProjectInsertSchema as fz, MCPTransportType as g, type ContextFetchDefinition as h, type ToolMcpConfig as i, type ToolServerCapabilities as j, type ConversationMetadata as k, type MessageContent as l, type MessageMetadata as m, type CredentialReferenceApiInsert as n, type ContextConfigSelect as o, type MCPToolConfig as p, type GraphScopeConfig as q, type ProjectScopeConfig as r, type PaginationConfig as s, type AgentGraphInsert as t, type AgentGraphUpdate as u, type FullGraphDefinition as v, type AgentScopeConfig as w, type AgentRelationInsert as x, type AgentRelationUpdate as y, type AgentToolRelationUpdate as z };
9044
+ export { type ContextConfigUpdate as $, ApiKeyApiUpdateSchema as A, type AgentScopeConfig as B, type ConversationHistoryConfig as C, type AgentRelationInsert as D, type ExternalAgentRelationInsert as E, FunctionApiInsertSchema as F, GraphStopWhenSchema as G, type AgentRelationUpdate as H, type AgentToolRelationUpdate as I, type AgentInsert as J, type AgentUpdate as K, type AgentSelect as L, ModelSettingsSchema as M, type ApiKeySelect as N, type ApiKeyInsert as O, type Part as P, type ApiKeyUpdate as Q, type CreateApiKeyParams as R, StopWhenSchema as S, type TaskMetadataConfig as T, type ApiKeyCreateResult as U, type ArtifactComponentSelect as V, type ArtifactComponentInsert as W, type ArtifactComponentUpdate as X, type ContextCacheSelect as Y, type ContextCacheInsert as Z, type ContextConfigInsert as _, FullGraphAgentInsertSchema as a, type InvalidParamsError as a$, type ConversationSelect as a0, type ConversationInsert as a1, type ConversationUpdate as a2, type CredentialReferenceSelect as a3, type ToolSelect as a4, type CredentialReferenceInsert as a5, type CredentialReferenceUpdate as a6, type DataComponentSelect as a7, type DataComponentInsert as a8, type DataComponentUpdate as a9, type FileWithUri as aA, type FilePart as aB, type DataPart as aC, TaskState as aD, type AgentCapabilities as aE, type AgentProvider as aF, type AgentSkill as aG, type SecuritySchemeBase as aH, type APIKeySecurityScheme as aI, type HTTPAuthSecurityScheme as aJ, type OAuthFlows as aK, type AuthorizationCodeOAuthFlow as aL, type ClientCredentialsOAuthFlow as aM, type ImplicitOAuthFlow as aN, type PasswordOAuthFlow as aO, type OAuth2SecurityScheme as aP, type OpenIdConnectSecurityScheme as aQ, type SecurityScheme as aR, type AgentCard as aS, type Message as aT, type TaskStatus as aU, type Task as aV, type TaskStatusUpdateEvent as aW, type TaskArtifactUpdateEvent as aX, type JSONParseError as aY, type InvalidRequestError as aZ, type MethodNotFoundError as a_, type ExternalAgentInsert as aa, type ExternalAgentSelect as ab, type ExternalAgentUpdate as ac, type FunctionApiInsert as ad, type Artifact as ae, type LedgerArtifactSelect as af, type MessageVisibility as ag, type MessageInsert as ah, type MessageUpdate as ai, type FullProjectDefinition as aj, type ProjectInfo as ak, type ProjectSelect as al, type PaginationResult as am, type ProjectResourceCounts as an, type ProjectInsert as ao, type ProjectUpdate as ap, type TaskInsert as aq, type TaskSelect as ar, type McpTool as as, type ToolInsert as at, type ToolUpdate as au, type ExecutionContext as av, type PartBase as aw, type TextPart as ax, type FileBase as ay, type FileWithBytes as az, AgentStopWhenSchema as b, type TaskRelationApiSelect as b$, type InternalError as b0, type TaskNotFoundError as b1, type TaskNotCancelableError as b2, type PushNotificationNotSupportedError as b3, type UnsupportedOperationError as b4, type ContentTypeNotSupportedError as b5, type InvalidAgentResponseError as b6, type A2AError as b7, type PushNotificationAuthenticationInfo as b8, type PushNotificationConfig as b9, type SetTaskPushNotificationConfigResponse as bA, type GetTaskPushNotificationConfigSuccessResponse as bB, type GetTaskPushNotificationConfigResponse as bC, type A2ARequest as bD, type A2AResponse as bE, type MessagePart as bF, type TaskArtifact as bG, type AgentApiSelect as bH, type AgentApiInsert as bI, type AgentApiUpdate as bJ, type AgentRelationSelect as bK, type AgentRelationApiSelect as bL, type AgentRelationApiInsert as bM, type AgentRelationApiUpdate as bN, type AgentRelationQuery as bO, type ExternalAgentRelationApiInsert as bP, type AgentGraphSelect as bQ, type AgentGraphApiSelect as bR, type AgentGraphApiInsert as bS, type AgentGraphApiUpdate as bT, type TaskUpdate as bU, type TaskApiSelect as bV, type TaskApiInsert as bW, type TaskApiUpdate as bX, type TaskRelationSelect as bY, type TaskRelationInsert as bZ, type TaskRelationUpdate as b_, type TaskPushNotificationConfig as ba, type TaskIdParams as bb, type TaskQueryParams as bc, type MessageSendConfiguration as bd, type MessageSendParams as be, type JSONRPCMessage as bf, type JSONRPCRequest as bg, type JSONRPCError as bh, type JSONRPCResult as bi, type JSONRPCErrorResponse as bj, type SendMessageRequest as bk, type SendStreamingMessageRequest as bl, type GetTaskRequest as bm, type CancelTaskRequest as bn, type SetTaskPushNotificationConfigRequest as bo, type GetTaskPushNotificationConfigRequest as bp, type TaskResubscriptionRequest as bq, type SendMessageSuccessResponse as br, type SendMessageResponse as bs, type SendStreamingMessageSuccessResponse as bt, type SendStreamingMessageResponse as bu, type GetTaskSuccessResponse as bv, type GetTaskResponse as bw, type CancelTaskSuccessResponse as bx, type CancelTaskResponse as by, type SetTaskPushNotificationConfigSuccessResponse as bz, type StopWhen as c, type LedgerArtifactApiUpdate as c$, type TaskRelationApiInsert as c0, type TaskRelationApiUpdate as c1, type ToolApiSelect as c2, type ToolApiInsert as c3, type ToolApiUpdate as c4, type FunctionSelect as c5, type FunctionInsert as c6, type FunctionUpdate as c7, type FunctionApiSelect as c8, type FunctionApiUpdate as c9, type ArtifactComponentApiInsert as cA, type ArtifactComponentApiUpdate as cB, type AgentArtifactComponentSelect as cC, type AgentArtifactComponentInsert as cD, type AgentArtifactComponentUpdate as cE, type AgentArtifactComponentApiSelect as cF, type AgentArtifactComponentApiInsert as cG, type AgentArtifactComponentApiUpdate as cH, type ExternalAgentApiSelect as cI, type ExternalAgentApiInsert as cJ, type ExternalAgentApiUpdate as cK, type AllAgentSelect as cL, type ApiKeyApiSelect as cM, type ApiKeyApiInsert as cN, type ApiKeyApiUpdate as cO, type ApiKeyApiCreationResponse as cP, type CredentialReferenceApiSelect as cQ, type CredentialReferenceApiUpdate as cR, type AgentToolRelationSelect as cS, type AgentToolRelationInsert as cT, type AgentToolRelationApiSelect as cU, type AgentToolRelationApiInsert as cV, type AgentToolRelationApiUpdate as cW, type LedgerArtifactInsert as cX, type LedgerArtifactUpdate as cY, type LedgerArtifactApiSelect as cZ, type LedgerArtifactApiInsert as c_, type ConversationApiSelect as ca, type ConversationApiInsert as cb, type ConversationApiUpdate as cc, type MessageSelect as cd, type MessageApiSelect as ce, type MessageApiInsert as cf, type MessageApiUpdate as cg, type ContextConfigApiSelect as ch, type ContextConfigApiInsert as ci, type ContextConfigApiUpdate as cj, type FetchDefinition as ck, type FetchConfig as cl, type ContextCacheUpdate as cm, type ContextCacheApiSelect as cn, type ContextCacheApiInsert as co, type ContextCacheApiUpdate as cp, type DataComponentApiSelect as cq, type DataComponentApiInsert as cr, type DataComponentApiUpdate as cs, type AgentDataComponentSelect as ct, type AgentDataComponentInsert as cu, type AgentDataComponentUpdate as cv, type AgentDataComponentApiSelect as cw, type AgentDataComponentApiInsert as cx, type AgentDataComponentApiUpdate as cy, type ArtifactComponentApiSelect as cz, type GraphStopWhen as d, TaskApiInsertSchema as d$, type FullGraphAgentInsert as d0, type CanUseItem as d1, type InternalAgentDefinition as d2, type AgentDefinition as d3, type ToolDefinition as d4, type ProjectApiSelect as d5, type ProjectApiInsert as d6, type ProjectApiUpdate as d7, type Pagination as d8, type SummaryEvent as d9, FunctionToolConfigSchema as dA, type FunctionToolConfig as dB, AgentSelectSchema as dC, AgentInsertSchema as dD, AgentUpdateSchema as dE, AgentApiSelectSchema as dF, AgentApiInsertSchema as dG, AgentApiUpdateSchema as dH, AgentRelationSelectSchema as dI, AgentRelationInsertSchema as dJ, AgentRelationUpdateSchema as dK, AgentRelationApiSelectSchema as dL, AgentRelationApiInsertSchema as dM, AgentRelationApiUpdateSchema as dN, AgentRelationQuerySchema as dO, ExternalAgentRelationInsertSchema as dP, ExternalAgentRelationApiInsertSchema as dQ, AgentGraphSelectSchema as dR, AgentGraphInsertSchema as dS, AgentGraphUpdateSchema as dT, AgentGraphApiSelectSchema as dU, AgentGraphApiInsertSchema as dV, AgentGraphApiUpdateSchema as dW, TaskSelectSchema as dX, TaskInsertSchema as dY, TaskUpdateSchema as dZ, TaskApiSelectSchema as d_, type MessageType as da, type MessageRole as db, type MessageMode as dc, type Models as dd, type ProjectModels as de, type StatusUpdateSettings as df, type StatusComponent as dg, type ConversationScopeOptions as dh, type AgentConversationHistoryConfig as di, type ContextCacheEntry as dj, type McpAuthType as dk, type McpServerAuth as dl, type McpTransportConfig as dm, type McpServerCapabilities as dn, type McpToolDefinition as dp, TOOL_STATUS_VALUES as dq, VALID_RELATION_TYPES as dr, MCPServerType as ds, MIN_ID_LENGTH as dt, MAX_ID_LENGTH as du, URL_SAFE_ID_PATTERN as dv, resourceIdSchema as dw, ModelSchema as dx, ProjectModelSchema as dy, type SandboxConfig as dz, type AgentStopWhen as e, ApiKeyInsertSchema as e$, TaskApiUpdateSchema as e0, TaskRelationSelectSchema as e1, TaskRelationInsertSchema as e2, TaskRelationUpdateSchema as e3, TaskRelationApiSelectSchema as e4, TaskRelationApiInsertSchema as e5, TaskRelationApiUpdateSchema as e6, McpTransportConfigSchema as e7, ToolStatusSchema as e8, McpToolDefinitionSchema as e9, DataComponentApiUpdateSchema as eA, AgentDataComponentSelectSchema as eB, AgentDataComponentInsertSchema as eC, AgentDataComponentUpdateSchema as eD, AgentDataComponentApiSelectSchema as eE, AgentDataComponentApiInsertSchema as eF, AgentDataComponentApiUpdateSchema as eG, ArtifactComponentSelectSchema as eH, ArtifactComponentInsertSchema as eI, ArtifactComponentUpdateSchema as eJ, ArtifactComponentApiSelectSchema as eK, ArtifactComponentApiInsertSchema as eL, ArtifactComponentApiUpdateSchema as eM, AgentArtifactComponentSelectSchema as eN, AgentArtifactComponentInsertSchema as eO, AgentArtifactComponentUpdateSchema as eP, AgentArtifactComponentApiSelectSchema as eQ, AgentArtifactComponentApiInsertSchema as eR, AgentArtifactComponentApiUpdateSchema as eS, ExternalAgentSelectSchema as eT, ExternalAgentInsertSchema as eU, ExternalAgentUpdateSchema as eV, ExternalAgentApiSelectSchema as eW, ExternalAgentApiInsertSchema as eX, ExternalAgentApiUpdateSchema as eY, AllAgentSchema as eZ, ApiKeySelectSchema as e_, ToolSelectSchema as ea, ToolInsertSchema as eb, ConversationSelectSchema as ec, ConversationInsertSchema as ed, ConversationUpdateSchema as ee, ConversationApiSelectSchema as ef, ConversationApiInsertSchema as eg, ConversationApiUpdateSchema as eh, MessageSelectSchema as ei, MessageInsertSchema as ej, MessageUpdateSchema as ek, MessageApiSelectSchema as el, MessageApiInsertSchema as em, MessageApiUpdateSchema as en, ContextCacheSelectSchema as eo, ContextCacheInsertSchema as ep, ContextCacheUpdateSchema as eq, ContextCacheApiSelectSchema as er, ContextCacheApiInsertSchema as es, ContextCacheApiUpdateSchema as et, DataComponentSelectSchema as eu, DataComponentInsertSchema as ev, DataComponentBaseSchema as ew, DataComponentUpdateSchema as ex, DataComponentApiSelectSchema as ey, DataComponentApiInsertSchema as ez, type ModelSettings as f, TenantIdParamsSchema as f$, ApiKeyUpdateSchema as f0, ApiKeyApiSelectSchema as f1, ApiKeyApiCreationResponseSchema as f2, ApiKeyApiInsertSchema as f3, CredentialReferenceSelectSchema as f4, CredentialReferenceInsertSchema as f5, CredentialReferenceUpdateSchema as f6, CredentialReferenceApiSelectSchema as f7, CredentialReferenceApiInsertSchema as f8, CredentialReferenceApiUpdateSchema as f9, LedgerArtifactApiSelectSchema as fA, LedgerArtifactApiInsertSchema as fB, LedgerArtifactApiUpdateSchema as fC, StatusComponentSchema as fD, StatusUpdateSchema as fE, CanUseItemSchema as fF, FullGraphDefinitionSchema as fG, GraphWithinContextOfProjectSchema as fH, PaginationSchema as fI, ListResponseSchema as fJ, SingleResponseSchema as fK, ErrorResponseSchema as fL, ExistsResponseSchema as fM, RemovedResponseSchema as fN, ProjectSelectSchema as fO, ProjectInsertSchema as fP, ProjectUpdateSchema as fQ, ProjectApiSelectSchema as fR, ProjectApiInsertSchema as fS, ProjectApiUpdateSchema as fT, FullProjectDefinitionSchema as fU, HeadersScopeSchema as fV, TenantParamsSchema as fW, TenantProjectParamsSchema as fX, TenantProjectGraphParamsSchema as fY, TenantProjectGraphIdParamsSchema as fZ, TenantProjectIdParamsSchema as f_, McpToolSchema as fa, MCPToolConfigSchema as fb, ToolUpdateSchema as fc, ToolApiSelectSchema as fd, ToolApiInsertSchema as fe, ToolApiUpdateSchema as ff, FunctionSelectSchema as fg, FunctionInsertSchema as fh, FunctionUpdateSchema as fi, FetchConfigSchema as fj, FetchDefinitionSchema as fk, ContextConfigSelectSchema as fl, ContextConfigInsertSchema as fm, ContextConfigUpdateSchema as fn, ContextConfigApiSelectSchema as fo, ContextConfigApiInsertSchema as fp, ContextConfigApiUpdateSchema as fq, AgentToolRelationSelectSchema as fr, AgentToolRelationInsertSchema as fs, AgentToolRelationUpdateSchema as ft, AgentToolRelationApiSelectSchema as fu, AgentToolRelationApiInsertSchema as fv, AgentToolRelationApiUpdateSchema as fw, LedgerArtifactSelectSchema as fx, LedgerArtifactInsertSchema as fy, LedgerArtifactUpdateSchema as fz, CredentialStoreType as g, IdParamsSchema as g0, PaginationQueryParamsSchema as g1, MCPTransportType as h, FunctionApiSelectSchema as i, FunctionApiUpdateSchema as j, SandboxConfigSchema as k, type ContextFetchDefinition as l, type ToolMcpConfig as m, type ToolServerCapabilities as n, type ConversationMetadata as o, type MessageContent as p, type MessageMetadata as q, type CredentialReferenceApiInsert as r, type ContextConfigSelect as s, type MCPToolConfig as t, type GraphScopeConfig as u, type ProjectScopeConfig as v, type PaginationConfig as w, type AgentGraphInsert as x, type AgentGraphUpdate as y, type FullGraphDefinition as z };