@inkeep/agents-core 0.0.0-dev-20251008200151 → 0.0.0-dev-20251009005405

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.
@@ -428,6 +428,29 @@ declare const ProjectModelSchema: z.ZodObject<{
428
428
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
429
429
  }, z.core.$strip>>;
430
430
  }, z.core.$strip>;
431
+ declare const SandboxConfigSchema: z.ZodObject<{
432
+ provider: z.ZodEnum<{
433
+ vercel: "vercel";
434
+ local: "local";
435
+ }>;
436
+ runtime: z.ZodEnum<{
437
+ node22: "node22";
438
+ typescript: "typescript";
439
+ }>;
440
+ timeout: z.ZodOptional<z.ZodNumber>;
441
+ vcpus: z.ZodOptional<z.ZodNumber>;
442
+ }, z.core.$strip>;
443
+ type SandboxConfig = z.infer<typeof SandboxConfigSchema>;
444
+ declare const FunctionToolConfigSchema: z.ZodObject<{
445
+ name: z.ZodString;
446
+ description: z.ZodString;
447
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
448
+ dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
449
+ execute: z.ZodUnion<readonly [z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>, z.ZodString]>;
450
+ }, z.core.$strip>;
451
+ type FunctionToolConfig = Omit<z.infer<typeof FunctionToolConfigSchema>, 'execute'> & {
452
+ execute: ((params: any) => Promise<any>) | string;
453
+ };
431
454
  declare const AgentSelectSchema: drizzle_zod.BuildSchema<"select", {
432
455
  createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
433
456
  name: "created_at";
@@ -765,11 +788,12 @@ declare const AgentUpdateSchema: z.ZodObject<{
765
788
  in: {};
766
789
  }>;
767
790
  declare const AgentApiSelectSchema: z.ZodObject<{
768
- name: z.ZodString;
769
791
  id: z.ZodString;
792
+ name: z.ZodString;
793
+ description: z.ZodString;
794
+ prompt: z.ZodString;
770
795
  createdAt: z.ZodString;
771
796
  updatedAt: z.ZodString;
772
- description: z.ZodString;
773
797
  models: z.ZodNullable<z.ZodType<{
774
798
  base?: {
775
799
  model?: string | undefined;
@@ -832,15 +856,15 @@ declare const AgentApiSelectSchema: z.ZodObject<{
832
856
  }, {
833
857
  stepCountIs?: number | undefined;
834
858
  }>>>;
835
- prompt: z.ZodString;
836
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
- name: z.ZodString;
840
862
  id: z.ZodString;
863
+ name: z.ZodString;
864
+ description: z.ZodString;
865
+ prompt: z.ZodString;
841
866
  createdAt: z.ZodOptional<z.ZodString>;
842
867
  updatedAt: z.ZodOptional<z.ZodString>;
843
- description: z.ZodString;
844
868
  models: z.ZodOptional<z.ZodObject<{
845
869
  base: z.ZodOptional<z.ZodObject<{
846
870
  model: z.ZodOptional<z.ZodString>;
@@ -864,15 +888,15 @@ declare const AgentApiInsertSchema: z.ZodObject<{
864
888
  }, {
865
889
  stepCountIs?: number | undefined;
866
890
  }>>>>;
867
- prompt: z.ZodString;
868
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
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
872
894
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
895
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
896
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
897
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
873
898
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
874
899
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
875
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
876
900
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
877
901
  base: z.ZodOptional<z.ZodObject<{
878
902
  model: z.ZodOptional<z.ZodString>;
@@ -896,7 +920,6 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
896
920
  }, {
897
921
  stepCountIs?: number | undefined;
898
922
  }>>>>>>;
899
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
900
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", {
@@ -1176,9 +1199,9 @@ declare const ExternalAgentRelationInsertSchema: z.ZodObject<{
1176
1199
  }>;
1177
1200
  declare const ExternalAgentRelationApiInsertSchema: z.ZodObject<{
1178
1201
  id: z.ZodString;
1202
+ graphId: z.ZodString;
1179
1203
  createdAt: z.ZodOptional<z.ZodString>;
1180
1204
  updatedAt: z.ZodOptional<z.ZodString>;
1181
- graphId: z.ZodString;
1182
1205
  sourceAgentId: z.ZodString;
1183
1206
  targetAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1184
1207
  externalAgentId: z.ZodString;
@@ -1760,11 +1783,11 @@ declare const AgentGraphUpdateSchema: z.ZodObject<{
1760
1783
  in: {};
1761
1784
  }>;
1762
1785
  declare const AgentGraphApiSelectSchema: z.ZodObject<{
1763
- name: z.ZodString;
1764
1786
  id: z.ZodString;
1787
+ name: z.ZodString;
1788
+ description: z.ZodNullable<z.ZodString>;
1765
1789
  createdAt: z.ZodString;
1766
1790
  updatedAt: z.ZodString;
1767
- description: z.ZodNullable<z.ZodString>;
1768
1791
  models: z.ZodNullable<z.ZodType<{
1769
1792
  base?: {
1770
1793
  model?: string | undefined;
@@ -1890,9 +1913,9 @@ declare const AgentGraphApiSelectSchema: z.ZodObject<{
1890
1913
  }, z.core.$strip>;
1891
1914
  declare const AgentGraphApiInsertSchema: z.ZodObject<{
1892
1915
  name: z.ZodString;
1916
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1893
1917
  createdAt: z.ZodOptional<z.ZodString>;
1894
1918
  updatedAt: z.ZodOptional<z.ZodString>;
1895
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1896
1919
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
1897
1920
  base?: {
1898
1921
  model?: string | undefined;
@@ -2018,11 +2041,11 @@ declare const AgentGraphApiInsertSchema: z.ZodObject<{
2018
2041
  id: z.ZodString;
2019
2042
  }, z.core.$strip>;
2020
2043
  declare const AgentGraphApiUpdateSchema: z.ZodObject<{
2021
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2022
2044
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2045
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2046
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2023
2047
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2024
2048
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2025
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2026
2049
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2027
2050
  base?: {
2028
2051
  model?: string | undefined;
@@ -2372,9 +2395,9 @@ declare const TaskUpdateSchema: z.ZodObject<{
2372
2395
  }>;
2373
2396
  declare const TaskApiSelectSchema: z.ZodObject<{
2374
2397
  id: z.ZodString;
2398
+ graphId: z.ZodString;
2375
2399
  createdAt: z.ZodString;
2376
2400
  updatedAt: z.ZodString;
2377
- graphId: z.ZodString;
2378
2401
  status: z.ZodString;
2379
2402
  metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
2380
2403
  contextId: z.ZodString;
@@ -2382,9 +2405,9 @@ declare const TaskApiSelectSchema: z.ZodObject<{
2382
2405
  }, z.core.$strip>;
2383
2406
  declare const TaskApiInsertSchema: z.ZodObject<{
2384
2407
  id: z.ZodString;
2408
+ graphId: z.ZodString;
2385
2409
  createdAt: z.ZodOptional<z.ZodString>;
2386
2410
  updatedAt: z.ZodOptional<z.ZodString>;
2387
- graphId: z.ZodString;
2388
2411
  status: z.ZodString;
2389
2412
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
2390
2413
  conversationId: z.ZodOptional<z.ZodString>;
@@ -2393,9 +2416,9 @@ declare const TaskApiInsertSchema: z.ZodObject<{
2393
2416
  }, z.core.$strip>;
2394
2417
  declare const TaskApiUpdateSchema: z.ZodObject<{
2395
2418
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2419
+ graphId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2396
2420
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2397
2421
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2398
- graphId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2399
2422
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2400
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>>>;
@@ -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: {};
@@ -4154,9 +4239,9 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
4154
4239
  }>;
4155
4240
  declare const ContextCacheApiSelectSchema: z.ZodObject<{
4156
4241
  id: z.ZodString;
4242
+ value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
4157
4243
  createdAt: z.ZodString;
4158
4244
  updatedAt: z.ZodString;
4159
- value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
4160
4245
  contextConfigId: z.ZodString;
4161
4246
  conversationId: z.ZodString;
4162
4247
  contextVariableKey: z.ZodString;
@@ -4167,9 +4252,9 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<{
4167
4252
  }, z.core.$strip>;
4168
4253
  declare const ContextCacheApiInsertSchema: z.ZodObject<{
4169
4254
  id: z.ZodString;
4255
+ value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
4170
4256
  createdAt: z.ZodOptional<z.ZodString>;
4171
4257
  updatedAt: z.ZodOptional<z.ZodString>;
4172
- value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
4173
4258
  contextConfigId: z.ZodString;
4174
4259
  conversationId: z.ZodString;
4175
4260
  contextVariableKey: z.ZodString;
@@ -4180,9 +4265,9 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<{
4180
4265
  }, z.core.$strip>;
4181
4266
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
4182
4267
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4268
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
4183
4269
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4184
4270
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4185
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
4186
4271
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4187
4272
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4188
4273
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4359,10 +4444,10 @@ declare const DataComponentInsertSchema: z.ZodObject<{
4359
4444
  in: {};
4360
4445
  }>;
4361
4446
  declare const DataComponentBaseSchema: z.ZodObject<{
4362
- name: z.ZodString;
4363
- id: z.ZodString;
4364
- projectId: z.ZodString;
4365
4447
  tenantId: z.ZodString;
4448
+ projectId: z.ZodString;
4449
+ id: z.ZodString;
4450
+ name: z.ZodString;
4366
4451
  description: z.ZodString;
4367
4452
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4368
4453
  }, {
@@ -4383,27 +4468,27 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
4383
4468
  in: {};
4384
4469
  }>;
4385
4470
  declare const DataComponentApiSelectSchema: z.ZodObject<{
4386
- name: z.ZodString;
4387
4471
  id: z.ZodString;
4472
+ name: z.ZodString;
4473
+ description: z.ZodString;
4388
4474
  createdAt: z.ZodString;
4389
4475
  updatedAt: z.ZodString;
4390
- description: z.ZodString;
4391
4476
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
4392
4477
  }, z.core.$strip>;
4393
4478
  declare const DataComponentApiInsertSchema: z.ZodObject<{
4394
- name: z.ZodString;
4395
4479
  id: z.ZodString;
4480
+ name: z.ZodString;
4481
+ description: z.ZodString;
4396
4482
  createdAt: z.ZodOptional<z.ZodString>;
4397
4483
  updatedAt: z.ZodOptional<z.ZodString>;
4398
- description: z.ZodString;
4399
4484
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4400
4485
  }, z.core.$strip>;
4401
4486
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
4402
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4403
4487
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4488
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4489
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4404
4490
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4405
4491
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4406
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4407
4492
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
4408
4493
  }, z.core.$strip>;
4409
4494
  declare const AgentDataComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -4889,16 +4974,16 @@ declare const ArtifactComponentUpdateSchema: z.ZodObject<{
4889
4974
  in: {};
4890
4975
  }>;
4891
4976
  declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
4892
- name: z.ZodString;
4893
4977
  id: z.ZodString;
4978
+ name: z.ZodString;
4979
+ description: z.ZodString;
4894
4980
  createdAt: z.ZodString;
4895
4981
  updatedAt: z.ZodString;
4896
- description: z.ZodString;
4897
4982
  props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
4898
4983
  }, z.core.$strip>;
4899
4984
  declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
4900
- name: z.ZodString;
4901
4985
  id: z.ZodString;
4986
+ name: z.ZodString;
4902
4987
  description: z.ZodString;
4903
4988
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4904
4989
  }, {
@@ -4906,11 +4991,11 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
4906
4991
  in: {};
4907
4992
  }>;
4908
4993
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
4909
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4910
4994
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4995
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4996
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4911
4997
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4912
4998
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4913
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4914
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>>>>>>>;
4915
5000
  }, z.core.$strip>;
4916
5001
  declare const AgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -5141,41 +5226,42 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
5141
5226
  in: {};
5142
5227
  }>;
5143
5228
  declare const ExternalAgentApiSelectSchema: z.ZodObject<{
5144
- name: z.ZodString;
5145
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
5146
5229
  id: z.ZodString;
5147
- createdAt: z.ZodString;
5148
- updatedAt: z.ZodString;
5230
+ name: z.ZodString;
5149
5231
  description: z.ZodString;
5150
5232
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5233
+ createdAt: z.ZodString;
5234
+ updatedAt: z.ZodString;
5151
5235
  baseUrl: z.ZodString;
5236
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
5152
5237
  }, z.core.$strip>;
5153
5238
  declare const ExternalAgentApiInsertSchema: z.ZodObject<{
5154
- name: z.ZodString;
5155
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
5156
5239
  id: z.ZodString;
5157
- createdAt: z.ZodOptional<z.ZodString>;
5158
- updatedAt: z.ZodOptional<z.ZodString>;
5240
+ name: z.ZodString;
5159
5241
  description: z.ZodString;
5160
5242
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5243
+ createdAt: z.ZodOptional<z.ZodString>;
5244
+ updatedAt: z.ZodOptional<z.ZodString>;
5161
5245
  baseUrl: z.ZodString;
5246
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
5162
5247
  }, z.core.$strip>;
5163
5248
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
5164
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5165
- 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>>>>>>>;
5166
5249
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5167
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5168
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5250
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5169
5251
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5170
5252
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5253
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5254
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5171
5255
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5256
+ 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>>>>>>>;
5172
5257
  }, z.core.$strip>;
5173
5258
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5174
- name: z.ZodString;
5175
5259
  id: z.ZodString;
5260
+ name: z.ZodString;
5261
+ description: z.ZodString;
5262
+ prompt: z.ZodString;
5176
5263
  createdAt: z.ZodString;
5177
5264
  updatedAt: z.ZodString;
5178
- description: z.ZodString;
5179
5265
  models: z.ZodNullable<z.ZodType<{
5180
5266
  base?: {
5181
5267
  model?: string | undefined;
@@ -5238,18 +5324,17 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5238
5324
  }, {
5239
5325
  stepCountIs?: number | undefined;
5240
5326
  }>>>;
5241
- prompt: z.ZodString;
5242
5327
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
5243
5328
  type: z.ZodLiteral<"internal">;
5244
5329
  }, z.core.$strip>, z.ZodObject<{
5245
- name: z.ZodString;
5246
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
5247
5330
  id: z.ZodString;
5248
- createdAt: z.ZodString;
5249
- updatedAt: z.ZodString;
5331
+ name: z.ZodString;
5250
5332
  description: z.ZodString;
5251
5333
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5334
+ createdAt: z.ZodString;
5335
+ updatedAt: z.ZodString;
5252
5336
  baseUrl: z.ZodString;
5337
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
5253
5338
  type: z.ZodLiteral<"external">;
5254
5339
  }, z.core.$strip>], "type">;
5255
5340
  declare const ApiKeySelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -5501,24 +5586,24 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
5501
5586
  }>;
5502
5587
  declare const ApiKeyUpdateSchema: z.ZodObject<{
5503
5588
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5504
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5505
5589
  graphId: z.ZodOptional<z.ZodString>;
5506
5590
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5507
5591
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5592
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5508
5593
  }, {
5509
5594
  out: {};
5510
5595
  in: {};
5511
5596
  }>;
5512
5597
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
5513
- name: z.ZodNullable<z.ZodString>;
5514
5598
  id: z.ZodString;
5515
- createdAt: z.ZodString;
5516
- updatedAt: z.ZodString;
5599
+ name: z.ZodNullable<z.ZodString>;
5517
5600
  graphId: z.ZodString;
5518
5601
  publicId: z.ZodString;
5519
5602
  keyPrefix: z.ZodString;
5520
5603
  lastUsedAt: z.ZodNullable<z.ZodString>;
5521
5604
  expiresAt: z.ZodNullable<z.ZodString>;
5605
+ createdAt: z.ZodString;
5606
+ updatedAt: z.ZodString;
5522
5607
  }, {
5523
5608
  out: {};
5524
5609
  in: {};
@@ -5526,15 +5611,15 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
5526
5611
  declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
5527
5612
  data: z.ZodObject<{
5528
5613
  apiKey: z.ZodObject<{
5529
- name: z.ZodNullable<z.ZodString>;
5530
5614
  id: z.ZodString;
5531
- createdAt: z.ZodString;
5532
- updatedAt: z.ZodString;
5615
+ name: z.ZodNullable<z.ZodString>;
5533
5616
  graphId: z.ZodString;
5534
5617
  publicId: z.ZodString;
5535
5618
  keyPrefix: z.ZodString;
5536
5619
  lastUsedAt: z.ZodNullable<z.ZodString>;
5537
5620
  expiresAt: z.ZodNullable<z.ZodString>;
5621
+ createdAt: z.ZodString;
5622
+ updatedAt: z.ZodString;
5538
5623
  }, {
5539
5624
  out: {};
5540
5625
  in: {};
@@ -5544,20 +5629,20 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
5544
5629
  }, z.core.$strip>;
5545
5630
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
5546
5631
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5547
- createdAt: z.ZodOptional<z.ZodString>;
5548
- updatedAt: z.ZodOptional<z.ZodString>;
5549
5632
  graphId: z.ZodString;
5550
5633
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5634
+ createdAt: z.ZodOptional<z.ZodString>;
5635
+ updatedAt: z.ZodOptional<z.ZodString>;
5551
5636
  }, {
5552
5637
  out: {};
5553
5638
  in: {};
5554
5639
  }>;
5555
5640
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
5556
5641
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5557
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5558
5642
  graphId: z.ZodOptional<z.ZodString>;
5559
5643
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5560
5644
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5645
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5561
5646
  }, {
5562
5647
  out: {};
5563
5648
  in: {};
@@ -5600,10 +5685,10 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
5600
5685
  }>;
5601
5686
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
5602
5687
  id: z.ZodString;
5603
- credentialStoreId: z.ZodString;
5604
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5605
5688
  createdAt: z.ZodString;
5606
5689
  updatedAt: z.ZodString;
5690
+ credentialStoreId: z.ZodString;
5691
+ retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5607
5692
  type: z.ZodEnum<{
5608
5693
  readonly memory: "memory";
5609
5694
  readonly keychain: "keychain";
@@ -5667,6 +5752,25 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
5667
5752
  }, {}, {
5668
5753
  length: number | undefined;
5669
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
+ }>;
5670
5774
  config: drizzle_orm_sqlite_core.SQLiteColumn<{
5671
5775
  name: "config";
5672
5776
  tableName: "tools";
@@ -5675,6 +5779,13 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
5675
5779
  data: {
5676
5780
  type: "mcp";
5677
5781
  mcp: ToolMcpConfig;
5782
+ } | {
5783
+ type: "function";
5784
+ function?: {
5785
+ inputSchema: Record<string, unknown>;
5786
+ executeCode: string;
5787
+ dependencies: Record<string, unknown>;
5788
+ };
5678
5789
  };
5679
5790
  driverParam: Buffer<ArrayBufferLike>;
5680
5791
  notNull: true;
@@ -5690,8 +5801,34 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
5690
5801
  $type: {
5691
5802
  type: "mcp";
5692
5803
  mcp: ToolMcpConfig;
5804
+ } | {
5805
+ type: "function";
5806
+ function?: {
5807
+ inputSchema: Record<string, unknown>;
5808
+ executeCode: string;
5809
+ dependencies: Record<string, unknown>;
5810
+ };
5693
5811
  };
5694
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
+ }>;
5695
5832
  credentialReferenceId: drizzle_orm_sqlite_core.SQLiteColumn<{
5696
5833
  name: "credential_reference_id";
5697
5834
  tableName: "tools";
@@ -5848,10 +5985,10 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
5848
5985
  }, z.core.$strip>;
5849
5986
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
5850
5987
  id: z.ZodString;
5851
- credentialStoreId: z.ZodString;
5852
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5853
5988
  createdAt: z.ZodOptional<z.ZodString>;
5854
5989
  updatedAt: z.ZodOptional<z.ZodString>;
5990
+ credentialStoreId: z.ZodString;
5991
+ retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5855
5992
  type: z.ZodEnum<{
5856
5993
  readonly memory: "memory";
5857
5994
  readonly keychain: "keychain";
@@ -5860,10 +5997,10 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
5860
5997
  }, z.core.$strip>;
5861
5998
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
5862
5999
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5863
- credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5864
- retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
5865
6000
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5866
6001
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6002
+ credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6003
+ retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
5867
6004
  type: z.ZodOptional<z.ZodEnum<{
5868
6005
  readonly memory: "memory";
5869
6006
  readonly keychain: "keychain";
@@ -5872,19 +6009,7 @@ declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
5872
6009
  }, z.core.$strip>;
5873
6010
  declare const McpToolSchema: z.ZodObject<{
5874
6011
  name: z.ZodString;
5875
- config: z.ZodType<{
5876
- type: "mcp";
5877
- mcp: ToolMcpConfig;
5878
- }, {
5879
- type: "mcp";
5880
- mcp: ToolMcpConfig;
5881
- }, z.core.$ZodTypeInternals<{
5882
- type: "mcp";
5883
- mcp: ToolMcpConfig;
5884
- }, {
5885
- type: "mcp";
5886
- mcp: ToolMcpConfig;
5887
- }>>;
6012
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5888
6013
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5889
6014
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
5890
6015
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
@@ -5892,6 +6017,28 @@ declare const McpToolSchema: z.ZodObject<{
5892
6017
  projectId: z.ZodString;
5893
6018
  tenantId: z.ZodString;
5894
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">;
5895
6042
  imageUrl: z.ZodOptional<z.ZodString>;
5896
6043
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
5897
6044
  name: z.ZodString;
@@ -5912,10 +6059,11 @@ declare const McpToolSchema: z.ZodObject<{
5912
6059
  in: {};
5913
6060
  }>;
5914
6061
  declare const MCPToolConfigSchema: z.ZodObject<{
6062
+ id: z.ZodString;
5915
6063
  name: z.ZodString;
5916
6064
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
5917
- id: z.ZodString;
5918
6065
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
6066
+ functionId: z.ZodOptional<z.ZodString>;
5919
6067
  imageUrl: z.ZodOptional<z.ZodString>;
5920
6068
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5921
6069
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -5944,10 +6092,10 @@ declare const MCPToolConfigSchema: z.ZodObject<{
5944
6092
  }, z.core.$strip>>;
5945
6093
  credential: z.ZodOptional<z.ZodObject<{
5946
6094
  id: z.ZodString;
5947
- credentialStoreId: z.ZodString;
5948
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5949
6095
  createdAt: z.ZodOptional<z.ZodString>;
5950
6096
  updatedAt: z.ZodOptional<z.ZodString>;
6097
+ credentialStoreId: z.ZodString;
6098
+ retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5951
6099
  type: z.ZodEnum<{
5952
6100
  readonly memory: "memory";
5953
6101
  readonly keychain: "keychain";
@@ -5962,19 +6110,7 @@ declare const ToolUpdateSchema: z.ZodObject<{
5962
6110
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5963
6111
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5964
6112
  name: z.ZodOptional<z.ZodString>;
5965
- config: z.ZodOptional<z.ZodType<{
5966
- type: "mcp";
5967
- mcp: ToolMcpConfig;
5968
- }, {
5969
- type: "mcp";
5970
- mcp: ToolMcpConfig;
5971
- }, z.core.$ZodTypeInternals<{
5972
- type: "mcp";
5973
- mcp: ToolMcpConfig;
5974
- }, {
5975
- type: "mcp";
5976
- mcp: ToolMcpConfig;
5977
- }>>>;
6113
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5978
6114
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5979
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>>>>>>;
5980
6116
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>;
@@ -5983,82 +6119,358 @@ declare const ToolUpdateSchema: z.ZodObject<{
5983
6119
  tenantId: z.ZodOptional<z.ZodString>;
5984
6120
  id: z.ZodOptional<z.ZodString>;
5985
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">>;
5986
6144
  }, {
5987
6145
  out: {};
5988
6146
  in: {};
5989
6147
  }>;
5990
6148
  declare const ToolApiSelectSchema: z.ZodObject<{
5991
- name: z.ZodString;
5992
- headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
5993
6149
  id: z.ZodString;
5994
- createdAt: z.ZodString;
5995
- updatedAt: z.ZodString;
5996
- credentialReferenceId: z.ZodNullable<z.ZodString>;
5997
- capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
6150
+ name: z.ZodString;
6151
+ description: z.ZodNullable<z.ZodString>;
5998
6152
  config: z.ZodType<{
5999
6153
  type: "mcp";
6000
6154
  mcp: ToolMcpConfig;
6155
+ } | {
6156
+ type: "function";
6157
+ function?: {
6158
+ inputSchema: Record<string, unknown>;
6159
+ executeCode: string;
6160
+ dependencies: Record<string, unknown>;
6161
+ };
6001
6162
  }, {
6002
6163
  type: "mcp";
6003
6164
  mcp: ToolMcpConfig;
6165
+ } | {
6166
+ type: "function";
6167
+ function?: {
6168
+ inputSchema: Record<string, unknown>;
6169
+ executeCode: string;
6170
+ dependencies: Record<string, unknown>;
6171
+ };
6004
6172
  }, z.core.$ZodTypeInternals<{
6005
6173
  type: "mcp";
6006
6174
  mcp: ToolMcpConfig;
6175
+ } | {
6176
+ type: "function";
6177
+ function?: {
6178
+ inputSchema: Record<string, unknown>;
6179
+ executeCode: string;
6180
+ dependencies: Record<string, unknown>;
6181
+ };
6007
6182
  }, {
6008
6183
  type: "mcp";
6009
6184
  mcp: ToolMcpConfig;
6185
+ } | {
6186
+ type: "function";
6187
+ function?: {
6188
+ inputSchema: Record<string, unknown>;
6189
+ executeCode: string;
6190
+ dependencies: Record<string, unknown>;
6191
+ };
6010
6192
  }>>;
6193
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
6194
+ createdAt: z.ZodString;
6195
+ updatedAt: z.ZodString;
6196
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
6197
+ capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
6198
+ functionId: z.ZodNullable<z.ZodString>;
6011
6199
  imageUrl: z.ZodNullable<z.ZodString>;
6012
6200
  lastError: z.ZodNullable<z.ZodString>;
6013
6201
  }, z.core.$strip>;
6014
6202
  declare const ToolApiInsertSchema: z.ZodObject<{
6015
- name: z.ZodString;
6016
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
6017
6203
  id: z.ZodString;
6204
+ name: z.ZodString;
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">;
6227
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6018
6228
  createdAt: z.ZodOptional<z.ZodString>;
6019
6229
  updatedAt: z.ZodOptional<z.ZodString>;
6020
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6230
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
6021
6231
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
6022
- config: z.ZodType<{
6023
- type: "mcp";
6024
- mcp: ToolMcpConfig;
6025
- }, {
6026
- type: "mcp";
6027
- mcp: ToolMcpConfig;
6028
- }, z.core.$ZodTypeInternals<{
6029
- type: "mcp";
6030
- mcp: ToolMcpConfig;
6031
- }, {
6032
- type: "mcp";
6033
- mcp: ToolMcpConfig;
6034
- }>>;
6232
+ functionId: z.ZodOptional<z.ZodString>;
6035
6233
  imageUrl: z.ZodOptional<z.ZodString>;
6036
6234
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6037
6235
  }, z.core.$strip>;
6038
6236
  declare const ToolApiUpdateSchema: z.ZodObject<{
6039
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6040
- 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>>>>>>>;
6041
6237
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6238
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
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">>>;
6261
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6042
6262
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6043
6263
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6044
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
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>>>>>>>;
6045
6265
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
6046
- config: z.ZodOptional<z.ZodOptional<z.ZodType<{
6047
- type: "mcp";
6048
- mcp: ToolMcpConfig;
6049
- }, {
6050
- type: "mcp";
6051
- mcp: ToolMcpConfig;
6052
- }, z.core.$ZodTypeInternals<{
6053
- type: "mcp";
6054
- mcp: ToolMcpConfig;
6055
- }, {
6056
- type: "mcp";
6057
- mcp: ToolMcpConfig;
6058
- }>>>>;
6266
+ functionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6059
6267
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6060
6268
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6061
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>;
6062
6474
  declare const FetchConfigSchema: z.ZodObject<{
6063
6475
  url: z.ZodString;
6064
6476
  method: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
@@ -6098,10 +6510,10 @@ declare const FetchDefinitionSchema: z.ZodObject<{
6098
6510
  defaultValue: z.ZodOptional<z.ZodUnknown>;
6099
6511
  credential: z.ZodOptional<z.ZodObject<{
6100
6512
  id: z.ZodString;
6101
- credentialStoreId: z.ZodString;
6102
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6103
6513
  createdAt: z.ZodOptional<z.ZodString>;
6104
6514
  updatedAt: z.ZodOptional<z.ZodString>;
6515
+ credentialStoreId: z.ZodString;
6516
+ retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6105
6517
  type: z.ZodEnum<{
6106
6518
  readonly memory: "memory";
6107
6519
  readonly keychain: "keychain";
@@ -6125,50 +6537,50 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
6125
6537
  in: {};
6126
6538
  }>;
6127
6539
  declare const ContextConfigInsertSchema: z.ZodObject<{
6128
- name: z.ZodString;
6129
- id: z.ZodString;
6130
- projectId: z.ZodString;
6131
6540
  tenantId: z.ZodString;
6541
+ projectId: z.ZodString;
6542
+ id: z.ZodString;
6543
+ name: z.ZodString;
6132
6544
  description: z.ZodString;
6545
+ graphId: z.ZodString;
6133
6546
  requestContextSchema: z.ZodOptional<z.ZodUnknown>;
6134
6547
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
6135
- graphId: z.ZodString;
6136
6548
  }, {
6137
6549
  out: {};
6138
6550
  in: {};
6139
6551
  }>;
6140
6552
  declare const ContextConfigUpdateSchema: z.ZodObject<{
6141
- name: z.ZodOptional<z.ZodString>;
6142
- id: z.ZodOptional<z.ZodString>;
6143
- projectId: z.ZodOptional<z.ZodString>;
6144
6553
  tenantId: z.ZodOptional<z.ZodString>;
6554
+ projectId: z.ZodOptional<z.ZodString>;
6555
+ id: z.ZodOptional<z.ZodString>;
6556
+ name: z.ZodOptional<z.ZodString>;
6145
6557
  description: z.ZodOptional<z.ZodString>;
6558
+ graphId: z.ZodOptional<z.ZodString>;
6146
6559
  requestContextSchema: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
6147
6560
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>>;
6148
- graphId: z.ZodOptional<z.ZodString>;
6149
6561
  }, {
6150
6562
  out: {};
6151
6563
  in: {};
6152
6564
  }>;
6153
6565
  declare const ContextConfigApiSelectSchema: z.ZodObject<{
6154
- name: z.ZodString;
6155
6566
  id: z.ZodString;
6567
+ name: z.ZodString;
6568
+ description: z.ZodString;
6156
6569
  createdAt: z.ZodString;
6157
6570
  updatedAt: z.ZodString;
6158
- description: z.ZodString;
6159
6571
  requestContextSchema: z.ZodOptional<z.ZodUnknown>;
6160
6572
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
6161
6573
  }, z.core.$strip>;
6162
6574
  declare const ContextConfigApiInsertSchema: z.ZodObject<{
6163
- name: z.ZodString;
6164
6575
  id: z.ZodString;
6576
+ name: z.ZodString;
6165
6577
  description: z.ZodString;
6166
6578
  requestContextSchema: z.ZodOptional<z.ZodUnknown>;
6167
6579
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
6168
6580
  }, z.core.$strip>;
6169
6581
  declare const ContextConfigApiUpdateSchema: z.ZodObject<{
6170
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6171
6582
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6583
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6172
6584
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6173
6585
  requestContextSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodUnknown>>>;
6174
6586
  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>>>>>>>;
@@ -6396,31 +6808,31 @@ declare const AgentToolRelationUpdateSchema: z.ZodObject<{
6396
6808
  in: {};
6397
6809
  }>;
6398
6810
  declare const AgentToolRelationApiSelectSchema: z.ZodObject<{
6399
- headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
6400
6811
  id: z.ZodString;
6401
6812
  createdAt: z.ZodString;
6402
6813
  updatedAt: z.ZodString;
6814
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
6815
+ toolId: z.ZodString;
6403
6816
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
6404
6817
  agentId: z.ZodString;
6405
- toolId: z.ZodString;
6406
6818
  }, z.core.$strip>;
6407
6819
  declare const AgentToolRelationApiInsertSchema: z.ZodObject<{
6408
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
6409
6820
  id: z.ZodString;
6410
6821
  createdAt: z.ZodOptional<z.ZodString>;
6411
6822
  updatedAt: z.ZodOptional<z.ZodString>;
6823
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
6824
+ toolId: z.ZodString;
6412
6825
  selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
6413
6826
  agentId: z.ZodString;
6414
- toolId: z.ZodString;
6415
6827
  }, z.core.$strip>;
6416
6828
  declare const AgentToolRelationApiUpdateSchema: z.ZodObject<{
6417
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
6418
6829
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6419
6830
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6420
6831
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6832
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
6833
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6421
6834
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
6422
6835
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6423
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6424
6836
  }, z.core.$strip>;
6425
6837
  declare const LedgerArtifactSelectSchema: drizzle_zod.BuildSchema<"select", {
6426
6838
  createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
@@ -7134,12 +7546,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
7134
7546
  in: {};
7135
7547
  }>;
7136
7548
  declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
7549
+ id: z.ZodString;
7137
7550
  type: z.ZodString;
7138
7551
  name: z.ZodNullable<z.ZodString>;
7139
- id: z.ZodString;
7552
+ description: z.ZodNullable<z.ZodString>;
7140
7553
  createdAt: z.ZodString;
7141
7554
  updatedAt: z.ZodString;
7142
- description: z.ZodNullable<z.ZodString>;
7143
7555
  metadata: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
7144
7556
  contextId: z.ZodString;
7145
7557
  visibility: z.ZodNullable<z.ZodString>;
@@ -7152,12 +7564,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
7152
7564
  derivedFrom: z.ZodNullable<z.ZodString>;
7153
7565
  }, z.core.$strip>;
7154
7566
  declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
7567
+ id: z.ZodString;
7155
7568
  type: z.ZodOptional<z.ZodString>;
7156
7569
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7157
- id: z.ZodString;
7570
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7158
7571
  createdAt: z.ZodOptional<z.ZodString>;
7159
7572
  updatedAt: z.ZodOptional<z.ZodString>;
7160
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7161
7573
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
7162
7574
  contextId: z.ZodString;
7163
7575
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -7170,12 +7582,12 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
7170
7582
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7171
7583
  }, z.core.$strip>;
7172
7584
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
7585
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7173
7586
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7174
7587
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7175
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7588
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7176
7589
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7177
7590
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7178
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7179
7591
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>>;
7180
7592
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7181
7593
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -7218,11 +7630,12 @@ declare const CanUseItemSchema: z.ZodObject<{
7218
7630
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7219
7631
  }, z.core.$strip>;
7220
7632
  declare const FullGraphAgentInsertSchema: z.ZodObject<{
7221
- name: z.ZodString;
7222
7633
  id: z.ZodString;
7634
+ name: z.ZodString;
7635
+ description: z.ZodString;
7636
+ prompt: z.ZodString;
7223
7637
  createdAt: z.ZodOptional<z.ZodString>;
7224
7638
  updatedAt: z.ZodOptional<z.ZodString>;
7225
- description: z.ZodString;
7226
7639
  models: z.ZodOptional<z.ZodObject<{
7227
7640
  base: z.ZodOptional<z.ZodObject<{
7228
7641
  model: z.ZodOptional<z.ZodString>;
@@ -7246,7 +7659,6 @@ declare const FullGraphAgentInsertSchema: z.ZodObject<{
7246
7659
  }, {
7247
7660
  stepCountIs?: number | undefined;
7248
7661
  }>>>>;
7249
- prompt: z.ZodString;
7250
7662
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7251
7663
  type: z.ZodLiteral<"internal">;
7252
7664
  canUse: z.ZodArray<z.ZodObject<{
@@ -7262,18 +7674,19 @@ declare const FullGraphAgentInsertSchema: z.ZodObject<{
7262
7674
  }, z.core.$strip>;
7263
7675
  declare const FullGraphDefinitionSchema: z.ZodObject<{
7264
7676
  name: z.ZodString;
7677
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7265
7678
  createdAt: z.ZodOptional<z.ZodString>;
7266
7679
  updatedAt: z.ZodOptional<z.ZodString>;
7267
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7268
7680
  defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7269
7681
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7270
7682
  id: z.ZodString;
7271
7683
  agents: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
7272
- name: z.ZodString;
7273
7684
  id: z.ZodString;
7685
+ name: z.ZodString;
7686
+ description: z.ZodString;
7687
+ prompt: z.ZodString;
7274
7688
  createdAt: z.ZodOptional<z.ZodString>;
7275
7689
  updatedAt: z.ZodOptional<z.ZodString>;
7276
- description: z.ZodString;
7277
7690
  models: z.ZodOptional<z.ZodObject<{
7278
7691
  base: z.ZodOptional<z.ZodObject<{
7279
7692
  model: z.ZodOptional<z.ZodString>;
@@ -7297,7 +7710,6 @@ declare const FullGraphDefinitionSchema: z.ZodObject<{
7297
7710
  }, {
7298
7711
  stepCountIs?: number | undefined;
7299
7712
  }>>>>;
7300
- prompt: z.ZodString;
7301
7713
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7302
7714
  type: z.ZodLiteral<"internal">;
7303
7715
  canUse: z.ZodArray<z.ZodObject<{
@@ -7311,18 +7723,60 @@ declare const FullGraphDefinitionSchema: z.ZodObject<{
7311
7723
  canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
7312
7724
  canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
7313
7725
  }, z.core.$strip>, z.ZodObject<{
7314
- name: z.ZodString;
7315
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7316
7726
  id: z.ZodString;
7317
- createdAt: z.ZodOptional<z.ZodString>;
7318
- updatedAt: z.ZodOptional<z.ZodString>;
7727
+ name: z.ZodString;
7319
7728
  description: z.ZodString;
7320
7729
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7730
+ createdAt: z.ZodOptional<z.ZodString>;
7731
+ updatedAt: z.ZodOptional<z.ZodString>;
7321
7732
  baseUrl: z.ZodString;
7733
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7322
7734
  }, z.core.$strip>]>>;
7323
- contextConfig: z.ZodOptional<z.ZodObject<{
7735
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7736
+ id: z.ZodString;
7324
7737
  name: z.ZodString;
7738
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7739
+ config: z.ZodDiscriminatedUnion<[z.ZodObject<{
7740
+ type: z.ZodLiteral<"mcp">;
7741
+ mcp: z.ZodObject<{
7742
+ server: z.ZodObject<{
7743
+ url: z.ZodString;
7744
+ }, z.core.$strip>;
7745
+ transport: z.ZodOptional<z.ZodObject<{
7746
+ type: z.ZodEnum<{
7747
+ readonly streamableHttp: "streamable_http";
7748
+ readonly sse: "sse";
7749
+ }>;
7750
+ requestInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7751
+ eventSourceInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7752
+ reconnectionOptions: z.ZodOptional<z.ZodCustom<StreamableHTTPReconnectionOptions, StreamableHTTPReconnectionOptions>>;
7753
+ sessionId: z.ZodOptional<z.ZodString>;
7754
+ }, z.core.$strip>>;
7755
+ activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
7756
+ }, z.core.$strip>;
7757
+ }, z.core.$strip>, z.ZodObject<{
7758
+ type: z.ZodLiteral<"function">;
7759
+ }, z.core.$strip>], "type">;
7760
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7761
+ createdAt: z.ZodOptional<z.ZodString>;
7762
+ updatedAt: z.ZodOptional<z.ZodString>;
7763
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7764
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
7765
+ functionId: z.ZodOptional<z.ZodString>;
7766
+ imageUrl: z.ZodOptional<z.ZodString>;
7767
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7768
+ }, z.core.$strip>>>;
7769
+ functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7325
7770
  id: z.ZodString;
7771
+ createdAt: z.ZodOptional<z.ZodString>;
7772
+ updatedAt: z.ZodOptional<z.ZodString>;
7773
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
7774
+ executeCode: z.ZodString;
7775
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7776
+ }, z.core.$strip>>>;
7777
+ contextConfig: z.ZodOptional<z.ZodObject<{
7778
+ id: z.ZodString;
7779
+ name: z.ZodString;
7326
7780
  description: z.ZodString;
7327
7781
  requestContextSchema: z.ZodOptional<z.ZodUnknown>;
7328
7782
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
@@ -7363,18 +7817,19 @@ declare const FullGraphDefinitionSchema: z.ZodObject<{
7363
7817
  }, z.core.$strip>;
7364
7818
  declare const GraphWithinContextOfProjectSchema: z.ZodObject<{
7365
7819
  name: z.ZodString;
7820
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7366
7821
  createdAt: z.ZodOptional<z.ZodString>;
7367
7822
  updatedAt: z.ZodOptional<z.ZodString>;
7368
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7369
7823
  defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7370
7824
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7371
7825
  id: z.ZodString;
7372
7826
  agents: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
7373
- name: z.ZodString;
7374
7827
  id: z.ZodString;
7828
+ name: z.ZodString;
7829
+ description: z.ZodString;
7830
+ prompt: z.ZodString;
7375
7831
  createdAt: z.ZodOptional<z.ZodString>;
7376
7832
  updatedAt: z.ZodOptional<z.ZodString>;
7377
- description: z.ZodString;
7378
7833
  models: z.ZodOptional<z.ZodObject<{
7379
7834
  base: z.ZodOptional<z.ZodObject<{
7380
7835
  model: z.ZodOptional<z.ZodString>;
@@ -7398,7 +7853,6 @@ declare const GraphWithinContextOfProjectSchema: z.ZodObject<{
7398
7853
  }, {
7399
7854
  stepCountIs?: number | undefined;
7400
7855
  }>>>>;
7401
- prompt: z.ZodString;
7402
7856
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7403
7857
  type: z.ZodLiteral<"internal">;
7404
7858
  canUse: z.ZodArray<z.ZodObject<{
@@ -7412,19 +7866,19 @@ declare const GraphWithinContextOfProjectSchema: z.ZodObject<{
7412
7866
  canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
7413
7867
  canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
7414
7868
  }, z.core.$strip>, z.ZodObject<{
7415
- name: z.ZodString;
7416
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7417
7869
  id: z.ZodString;
7418
- createdAt: z.ZodOptional<z.ZodString>;
7419
- updatedAt: z.ZodOptional<z.ZodString>;
7870
+ name: z.ZodString;
7420
7871
  description: z.ZodString;
7421
7872
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7873
+ createdAt: z.ZodOptional<z.ZodString>;
7874
+ updatedAt: z.ZodOptional<z.ZodString>;
7422
7875
  baseUrl: z.ZodString;
7876
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7423
7877
  type: z.ZodLiteral<"external">;
7424
7878
  }, z.core.$strip>], "type">>;
7425
7879
  contextConfig: z.ZodOptional<z.ZodObject<{
7426
- name: z.ZodString;
7427
7880
  id: z.ZodString;
7881
+ name: z.ZodString;
7428
7882
  description: z.ZodString;
7429
7883
  requestContextSchema: z.ZodOptional<z.ZodUnknown>;
7430
7884
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
@@ -7602,6 +8056,35 @@ declare const ProjectSelectSchema: drizzle_zod.BuildSchema<"select", {
7602
8056
  stepCountIs?: number | undefined;
7603
8057
  };
7604
8058
  }>;
8059
+ sandboxConfig: drizzle_orm_sqlite_core.SQLiteColumn<{
8060
+ name: "sandbox_config";
8061
+ tableName: "projects";
8062
+ dataType: "json";
8063
+ columnType: "SQLiteTextJson";
8064
+ data: {
8065
+ provider: "vercel" | "daytona" | "local";
8066
+ runtime: "node22" | "typescript";
8067
+ timeout?: number;
8068
+ vcpus?: number;
8069
+ };
8070
+ driverParam: string;
8071
+ notNull: false;
8072
+ hasDefault: false;
8073
+ isPrimaryKey: false;
8074
+ isAutoincrement: false;
8075
+ hasRuntimeDefault: false;
8076
+ enumValues: undefined;
8077
+ baseColumn: never;
8078
+ identity: undefined;
8079
+ generated: undefined;
8080
+ }, {}, {
8081
+ $type: {
8082
+ provider: "vercel" | "daytona" | "local";
8083
+ runtime: "node22" | "typescript";
8084
+ timeout?: number;
8085
+ vcpus?: number;
8086
+ };
8087
+ }>;
7605
8088
  name: drizzle_orm_sqlite_core.SQLiteColumn<{
7606
8089
  name: "name";
7607
8090
  tableName: "projects";
@@ -7680,9 +8163,9 @@ declare const ProjectSelectSchema: drizzle_zod.BuildSchema<"select", {
7680
8163
  }>;
7681
8164
  }, undefined, undefined>;
7682
8165
  declare const ProjectInsertSchema: z.ZodObject<{
7683
- name: z.ZodString;
7684
- id: z.ZodString;
7685
8166
  tenantId: z.ZodString;
8167
+ id: z.ZodString;
8168
+ name: z.ZodString;
7686
8169
  description: z.ZodString;
7687
8170
  models: z.ZodObject<{
7688
8171
  base: z.ZodObject<{
@@ -7702,14 +8185,26 @@ declare const ProjectInsertSchema: z.ZodObject<{
7702
8185
  transferCountIs: z.ZodOptional<z.ZodNumber>;
7703
8186
  stepCountIs: z.ZodOptional<z.ZodNumber>;
7704
8187
  }, z.core.$strip>>;
8188
+ sandboxConfig: z.ZodOptional<z.ZodObject<{
8189
+ provider: z.ZodEnum<{
8190
+ vercel: "vercel";
8191
+ local: "local";
8192
+ }>;
8193
+ runtime: z.ZodEnum<{
8194
+ node22: "node22";
8195
+ typescript: "typescript";
8196
+ }>;
8197
+ timeout: z.ZodOptional<z.ZodNumber>;
8198
+ vcpus: z.ZodOptional<z.ZodNumber>;
8199
+ }, z.core.$strip>>;
7705
8200
  }, {
7706
8201
  out: {};
7707
8202
  in: {};
7708
8203
  }>;
7709
8204
  declare const ProjectUpdateSchema: z.ZodObject<{
7710
- name: z.ZodOptional<z.ZodString>;
7711
- id: z.ZodOptional<z.ZodString>;
7712
8205
  tenantId: z.ZodOptional<z.ZodString>;
8206
+ id: z.ZodOptional<z.ZodString>;
8207
+ name: z.ZodOptional<z.ZodString>;
7713
8208
  description: z.ZodOptional<z.ZodString>;
7714
8209
  models: z.ZodOptional<z.ZodObject<{
7715
8210
  base: z.ZodObject<{
@@ -7729,16 +8224,28 @@ declare const ProjectUpdateSchema: z.ZodObject<{
7729
8224
  transferCountIs: z.ZodOptional<z.ZodNumber>;
7730
8225
  stepCountIs: z.ZodOptional<z.ZodNumber>;
7731
8226
  }, z.core.$strip>>>;
8227
+ sandboxConfig: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8228
+ provider: z.ZodEnum<{
8229
+ vercel: "vercel";
8230
+ local: "local";
8231
+ }>;
8232
+ runtime: z.ZodEnum<{
8233
+ node22: "node22";
8234
+ typescript: "typescript";
8235
+ }>;
8236
+ timeout: z.ZodOptional<z.ZodNumber>;
8237
+ vcpus: z.ZodOptional<z.ZodNumber>;
8238
+ }, z.core.$strip>>>;
7732
8239
  }, {
7733
8240
  out: {};
7734
8241
  in: {};
7735
8242
  }>;
7736
8243
  declare const ProjectApiSelectSchema: z.ZodObject<{
7737
- name: z.ZodString;
7738
8244
  id: z.ZodString;
8245
+ name: z.ZodString;
8246
+ description: z.ZodString;
7739
8247
  createdAt: z.ZodString;
7740
8248
  updatedAt: z.ZodString;
7741
- description: z.ZodString;
7742
8249
  models: z.ZodNullable<z.ZodType<{
7743
8250
  base: {
7744
8251
  model?: string | undefined;
@@ -7805,13 +8312,34 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
7805
8312
  transferCountIs?: number | undefined;
7806
8313
  stepCountIs?: number | undefined;
7807
8314
  }>>>;
8315
+ sandboxConfig: z.ZodNullable<z.ZodType<{
8316
+ provider: "vercel" | "daytona" | "local";
8317
+ runtime: "node22" | "typescript";
8318
+ timeout?: number;
8319
+ vcpus?: number;
8320
+ }, {
8321
+ provider: "vercel" | "daytona" | "local";
8322
+ runtime: "node22" | "typescript";
8323
+ timeout?: number;
8324
+ vcpus?: number;
8325
+ }, z.core.$ZodTypeInternals<{
8326
+ provider: "vercel" | "daytona" | "local";
8327
+ runtime: "node22" | "typescript";
8328
+ timeout?: number;
8329
+ vcpus?: number;
8330
+ }, {
8331
+ provider: "vercel" | "daytona" | "local";
8332
+ runtime: "node22" | "typescript";
8333
+ timeout?: number;
8334
+ vcpus?: number;
8335
+ }>>>;
7808
8336
  }, {
7809
8337
  out: {};
7810
8338
  in: {};
7811
8339
  }>;
7812
8340
  declare const ProjectApiInsertSchema: z.ZodObject<{
7813
- name: z.ZodString;
7814
8341
  id: z.ZodString;
8342
+ name: z.ZodString;
7815
8343
  description: z.ZodString;
7816
8344
  models: z.ZodObject<{
7817
8345
  base: z.ZodObject<{
@@ -7831,13 +8359,25 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
7831
8359
  transferCountIs: z.ZodOptional<z.ZodNumber>;
7832
8360
  stepCountIs: z.ZodOptional<z.ZodNumber>;
7833
8361
  }, z.core.$strip>>;
8362
+ sandboxConfig: z.ZodOptional<z.ZodObject<{
8363
+ provider: z.ZodEnum<{
8364
+ vercel: "vercel";
8365
+ local: "local";
8366
+ }>;
8367
+ runtime: z.ZodEnum<{
8368
+ node22: "node22";
8369
+ typescript: "typescript";
8370
+ }>;
8371
+ timeout: z.ZodOptional<z.ZodNumber>;
8372
+ vcpus: z.ZodOptional<z.ZodNumber>;
8373
+ }, z.core.$strip>>;
7834
8374
  }, {
7835
8375
  out: {};
7836
8376
  in: {};
7837
8377
  }>;
7838
8378
  declare const ProjectApiUpdateSchema: z.ZodObject<{
7839
- name: z.ZodOptional<z.ZodString>;
7840
8379
  id: z.ZodOptional<z.ZodString>;
8380
+ name: z.ZodOptional<z.ZodString>;
7841
8381
  description: z.ZodOptional<z.ZodString>;
7842
8382
  models: z.ZodOptional<z.ZodObject<{
7843
8383
  base: z.ZodObject<{
@@ -7857,13 +8397,25 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
7857
8397
  transferCountIs: z.ZodOptional<z.ZodNumber>;
7858
8398
  stepCountIs: z.ZodOptional<z.ZodNumber>;
7859
8399
  }, z.core.$strip>>>;
8400
+ sandboxConfig: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8401
+ provider: z.ZodEnum<{
8402
+ vercel: "vercel";
8403
+ local: "local";
8404
+ }>;
8405
+ runtime: z.ZodEnum<{
8406
+ node22: "node22";
8407
+ typescript: "typescript";
8408
+ }>;
8409
+ timeout: z.ZodOptional<z.ZodNumber>;
8410
+ vcpus: z.ZodOptional<z.ZodNumber>;
8411
+ }, z.core.$strip>>>;
7860
8412
  }, {
7861
8413
  out: {};
7862
8414
  in: {};
7863
8415
  }>;
7864
8416
  declare const FullProjectDefinitionSchema: z.ZodObject<{
7865
- name: z.ZodString;
7866
8417
  id: z.ZodString;
8418
+ name: z.ZodString;
7867
8419
  description: z.ZodString;
7868
8420
  models: z.ZodObject<{
7869
8421
  base: z.ZodObject<{
@@ -7883,20 +8435,33 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
7883
8435
  transferCountIs: z.ZodOptional<z.ZodNumber>;
7884
8436
  stepCountIs: z.ZodOptional<z.ZodNumber>;
7885
8437
  }, z.core.$strip>>;
8438
+ sandboxConfig: z.ZodOptional<z.ZodObject<{
8439
+ provider: z.ZodEnum<{
8440
+ vercel: "vercel";
8441
+ local: "local";
8442
+ }>;
8443
+ runtime: z.ZodEnum<{
8444
+ node22: "node22";
8445
+ typescript: "typescript";
8446
+ }>;
8447
+ timeout: z.ZodOptional<z.ZodNumber>;
8448
+ vcpus: z.ZodOptional<z.ZodNumber>;
8449
+ }, z.core.$strip>>;
7886
8450
  graphs: z.ZodRecord<z.ZodString, z.ZodObject<{
7887
8451
  name: z.ZodString;
8452
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7888
8453
  createdAt: z.ZodOptional<z.ZodString>;
7889
8454
  updatedAt: z.ZodOptional<z.ZodString>;
7890
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7891
8455
  defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7892
8456
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7893
8457
  id: z.ZodString;
7894
8458
  agents: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
7895
- name: z.ZodString;
7896
8459
  id: z.ZodString;
8460
+ name: z.ZodString;
8461
+ description: z.ZodString;
8462
+ prompt: z.ZodString;
7897
8463
  createdAt: z.ZodOptional<z.ZodString>;
7898
8464
  updatedAt: z.ZodOptional<z.ZodString>;
7899
- description: z.ZodString;
7900
8465
  models: z.ZodOptional<z.ZodObject<{
7901
8466
  base: z.ZodOptional<z.ZodObject<{
7902
8467
  model: z.ZodOptional<z.ZodString>;
@@ -7920,7 +8485,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
7920
8485
  }, {
7921
8486
  stepCountIs?: number | undefined;
7922
8487
  }>>>>;
7923
- prompt: z.ZodString;
7924
8488
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7925
8489
  type: z.ZodLiteral<"internal">;
7926
8490
  canUse: z.ZodArray<z.ZodObject<{
@@ -7934,19 +8498,19 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
7934
8498
  canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
7935
8499
  canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
7936
8500
  }, z.core.$strip>, z.ZodObject<{
7937
- name: z.ZodString;
7938
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7939
8501
  id: z.ZodString;
7940
- createdAt: z.ZodOptional<z.ZodString>;
7941
- updatedAt: z.ZodOptional<z.ZodString>;
8502
+ name: z.ZodString;
7942
8503
  description: z.ZodString;
7943
8504
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8505
+ createdAt: z.ZodOptional<z.ZodString>;
8506
+ updatedAt: z.ZodOptional<z.ZodString>;
7944
8507
  baseUrl: z.ZodString;
8508
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7945
8509
  type: z.ZodLiteral<"external">;
7946
8510
  }, z.core.$strip>], "type">>;
7947
8511
  contextConfig: z.ZodOptional<z.ZodObject<{
7948
- name: z.ZodString;
7949
8512
  id: z.ZodString;
8513
+ name: z.ZodString;
7950
8514
  description: z.ZodString;
7951
8515
  requestContextSchema: z.ZodOptional<z.ZodUnknown>;
7952
8516
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
@@ -7986,40 +8550,58 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
7986
8550
  graphPrompt: z.ZodOptional<z.ZodString>;
7987
8551
  }, z.core.$strip>>;
7988
8552
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
7989
- name: z.ZodString;
7990
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7991
8553
  id: z.ZodString;
8554
+ name: z.ZodString;
8555
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8556
+ config: z.ZodDiscriminatedUnion<[z.ZodObject<{
8557
+ type: z.ZodLiteral<"mcp">;
8558
+ mcp: z.ZodObject<{
8559
+ server: z.ZodObject<{
8560
+ url: z.ZodString;
8561
+ }, z.core.$strip>;
8562
+ transport: z.ZodOptional<z.ZodObject<{
8563
+ type: z.ZodEnum<{
8564
+ readonly streamableHttp: "streamable_http";
8565
+ readonly sse: "sse";
8566
+ }>;
8567
+ requestInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8568
+ eventSourceInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8569
+ reconnectionOptions: z.ZodOptional<z.ZodCustom<StreamableHTTPReconnectionOptions, StreamableHTTPReconnectionOptions>>;
8570
+ sessionId: z.ZodOptional<z.ZodString>;
8571
+ }, z.core.$strip>>;
8572
+ activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
8573
+ }, z.core.$strip>;
8574
+ }, z.core.$strip>, z.ZodObject<{
8575
+ type: z.ZodLiteral<"function">;
8576
+ }, z.core.$strip>], "type">;
8577
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7992
8578
  createdAt: z.ZodOptional<z.ZodString>;
7993
8579
  updatedAt: z.ZodOptional<z.ZodString>;
7994
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8580
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7995
8581
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
7996
- config: z.ZodType<{
7997
- type: "mcp";
7998
- mcp: ToolMcpConfig;
7999
- }, {
8000
- type: "mcp";
8001
- mcp: ToolMcpConfig;
8002
- }, z.core.$ZodTypeInternals<{
8003
- type: "mcp";
8004
- mcp: ToolMcpConfig;
8005
- }, {
8006
- type: "mcp";
8007
- mcp: ToolMcpConfig;
8008
- }>>;
8582
+ functionId: z.ZodOptional<z.ZodString>;
8009
8583
  imageUrl: z.ZodOptional<z.ZodString>;
8010
8584
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8011
8585
  }, z.core.$strip>>;
8012
- dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8013
- name: z.ZodString;
8586
+ functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8014
8587
  id: z.ZodString;
8015
8588
  createdAt: z.ZodOptional<z.ZodString>;
8016
8589
  updatedAt: z.ZodOptional<z.ZodString>;
8590
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
8591
+ executeCode: z.ZodString;
8592
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8593
+ }, z.core.$strip>>>;
8594
+ dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8595
+ id: z.ZodString;
8596
+ name: z.ZodString;
8017
8597
  description: z.ZodString;
8598
+ createdAt: z.ZodOptional<z.ZodString>;
8599
+ updatedAt: z.ZodOptional<z.ZodString>;
8018
8600
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
8019
8601
  }, z.core.$strip>>>;
8020
8602
  artifactComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8021
- name: z.ZodString;
8022
8603
  id: z.ZodString;
8604
+ name: z.ZodString;
8023
8605
  description: z.ZodString;
8024
8606
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
8025
8607
  }, {
@@ -8043,10 +8625,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8043
8625
  }, z.core.$strip>>;
8044
8626
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8045
8627
  id: z.ZodString;
8046
- credentialStoreId: z.ZodString;
8047
- retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8048
8628
  createdAt: z.ZodOptional<z.ZodString>;
8049
8629
  updatedAt: z.ZodOptional<z.ZodString>;
8630
+ credentialStoreId: z.ZodString;
8631
+ retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8050
8632
  type: z.ZodEnum<{
8051
8633
  readonly memory: "memory";
8052
8634
  readonly keychain: "keychain";
@@ -8140,6 +8722,12 @@ type ToolApiInsert = z$1.infer<typeof ToolApiInsertSchema>;
8140
8722
  type ToolApiUpdate = z$1.infer<typeof ToolApiUpdateSchema>;
8141
8723
  type McpTool = z$1.infer<typeof McpToolSchema>;
8142
8724
  type MCPToolConfig = z$1.infer<typeof MCPToolConfigSchema>;
8725
+ type FunctionSelect = z$1.infer<typeof FunctionSelectSchema>;
8726
+ type FunctionInsert = z$1.infer<typeof FunctionInsertSchema>;
8727
+ type FunctionUpdate = z$1.infer<typeof FunctionUpdateSchema>;
8728
+ type FunctionApiSelect = z$1.infer<typeof FunctionApiSelectSchema>;
8729
+ type FunctionApiInsert = z$1.infer<typeof FunctionApiInsertSchema>;
8730
+ type FunctionApiUpdate = z$1.infer<typeof FunctionApiUpdateSchema>;
8143
8731
  type ConversationSelect = z$1.infer<typeof ConversationSelectSchema>;
8144
8732
  type ConversationInsert = z$1.infer<typeof ConversationInsertSchema>;
8145
8733
  type ConversationUpdate = z$1.infer<typeof ConversationUpdateSchema>;
@@ -8228,6 +8816,8 @@ type FullProjectDefinition = z$1.infer<typeof FullProjectDefinitionSchema>;
8228
8816
  type CanUseItem = {
8229
8817
  toolId: string;
8230
8818
  toolSelection?: string[] | null;
8819
+ headers?: Record<string, string> | null;
8820
+ agentToolRelationId?: string;
8231
8821
  };
8232
8822
  type InternalAgentDefinition = z$1.infer<typeof AgentApiInsertSchema> & {
8233
8823
  canUse: CanUseItem[];
@@ -8469,4 +9059,4 @@ interface ExecutionContext {
8469
9059
  agentId?: string;
8470
9060
  }
8471
9061
 
8472
- 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 };
9062
+ 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 };