@inkeep/agents-core 0.14.16 → 0.16.0

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-SPN4Y2C3.js → chunk-L53XWAYG.js} +1 -1
  2. package/dist/chunk-R2EERZSW.js +223 -0
  3. package/dist/{chunk-423XYZ6F.js → chunk-TO2HNKGP.js} +176 -13
  4. package/dist/{chunk-AHSEMW6N.js → chunk-VPJ6Z5QZ.js} +43 -7
  5. package/dist/client-exports.cjs +224 -24
  6. package/dist/client-exports.d.cts +12 -8
  7. package/dist/client-exports.d.ts +12 -8
  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 +3310 -2859
  14. package/dist/index.d.cts +148 -97
  15. package/dist/index.d.ts +148 -97
  16. package/dist/index.js +2589 -2574
  17. package/dist/props-validation-BMR1qNiy.d.cts +15 -0
  18. package/dist/props-validation-BMR1qNiy.d.ts +15 -0
  19. package/dist/{schema-NJiTVcbN.d.ts → schema-BQk_FMBV.d.ts} +253 -64
  20. package/dist/{schema-Mdt3_61i.d.cts → schema-Ct2NlO81.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-CfjwCzr_.d.cts → utility-s9c5CVOe.d.cts} +708 -167
  24. package/dist/{utility-CfjwCzr_.d.ts → utility-s9c5CVOe.d.ts} +708 -167
  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 +227 -17
  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";
@@ -771,7 +794,6 @@ declare const AgentApiSelectSchema: z.ZodObject<{
771
794
  prompt: z.ZodString;
772
795
  createdAt: z.ZodString;
773
796
  updatedAt: z.ZodString;
774
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
775
797
  models: z.ZodNullable<z.ZodType<{
776
798
  base?: {
777
799
  model?: string | undefined;
@@ -834,6 +856,7 @@ declare const AgentApiSelectSchema: z.ZodObject<{
834
856
  }, {
835
857
  stepCountIs?: number | undefined;
836
858
  }>>>;
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
862
  id: z.ZodString;
@@ -842,7 +865,6 @@ declare const AgentApiInsertSchema: z.ZodObject<{
842
865
  prompt: z.ZodString;
843
866
  createdAt: z.ZodOptional<z.ZodString>;
844
867
  updatedAt: z.ZodOptional<z.ZodString>;
845
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
846
868
  models: z.ZodOptional<z.ZodObject<{
847
869
  base: z.ZodOptional<z.ZodObject<{
848
870
  model: z.ZodOptional<z.ZodString>;
@@ -866,6 +888,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
866
888
  }, {
867
889
  stepCountIs?: number | undefined;
868
890
  }>>>>;
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
894
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -874,7 +897,6 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
874
897
  prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
875
898
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
876
899
  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>>>>>>;
878
900
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
879
901
  base: z.ZodOptional<z.ZodObject<{
880
902
  model: z.ZodOptional<z.ZodString>;
@@ -898,6 +920,7 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
898
920
  }, {
899
921
  stepCountIs?: number | undefined;
900
922
  }>>>>>>;
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<{
@@ -1765,7 +1788,6 @@ declare const AgentGraphApiSelectSchema: z.ZodObject<{
1765
1788
  description: z.ZodNullable<z.ZodString>;
1766
1789
  createdAt: z.ZodString;
1767
1790
  updatedAt: z.ZodString;
1768
- defaultAgentId: 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;
@@ -1893,7 +1916,6 @@ declare const AgentGraphApiInsertSchema: z.ZodObject<{
1893
1916
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1894
1917
  createdAt: z.ZodOptional<z.ZodString>;
1895
1918
  updatedAt: z.ZodOptional<z.ZodString>;
1896
- defaultAgentId: 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;
@@ -2023,7 +2046,6 @@ declare const AgentGraphApiUpdateSchema: z.ZodObject<{
2023
2046
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2024
2047
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2025
2048
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2026
- defaultAgentId: 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;
@@ -2375,8 +2398,8 @@ declare const TaskApiSelectSchema: z.ZodObject<{
2375
2398
  graphId: z.ZodString;
2376
2399
  createdAt: z.ZodString;
2377
2400
  updatedAt: z.ZodString;
2378
- metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
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>;
@@ -2385,8 +2408,8 @@ declare const TaskApiInsertSchema: z.ZodObject<{
2385
2408
  graphId: z.ZodString;
2386
2409
  createdAt: z.ZodOptional<z.ZodString>;
2387
2410
  updatedAt: z.ZodOptional<z.ZodString>;
2388
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
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;
@@ -2396,8 +2419,8 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
2396
2419
  graphId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2397
2420
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2398
2421
  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>>>>>>;
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>>;
@@ -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>;
@@ -4915,15 +4979,13 @@ declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
4915
4979
  description: z.ZodString;
4916
4980
  createdAt: z.ZodString;
4917
4981
  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>>>>;
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
4985
  id: z.ZodString;
4923
4986
  name: 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: {};
@@ -4934,8 +4996,7 @@ declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
4934
4996
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4935
4997
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4936
4998
  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>>>>>>>;
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<{
@@ -5201,7 +5262,6 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5201
5262
  prompt: z.ZodString;
5202
5263
  createdAt: z.ZodString;
5203
5264
  updatedAt: z.ZodString;
5204
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
5205
5265
  models: z.ZodNullable<z.ZodType<{
5206
5266
  base?: {
5207
5267
  model?: string | undefined;
@@ -5264,6 +5324,7 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5264
5324
  }, {
5265
5325
  stepCountIs?: number | undefined;
5266
5326
  }>>>;
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
5330
  id: z.ZodString;
@@ -5691,6 +5752,25 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
5691
5752
  }, {}, {
5692
5753
  length: number | undefined;
5693
5754
  }>;
5755
+ description: drizzle_orm_sqlite_core.SQLiteColumn<{
5756
+ name: "description";
5757
+ tableName: "tools";
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
+ }>;
5694
5774
  config: drizzle_orm_sqlite_core.SQLiteColumn<{
5695
5775
  name: "config";
5696
5776
  tableName: "tools";
@@ -5699,6 +5779,13 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
5699
5779
  data: {
5700
5780
  type: "mcp";
5701
5781
  mcp: ToolMcpConfig;
5782
+ } | {
5783
+ type: "function";
5784
+ function?: {
5785
+ inputSchema: Record<string, unknown>;
5786
+ executeCode: string;
5787
+ dependencies: Record<string, unknown>;
5788
+ };
5702
5789
  };
5703
5790
  driverParam: Buffer<ArrayBufferLike>;
5704
5791
  notNull: true;
@@ -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";
@@ -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;
@@ -5940,6 +6063,7 @@ declare const MCPToolConfigSchema: z.ZodObject<{
5940
6063
  name: z.ZodString;
5941
6064
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
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<{
@@ -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,6 +6119,28 @@ 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: {};
@@ -6014,75 +6148,329 @@ declare const ToolUpdateSchema: z.ZodObject<{
6014
6148
  declare const ToolApiSelectSchema: z.ZodObject<{
6015
6149
  id: z.ZodString;
6016
6150
  name: z.ZodString;
6151
+ description: z.ZodNullable<z.ZodString>;
6017
6152
  config: z.ZodType<{
6018
6153
  type: "mcp";
6019
6154
  mcp: ToolMcpConfig;
6155
+ } | {
6156
+ type: "function";
6157
+ function?: {
6158
+ inputSchema: Record<string, unknown>;
6159
+ executeCode: string;
6160
+ dependencies: Record<string, unknown>;
6161
+ };
6020
6162
  }, {
6021
6163
  type: "mcp";
6022
6164
  mcp: ToolMcpConfig;
6165
+ } | {
6166
+ type: "function";
6167
+ function?: {
6168
+ inputSchema: Record<string, unknown>;
6169
+ executeCode: string;
6170
+ dependencies: Record<string, unknown>;
6171
+ };
6023
6172
  }, z.core.$ZodTypeInternals<{
6024
6173
  type: "mcp";
6025
6174
  mcp: ToolMcpConfig;
6175
+ } | {
6176
+ type: "function";
6177
+ function?: {
6178
+ inputSchema: Record<string, unknown>;
6179
+ executeCode: string;
6180
+ dependencies: Record<string, unknown>;
6181
+ };
6026
6182
  }, {
6027
6183
  type: "mcp";
6028
6184
  mcp: ToolMcpConfig;
6185
+ } | {
6186
+ type: "function";
6187
+ function?: {
6188
+ inputSchema: Record<string, unknown>;
6189
+ executeCode: string;
6190
+ dependencies: Record<string, unknown>;
6191
+ };
6029
6192
  }>>;
6030
6193
  credentialReferenceId: z.ZodNullable<z.ZodString>;
6031
6194
  createdAt: z.ZodString;
6032
6195
  updatedAt: z.ZodString;
6033
6196
  headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
6034
6197
  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
6203
  id: z.ZodString;
6040
6204
  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
- }>>;
6205
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6206
+ config: z.ZodDiscriminatedUnion<[z.ZodObject<{
6207
+ type: z.ZodLiteral<"mcp">;
6208
+ mcp: z.ZodObject<{
6209
+ server: z.ZodObject<{
6210
+ url: z.ZodString;
6211
+ }, z.core.$strip>;
6212
+ transport: z.ZodOptional<z.ZodObject<{
6213
+ type: z.ZodEnum<{
6214
+ readonly streamableHttp: "streamable_http";
6215
+ readonly sse: "sse";
6216
+ }>;
6217
+ requestInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6218
+ eventSourceInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6219
+ reconnectionOptions: z.ZodOptional<z.ZodCustom<StreamableHTTPReconnectionOptions, StreamableHTTPReconnectionOptions>>;
6220
+ sessionId: z.ZodOptional<z.ZodString>;
6221
+ }, z.core.$strip>>;
6222
+ activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
6223
+ }, z.core.$strip>;
6224
+ }, z.core.$strip>, z.ZodObject<{
6225
+ type: z.ZodLiteral<"function">;
6226
+ }, z.core.$strip>], "type">;
6054
6227
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6055
6228
  createdAt: z.ZodOptional<z.ZodString>;
6056
6229
  updatedAt: z.ZodOptional<z.ZodString>;
6057
6230
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
6058
6231
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
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<{
6063
6237
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6064
6238
  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
- }>>>>;
6239
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6240
+ config: z.ZodOptional<z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
6241
+ type: z.ZodLiteral<"mcp">;
6242
+ mcp: z.ZodObject<{
6243
+ server: z.ZodObject<{
6244
+ url: z.ZodString;
6245
+ }, z.core.$strip>;
6246
+ transport: z.ZodOptional<z.ZodObject<{
6247
+ type: z.ZodEnum<{
6248
+ readonly streamableHttp: "streamable_http";
6249
+ readonly sse: "sse";
6250
+ }>;
6251
+ requestInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6252
+ eventSourceInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6253
+ reconnectionOptions: z.ZodOptional<z.ZodCustom<StreamableHTTPReconnectionOptions, StreamableHTTPReconnectionOptions>>;
6254
+ sessionId: z.ZodOptional<z.ZodString>;
6255
+ }, z.core.$strip>>;
6256
+ activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
6257
+ }, z.core.$strip>;
6258
+ }, z.core.$strip>, z.ZodObject<{
6259
+ type: z.ZodLiteral<"function">;
6260
+ }, z.core.$strip>], "type">>>;
6078
6261
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6079
6262
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6080
6263
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6081
6264
  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
6265
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
6266
+ functionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6083
6267
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6084
6268
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6085
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<{
6467
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6468
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6469
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<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>>>>>>>;
6473
+ }, z.core.$strip>;
6086
6474
  declare const FetchConfigSchema: z.ZodObject<{
6087
6475
  url: z.ZodString;
6088
6476
  method: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
@@ -6137,13 +6525,11 @@ 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: {};
@@ -6151,11 +6537,9 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
6151
6537
  declare const ContextConfigInsertSchema: z.ZodObject<{
6152
6538
  tenantId: z.ZodString;
6153
6539
  projectId: z.ZodString;
6154
- id: z.ZodString;
6155
- name: z.ZodString;
6156
- description: z.ZodString;
6540
+ id: z.ZodOptional<z.ZodString>;
6157
6541
  graphId: z.ZodString;
6158
- requestContextSchema: z.ZodOptional<z.ZodUnknown>;
6542
+ headersSchema: z.ZodOptional<z.ZodUnknown>;
6159
6543
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
6160
6544
  }, {
6161
6545
  out: {};
@@ -6164,11 +6548,9 @@ declare const ContextConfigInsertSchema: z.ZodObject<{
6164
6548
  declare const ContextConfigUpdateSchema: z.ZodObject<{
6165
6549
  tenantId: 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>;
6551
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6170
6552
  graphId: z.ZodOptional<z.ZodString>;
6171
- requestContextSchema: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
6553
+ headersSchema: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
6172
6554
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>>;
6173
6555
  }, {
6174
6556
  out: {};
@@ -6176,28 +6558,19 @@ declare const ContextConfigUpdateSchema: z.ZodObject<{
6176
6558
  }>;
6177
6559
  declare const ContextConfigApiSelectSchema: z.ZodObject<{
6178
6560
  id: z.ZodString;
6179
- name: z.ZodString;
6180
- description: z.ZodString;
6181
- graphId: z.ZodString;
6182
6561
  createdAt: z.ZodString;
6183
6562
  updatedAt: z.ZodString;
6184
- requestContextSchema: z.ZodOptional<z.ZodUnknown>;
6563
+ headersSchema: z.ZodOptional<z.ZodUnknown>;
6185
6564
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
6186
6565
  }, z.core.$strip>;
6187
6566
  declare const ContextConfigApiInsertSchema: z.ZodObject<{
6188
- id: z.ZodString;
6189
- name: z.ZodString;
6190
- description: z.ZodString;
6191
- graphId: z.ZodString;
6192
- requestContextSchema: z.ZodOptional<z.ZodUnknown>;
6567
+ id: z.ZodOptional<z.ZodString>;
6568
+ headersSchema: z.ZodOptional<z.ZodUnknown>;
6193
6569
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
6194
6570
  }, z.core.$strip>;
6195
6571
  declare const ContextConfigApiUpdateSchema: z.ZodObject<{
6196
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6197
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6198
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6199
- graphId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6200
- 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>>>;
6201
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>>>>>>>;
6202
6575
  }, z.core.$strip>;
6203
6576
  declare const AgentToolRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -7251,7 +7624,6 @@ declare const FullGraphAgentInsertSchema: z.ZodObject<{
7251
7624
  prompt: z.ZodString;
7252
7625
  createdAt: z.ZodOptional<z.ZodString>;
7253
7626
  updatedAt: z.ZodOptional<z.ZodString>;
7254
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7255
7627
  models: z.ZodOptional<z.ZodObject<{
7256
7628
  base: z.ZodOptional<z.ZodObject<{
7257
7629
  model: z.ZodOptional<z.ZodString>;
@@ -7275,6 +7647,7 @@ declare const FullGraphAgentInsertSchema: z.ZodObject<{
7275
7647
  }, {
7276
7648
  stepCountIs?: number | undefined;
7277
7649
  }>>>>;
7650
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7278
7651
  type: z.ZodLiteral<"internal">;
7279
7652
  canUse: z.ZodArray<z.ZodObject<{
7280
7653
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -7302,7 +7675,6 @@ declare const FullGraphDefinitionSchema: z.ZodObject<{
7302
7675
  prompt: z.ZodString;
7303
7676
  createdAt: z.ZodOptional<z.ZodString>;
7304
7677
  updatedAt: z.ZodOptional<z.ZodString>;
7305
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7306
7678
  models: z.ZodOptional<z.ZodObject<{
7307
7679
  base: z.ZodOptional<z.ZodObject<{
7308
7680
  model: z.ZodOptional<z.ZodString>;
@@ -7326,6 +7698,7 @@ declare const FullGraphDefinitionSchema: z.ZodObject<{
7326
7698
  }, {
7327
7699
  stepCountIs?: number | undefined;
7328
7700
  }>>>>;
7701
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7329
7702
  type: z.ZodLiteral<"internal">;
7330
7703
  canUse: z.ZodArray<z.ZodObject<{
7331
7704
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -7347,12 +7720,51 @@ declare const FullGraphDefinitionSchema: z.ZodObject<{
7347
7720
  baseUrl: z.ZodString;
7348
7721
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7349
7722
  }, z.core.$strip>]>>;
7350
- contextConfig: z.ZodOptional<z.ZodObject<{
7723
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7351
7724
  id: z.ZodString;
7352
7725
  name: z.ZodString;
7353
- description: z.ZodString;
7354
- graphId: z.ZodString;
7355
- requestContextSchema: z.ZodOptional<z.ZodUnknown>;
7726
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7727
+ config: z.ZodDiscriminatedUnion<[z.ZodObject<{
7728
+ type: z.ZodLiteral<"mcp">;
7729
+ mcp: z.ZodObject<{
7730
+ server: z.ZodObject<{
7731
+ url: z.ZodString;
7732
+ }, z.core.$strip>;
7733
+ transport: z.ZodOptional<z.ZodObject<{
7734
+ type: z.ZodEnum<{
7735
+ readonly streamableHttp: "streamable_http";
7736
+ readonly sse: "sse";
7737
+ }>;
7738
+ requestInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7739
+ eventSourceInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7740
+ reconnectionOptions: z.ZodOptional<z.ZodCustom<StreamableHTTPReconnectionOptions, StreamableHTTPReconnectionOptions>>;
7741
+ sessionId: z.ZodOptional<z.ZodString>;
7742
+ }, z.core.$strip>>;
7743
+ activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
7744
+ }, z.core.$strip>;
7745
+ }, z.core.$strip>, z.ZodObject<{
7746
+ type: z.ZodLiteral<"function">;
7747
+ }, z.core.$strip>], "type">;
7748
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7749
+ createdAt: z.ZodOptional<z.ZodString>;
7750
+ updatedAt: z.ZodOptional<z.ZodString>;
7751
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7752
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
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>;
7356
7768
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
7357
7769
  }, z.core.$strip>>;
7358
7770
  statusUpdates: z.ZodOptional<z.ZodObject<{
@@ -7404,7 +7816,6 @@ declare const GraphWithinContextOfProjectSchema: z.ZodObject<{
7404
7816
  prompt: z.ZodString;
7405
7817
  createdAt: z.ZodOptional<z.ZodString>;
7406
7818
  updatedAt: z.ZodOptional<z.ZodString>;
7407
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7408
7819
  models: z.ZodOptional<z.ZodObject<{
7409
7820
  base: z.ZodOptional<z.ZodObject<{
7410
7821
  model: z.ZodOptional<z.ZodString>;
@@ -7428,6 +7839,7 @@ declare const GraphWithinContextOfProjectSchema: z.ZodObject<{
7428
7839
  }, {
7429
7840
  stepCountIs?: number | undefined;
7430
7841
  }>>>>;
7842
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7431
7843
  type: z.ZodLiteral<"internal">;
7432
7844
  canUse: z.ZodArray<z.ZodObject<{
7433
7845
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -7451,11 +7863,8 @@ declare const GraphWithinContextOfProjectSchema: z.ZodObject<{
7451
7863
  type: z.ZodLiteral<"external">;
7452
7864
  }, z.core.$strip>], "type">>;
7453
7865
  contextConfig: z.ZodOptional<z.ZodObject<{
7454
- id: z.ZodString;
7455
- name: z.ZodString;
7456
- description: z.ZodString;
7457
- graphId: z.ZodString;
7458
- requestContextSchema: z.ZodOptional<z.ZodUnknown>;
7866
+ id: z.ZodOptional<z.ZodString>;
7867
+ headersSchema: z.ZodOptional<z.ZodUnknown>;
7459
7868
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
7460
7869
  }, z.core.$strip>>;
7461
7870
  statusUpdates: z.ZodOptional<z.ZodObject<{
@@ -7631,6 +8040,35 @@ declare const ProjectSelectSchema: drizzle_zod.BuildSchema<"select", {
7631
8040
  stepCountIs?: number | undefined;
7632
8041
  };
7633
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
+ }>;
7634
8072
  name: drizzle_orm_sqlite_core.SQLiteColumn<{
7635
8073
  name: "name";
7636
8074
  tableName: "projects";
@@ -7731,6 +8169,18 @@ declare const ProjectInsertSchema: z.ZodObject<{
7731
8169
  transferCountIs: z.ZodOptional<z.ZodNumber>;
7732
8170
  stepCountIs: z.ZodOptional<z.ZodNumber>;
7733
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>>;
7734
8184
  }, {
7735
8185
  out: {};
7736
8186
  in: {};
@@ -7758,6 +8208,18 @@ declare const ProjectUpdateSchema: z.ZodObject<{
7758
8208
  transferCountIs: z.ZodOptional<z.ZodNumber>;
7759
8209
  stepCountIs: z.ZodOptional<z.ZodNumber>;
7760
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>>>;
7761
8223
  }, {
7762
8224
  out: {};
7763
8225
  in: {};
@@ -7834,6 +8296,27 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
7834
8296
  transferCountIs?: number | undefined;
7835
8297
  stepCountIs?: number | undefined;
7836
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
+ }>>>;
7837
8320
  }, {
7838
8321
  out: {};
7839
8322
  in: {};
@@ -7860,6 +8343,18 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
7860
8343
  transferCountIs: z.ZodOptional<z.ZodNumber>;
7861
8344
  stepCountIs: z.ZodOptional<z.ZodNumber>;
7862
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>>;
7863
8358
  }, {
7864
8359
  out: {};
7865
8360
  in: {};
@@ -7886,6 +8381,18 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
7886
8381
  transferCountIs: z.ZodOptional<z.ZodNumber>;
7887
8382
  stepCountIs: z.ZodOptional<z.ZodNumber>;
7888
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>>>;
7889
8396
  }, {
7890
8397
  out: {};
7891
8398
  in: {};
@@ -7912,6 +8419,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
7912
8419
  transferCountIs: z.ZodOptional<z.ZodNumber>;
7913
8420
  stepCountIs: z.ZodOptional<z.ZodNumber>;
7914
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>>;
7915
8434
  graphs: z.ZodRecord<z.ZodString, z.ZodObject<{
7916
8435
  name: z.ZodString;
7917
8436
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -7927,7 +8446,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
7927
8446
  prompt: z.ZodString;
7928
8447
  createdAt: z.ZodOptional<z.ZodString>;
7929
8448
  updatedAt: z.ZodOptional<z.ZodString>;
7930
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7931
8449
  models: z.ZodOptional<z.ZodObject<{
7932
8450
  base: z.ZodOptional<z.ZodObject<{
7933
8451
  model: z.ZodOptional<z.ZodString>;
@@ -7951,6 +8469,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
7951
8469
  }, {
7952
8470
  stepCountIs?: number | undefined;
7953
8471
  }>>>>;
8472
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7954
8473
  type: z.ZodLiteral<"internal">;
7955
8474
  canUse: z.ZodArray<z.ZodObject<{
7956
8475
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -7974,11 +8493,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
7974
8493
  type: z.ZodLiteral<"external">;
7975
8494
  }, z.core.$strip>], "type">>;
7976
8495
  contextConfig: z.ZodOptional<z.ZodObject<{
7977
- id: z.ZodString;
7978
- name: z.ZodString;
7979
- description: z.ZodString;
7980
- graphId: z.ZodString;
7981
- requestContextSchema: z.ZodOptional<z.ZodUnknown>;
8496
+ id: z.ZodOptional<z.ZodString>;
8497
+ headersSchema: z.ZodOptional<z.ZodUnknown>;
7982
8498
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
7983
8499
  }, z.core.$strip>>;
7984
8500
  statusUpdates: z.ZodOptional<z.ZodObject<{
@@ -8018,27 +8534,45 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8018
8534
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
8019
8535
  id: z.ZodString;
8020
8536
  name: z.ZodString;
8021
- config: z.ZodType<{
8022
- type: "mcp";
8023
- mcp: ToolMcpConfig;
8024
- }, {
8025
- type: "mcp";
8026
- mcp: ToolMcpConfig;
8027
- }, z.core.$ZodTypeInternals<{
8028
- type: "mcp";
8029
- mcp: ToolMcpConfig;
8030
- }, {
8031
- type: "mcp";
8032
- mcp: ToolMcpConfig;
8033
- }>>;
8537
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8538
+ config: z.ZodDiscriminatedUnion<[z.ZodObject<{
8539
+ type: z.ZodLiteral<"mcp">;
8540
+ mcp: z.ZodObject<{
8541
+ server: z.ZodObject<{
8542
+ url: z.ZodString;
8543
+ }, z.core.$strip>;
8544
+ transport: z.ZodOptional<z.ZodObject<{
8545
+ type: z.ZodEnum<{
8546
+ readonly streamableHttp: "streamable_http";
8547
+ readonly sse: "sse";
8548
+ }>;
8549
+ requestInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8550
+ eventSourceInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8551
+ reconnectionOptions: z.ZodOptional<z.ZodCustom<StreamableHTTPReconnectionOptions, StreamableHTTPReconnectionOptions>>;
8552
+ sessionId: z.ZodOptional<z.ZodString>;
8553
+ }, z.core.$strip>>;
8554
+ activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
8555
+ }, z.core.$strip>;
8556
+ }, z.core.$strip>, z.ZodObject<{
8557
+ type: z.ZodLiteral<"function">;
8558
+ }, z.core.$strip>], "type">;
8034
8559
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8035
8560
  createdAt: z.ZodOptional<z.ZodString>;
8036
8561
  updatedAt: z.ZodOptional<z.ZodString>;
8037
8562
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8038
8563
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
8564
+ functionId: z.ZodOptional<z.ZodString>;
8039
8565
  imageUrl: z.ZodOptional<z.ZodString>;
8040
8566
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8041
8567
  }, z.core.$strip>>;
8568
+ functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
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>>>;
8042
8576
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8043
8577
  id: z.ZodString;
8044
8578
  name: z.ZodString;
@@ -8051,8 +8585,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8051
8585
  id: z.ZodString;
8052
8586
  name: z.ZodString;
8053
8587
  description: z.ZodString;
8054
- summaryProps: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
8055
- 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>>>>>;
8056
8589
  }, {
8057
8590
  out: {};
8058
8591
  in: {};
@@ -8171,6 +8704,12 @@ type ToolApiInsert = z$1.infer<typeof ToolApiInsertSchema>;
8171
8704
  type ToolApiUpdate = z$1.infer<typeof ToolApiUpdateSchema>;
8172
8705
  type McpTool = z$1.infer<typeof McpToolSchema>;
8173
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>;
8174
8713
  type ConversationSelect = z$1.infer<typeof ConversationSelectSchema>;
8175
8714
  type ConversationInsert = z$1.infer<typeof ConversationInsertSchema>;
8176
8715
  type ConversationUpdate = z$1.infer<typeof ConversationUpdateSchema>;
@@ -8259,6 +8798,8 @@ type FullProjectDefinition = z$1.infer<typeof FullProjectDefinitionSchema>;
8259
8798
  type CanUseItem = {
8260
8799
  toolId: string;
8261
8800
  toolSelection?: string[] | null;
8801
+ headers?: Record<string, string> | null;
8802
+ agentToolRelationId?: string;
8262
8803
  };
8263
8804
  type InternalAgentDefinition = z$1.infer<typeof AgentApiInsertSchema> & {
8264
8805
  canUse: CanUseItem[];
@@ -8500,4 +9041,4 @@ interface ExecutionContext {
8500
9041
  agentId?: string;
8501
9042
  }
8502
9043
 
8503
- 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 };