@composio/core 0.17.0 → 0.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CustomTool-l-j5HtEf.mjs → CustomTool-Bz0f52QR.mjs} +16 -6
- package/dist/{CustomTool-Uip-fhPw.d.mts → CustomTool-VRfWzMix.d.mts} +1 -1
- package/dist/{FileModifierErrors-B8V8_3VE.mjs → FileModifierErrors-CwB-Inm9.mjs} +1 -1
- package/dist/FileToolModifier.utils.neutral-D_YkHwZP.mjs +188 -0
- package/dist/{SsrfErrors-DNJt57GL.mjs → SsrfErrors-xhdVE4yw.mjs} +123 -3
- package/dist/{Telemetry-DuGJSwUt.mjs → Telemetry-Dw9W5RSp.mjs} +28 -44
- package/dist/cancellation-P5YUlcfz.mjs +704 -0
- package/dist/{composio-B27X6i6A.d.mts → composio-Cb3d1jFe.d.mts} +250 -244
- package/dist/{customTool.types-B2Ava_j5.d.mts → customTool.types-B6ej_8XZ.d.mts} +146 -144
- package/dist/docs/reference/sdk-reference/typescript/session-files.mdx +1 -1
- package/dist/docs/reference/sdk-reference/typescript/session.mdx +4 -3
- package/dist/{errors-BcEUHZbq.mjs → errors-Ue9wMrPK.mjs} +5 -2
- package/dist/experimental/index.d.mts +2 -2
- package/dist/experimental/index.mjs +1 -1
- package/dist/{fileUtils.node-B1Wn848p.mjs → fileUtils.node-KE5Fa-af.mjs} +7 -7
- package/dist/index.d.mts +108 -8
- package/dist/index.mjs +109 -55
- package/dist/models/Files.node.mjs +2 -2
- package/dist/{sensitiveFileUploadPaths-BVEt0peg.mjs → sensitiveFileUploadPaths-QN7w4n8v.mjs} +24 -7
- package/dist/ssrfGuard.node-BLX6b-Rf.mjs +384 -0
- package/dist/{types-DdZJuMm2.d.mts → types-CGdgK442.d.mts} +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +1 -1
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +1 -1
- package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
- package/dist/utils/modifiers/FileToolModifier.node.mjs +59 -103
- package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
- package/dist/utils/modifiers/FileToolModifier.workerd.mjs +1 -1
- package/dist/utils/ssrfGuard.node.d.mts +14 -5
- package/dist/utils/ssrfGuard.node.mjs +1 -161
- package/dist/utils/ssrfGuard.workerd.d.mts +1 -1
- package/dist/utils/ssrfGuard.workerd.mjs +2 -2
- package/package.json +25 -3
- package/src/errors/ToolErrors.ts +1 -0
- package/src/errors/ValidationErrors.ts +2 -0
- package/src/index.ts +6 -0
- package/src/models/CustomTool.ts +41 -6
- package/src/models/RemoteFile.ts +54 -36
- package/src/models/ToolRouterSession.ts +45 -12
- package/src/models/Tools.ts +102 -39
- package/src/models/Triggers.ts +15 -0
- package/src/services/telemetry/TelemetryService.ts +27 -12
- package/src/telemetry/redact.ts +133 -6
- package/src/utils/fileUtils.node.ts +10 -2
- package/src/utils/jsonSchema.ts +505 -27
- package/src/utils/logger.ts +6 -6
- package/src/utils/modifiers/FileToolModifier.node.ts +85 -181
- package/src/utils/modifiers/FileToolModifier.utils.neutral.ts +199 -0
- package/src/utils/pinnedDispatcher.node.ts +214 -0
- package/src/utils/sdk.ts +1 -1
- package/src/utils/sensitiveFileUploadPaths.ts +36 -9
- package/src/utils/ssrfGuard.node.ts +101 -11
- package/src/utils/ssrfGuard.workerd.ts +5 -1
- package/dist/FileToolModifier.utils.neutral-B5rT711M.mjs +0 -72
- package/dist/cancellation-NVtGf3St.mjs +0 -364
|
@@ -16,12 +16,12 @@ declare const ToolkitSchema: z$1.ZodObject<{
|
|
|
16
16
|
name: z$1.ZodString;
|
|
17
17
|
logo: z$1.ZodOptional<z$1.ZodString>;
|
|
18
18
|
}, "strip", z$1.ZodTypeAny, {
|
|
19
|
-
name: string;
|
|
20
19
|
slug: string;
|
|
20
|
+
name: string;
|
|
21
21
|
logo?: string | undefined;
|
|
22
22
|
}, {
|
|
23
|
-
name: string;
|
|
24
23
|
slug: string;
|
|
24
|
+
name: string;
|
|
25
25
|
logo?: string | undefined;
|
|
26
26
|
}>;
|
|
27
27
|
type Toolkit = z$1.infer<typeof ToolkitSchema>;
|
|
@@ -218,12 +218,12 @@ declare const ToolSchema: z$1.ZodObject<{
|
|
|
218
218
|
name: z$1.ZodString;
|
|
219
219
|
logo: z$1.ZodOptional<z$1.ZodString>;
|
|
220
220
|
}, "strip", z$1.ZodTypeAny, {
|
|
221
|
-
name: string;
|
|
222
221
|
slug: string;
|
|
222
|
+
name: string;
|
|
223
223
|
logo?: string | undefined;
|
|
224
224
|
}, {
|
|
225
|
-
name: string;
|
|
226
225
|
slug: string;
|
|
226
|
+
name: string;
|
|
227
227
|
logo?: string | undefined;
|
|
228
228
|
}>>;
|
|
229
229
|
version: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -232,13 +232,8 @@ declare const ToolSchema: z$1.ZodObject<{
|
|
|
232
232
|
scopes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
233
233
|
isNoAuth: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
234
234
|
}, "strip", z$1.ZodTypeAny, {
|
|
235
|
-
name: string;
|
|
236
235
|
slug: string;
|
|
237
|
-
|
|
238
|
-
name: string;
|
|
239
|
-
slug: string;
|
|
240
|
-
logo?: string | undefined;
|
|
241
|
-
} | undefined;
|
|
236
|
+
name: string;
|
|
242
237
|
description?: string | undefined;
|
|
243
238
|
inputParameters?: {
|
|
244
239
|
type: "object";
|
|
@@ -275,23 +270,28 @@ declare const ToolSchema: z$1.ZodObject<{
|
|
|
275
270
|
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
276
271
|
} | undefined;
|
|
277
272
|
tags?: string[] | undefined;
|
|
273
|
+
toolkit?: {
|
|
274
|
+
slug: string;
|
|
275
|
+
name: string;
|
|
276
|
+
logo?: string | undefined;
|
|
277
|
+
} | undefined;
|
|
278
278
|
version?: string | undefined;
|
|
279
279
|
isDeprecated?: boolean | undefined;
|
|
280
280
|
availableVersions?: string[] | undefined;
|
|
281
281
|
scopes?: string[] | undefined;
|
|
282
282
|
isNoAuth?: boolean | undefined;
|
|
283
283
|
}, {
|
|
284
|
-
name: string;
|
|
285
284
|
slug: string;
|
|
286
|
-
|
|
287
|
-
name: string;
|
|
288
|
-
slug: string;
|
|
289
|
-
logo?: string | undefined;
|
|
290
|
-
} | undefined;
|
|
285
|
+
name: string;
|
|
291
286
|
description?: string | undefined;
|
|
292
287
|
inputParameters?: unknown;
|
|
293
288
|
outputParameters?: unknown;
|
|
294
289
|
tags?: string[] | undefined;
|
|
290
|
+
toolkit?: {
|
|
291
|
+
slug: string;
|
|
292
|
+
name: string;
|
|
293
|
+
logo?: string | undefined;
|
|
294
|
+
} | undefined;
|
|
295
295
|
version?: string | undefined;
|
|
296
296
|
isDeprecated?: boolean | undefined;
|
|
297
297
|
availableVersions?: string[] | undefined;
|
|
@@ -443,12 +443,12 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
|
|
|
443
443
|
name: z$1.ZodString;
|
|
444
444
|
logo: z$1.ZodOptional<z$1.ZodString>;
|
|
445
445
|
}, "strip", z$1.ZodTypeAny, {
|
|
446
|
-
name: string;
|
|
447
446
|
slug: string;
|
|
447
|
+
name: string;
|
|
448
448
|
logo?: string | undefined;
|
|
449
449
|
}, {
|
|
450
|
-
name: string;
|
|
451
450
|
slug: string;
|
|
451
|
+
name: string;
|
|
452
452
|
logo?: string | undefined;
|
|
453
453
|
}>>;
|
|
454
454
|
version: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -457,13 +457,8 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
|
|
|
457
457
|
scopes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
458
458
|
isNoAuth: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
459
459
|
}, "strip", z$1.ZodTypeAny, {
|
|
460
|
-
name: string;
|
|
461
460
|
slug: string;
|
|
462
|
-
|
|
463
|
-
name: string;
|
|
464
|
-
slug: string;
|
|
465
|
-
logo?: string | undefined;
|
|
466
|
-
} | undefined;
|
|
461
|
+
name: string;
|
|
467
462
|
description?: string | undefined;
|
|
468
463
|
inputParameters?: {
|
|
469
464
|
type: "object";
|
|
@@ -500,23 +495,28 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
|
|
|
500
495
|
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
501
496
|
} | undefined;
|
|
502
497
|
tags?: string[] | undefined;
|
|
498
|
+
toolkit?: {
|
|
499
|
+
slug: string;
|
|
500
|
+
name: string;
|
|
501
|
+
logo?: string | undefined;
|
|
502
|
+
} | undefined;
|
|
503
503
|
version?: string | undefined;
|
|
504
504
|
isDeprecated?: boolean | undefined;
|
|
505
505
|
availableVersions?: string[] | undefined;
|
|
506
506
|
scopes?: string[] | undefined;
|
|
507
507
|
isNoAuth?: boolean | undefined;
|
|
508
508
|
}, {
|
|
509
|
-
name: string;
|
|
510
509
|
slug: string;
|
|
511
|
-
|
|
512
|
-
name: string;
|
|
513
|
-
slug: string;
|
|
514
|
-
logo?: string | undefined;
|
|
515
|
-
} | undefined;
|
|
510
|
+
name: string;
|
|
516
511
|
description?: string | undefined;
|
|
517
512
|
inputParameters?: unknown;
|
|
518
513
|
outputParameters?: unknown;
|
|
519
514
|
tags?: string[] | undefined;
|
|
515
|
+
toolkit?: {
|
|
516
|
+
slug: string;
|
|
517
|
+
name: string;
|
|
518
|
+
logo?: string | undefined;
|
|
519
|
+
} | undefined;
|
|
520
520
|
version?: string | undefined;
|
|
521
521
|
isDeprecated?: boolean | undefined;
|
|
522
522
|
availableVersions?: string[] | undefined;
|
|
@@ -527,13 +527,8 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
|
|
|
527
527
|
totalPages: z$1.ZodNumber;
|
|
528
528
|
}, "strip", z$1.ZodTypeAny, {
|
|
529
529
|
items: {
|
|
530
|
-
name: string;
|
|
531
530
|
slug: string;
|
|
532
|
-
|
|
533
|
-
name: string;
|
|
534
|
-
slug: string;
|
|
535
|
-
logo?: string | undefined;
|
|
536
|
-
} | undefined;
|
|
531
|
+
name: string;
|
|
537
532
|
description?: string | undefined;
|
|
538
533
|
inputParameters?: {
|
|
539
534
|
type: "object";
|
|
@@ -570,6 +565,11 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
|
|
|
570
565
|
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
571
566
|
} | undefined;
|
|
572
567
|
tags?: string[] | undefined;
|
|
568
|
+
toolkit?: {
|
|
569
|
+
slug: string;
|
|
570
|
+
name: string;
|
|
571
|
+
logo?: string | undefined;
|
|
572
|
+
} | undefined;
|
|
573
573
|
version?: string | undefined;
|
|
574
574
|
isDeprecated?: boolean | undefined;
|
|
575
575
|
availableVersions?: string[] | undefined;
|
|
@@ -580,17 +580,17 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
|
|
|
580
580
|
nextCursor?: string | null | undefined;
|
|
581
581
|
}, {
|
|
582
582
|
items: {
|
|
583
|
-
name: string;
|
|
584
583
|
slug: string;
|
|
585
|
-
|
|
586
|
-
name: string;
|
|
587
|
-
slug: string;
|
|
588
|
-
logo?: string | undefined;
|
|
589
|
-
} | undefined;
|
|
584
|
+
name: string;
|
|
590
585
|
description?: string | undefined;
|
|
591
586
|
inputParameters?: unknown;
|
|
592
587
|
outputParameters?: unknown;
|
|
593
588
|
tags?: string[] | undefined;
|
|
589
|
+
toolkit?: {
|
|
590
|
+
slug: string;
|
|
591
|
+
name: string;
|
|
592
|
+
logo?: string | undefined;
|
|
593
|
+
} | undefined;
|
|
594
594
|
version?: string | undefined;
|
|
595
595
|
isDeprecated?: boolean | undefined;
|
|
596
596
|
availableVersions?: string[] | undefined;
|
|
@@ -644,22 +644,22 @@ declare const ToolListParamsSchema: z$1.ZodObject<{
|
|
|
644
644
|
authConfigIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
645
645
|
important: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
646
646
|
}, "strip", z$1.ZodTypeAny, {
|
|
647
|
-
tools?: string[] | undefined;
|
|
648
|
-
toolkits?: string[] | undefined;
|
|
649
|
-
authConfigIds?: string[] | undefined;
|
|
650
647
|
tags?: string[] | undefined;
|
|
651
648
|
scopes?: string[] | undefined;
|
|
649
|
+
tools?: string[] | undefined;
|
|
650
|
+
toolkits?: string[] | undefined;
|
|
652
651
|
limit?: number | undefined;
|
|
653
652
|
search?: string | undefined;
|
|
653
|
+
authConfigIds?: string[] | undefined;
|
|
654
654
|
important?: boolean | undefined;
|
|
655
655
|
}, {
|
|
656
|
-
tools?: string[] | undefined;
|
|
657
|
-
toolkits?: string[] | undefined;
|
|
658
|
-
authConfigIds?: string[] | undefined;
|
|
659
656
|
tags?: string[] | undefined;
|
|
660
657
|
scopes?: string[] | undefined;
|
|
658
|
+
tools?: string[] | undefined;
|
|
659
|
+
toolkits?: string[] | undefined;
|
|
661
660
|
limit?: number | undefined;
|
|
662
661
|
search?: string | undefined;
|
|
662
|
+
authConfigIds?: string[] | undefined;
|
|
663
663
|
important?: boolean | undefined;
|
|
664
664
|
}>;
|
|
665
665
|
type BaseParams = {
|
|
@@ -722,26 +722,26 @@ declare const CustomAuthParamsSchema: z$1.ZodObject<{
|
|
|
722
722
|
name: z$1.ZodString;
|
|
723
723
|
value: z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber]>;
|
|
724
724
|
}, "strip", z$1.ZodTypeAny, {
|
|
725
|
-
value: string | number;
|
|
726
725
|
name: string;
|
|
726
|
+
value: string | number;
|
|
727
727
|
in: "query" | "header";
|
|
728
728
|
}, {
|
|
729
|
-
value: string | number;
|
|
730
729
|
name: string;
|
|
730
|
+
value: string | number;
|
|
731
731
|
in: "query" | "header";
|
|
732
732
|
}>, "many">;
|
|
733
733
|
}, "strip", z$1.ZodTypeAny, {
|
|
734
734
|
parameters: {
|
|
735
|
-
value: string | number;
|
|
736
735
|
name: string;
|
|
736
|
+
value: string | number;
|
|
737
737
|
in: "query" | "header";
|
|
738
738
|
}[];
|
|
739
739
|
baseURL?: string | undefined;
|
|
740
740
|
body?: Record<string, unknown> | undefined;
|
|
741
741
|
}, {
|
|
742
742
|
parameters: {
|
|
743
|
-
value: string | number;
|
|
744
743
|
name: string;
|
|
744
|
+
value: string | number;
|
|
745
745
|
in: "query" | "header";
|
|
746
746
|
}[];
|
|
747
747
|
baseURL?: string | undefined;
|
|
@@ -795,26 +795,26 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
795
795
|
name: z$1.ZodString;
|
|
796
796
|
value: z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber]>;
|
|
797
797
|
}, "strip", z$1.ZodTypeAny, {
|
|
798
|
-
value: string | number;
|
|
799
798
|
name: string;
|
|
799
|
+
value: string | number;
|
|
800
800
|
in: "query" | "header";
|
|
801
801
|
}, {
|
|
802
|
-
value: string | number;
|
|
803
802
|
name: string;
|
|
803
|
+
value: string | number;
|
|
804
804
|
in: "query" | "header";
|
|
805
805
|
}>, "many">;
|
|
806
806
|
}, "strip", z$1.ZodTypeAny, {
|
|
807
807
|
parameters: {
|
|
808
|
-
value: string | number;
|
|
809
808
|
name: string;
|
|
809
|
+
value: string | number;
|
|
810
810
|
in: "query" | "header";
|
|
811
811
|
}[];
|
|
812
812
|
baseURL?: string | undefined;
|
|
813
813
|
body?: Record<string, unknown> | undefined;
|
|
814
814
|
}, {
|
|
815
815
|
parameters: {
|
|
816
|
-
value: string | number;
|
|
817
816
|
name: string;
|
|
817
|
+
value: string | number;
|
|
818
818
|
in: "query" | "header";
|
|
819
819
|
}[];
|
|
820
820
|
baseURL?: string | undefined;
|
|
@@ -2803,14 +2803,13 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
2803
2803
|
dangerouslySkipVersionCheck: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
2804
2804
|
text: z$1.ZodOptional<z$1.ZodString>;
|
|
2805
2805
|
}, "strip", z$1.ZodTypeAny, {
|
|
2806
|
-
userId?: string | undefined;
|
|
2807
2806
|
version?: string | undefined;
|
|
2808
2807
|
allowTracing?: boolean | undefined;
|
|
2809
2808
|
connectedAccountId?: string | undefined;
|
|
2810
2809
|
customAuthParams?: {
|
|
2811
2810
|
parameters: {
|
|
2812
|
-
value: string | number;
|
|
2813
2811
|
name: string;
|
|
2812
|
+
value: string | number;
|
|
2814
2813
|
in: "query" | "header";
|
|
2815
2814
|
}[];
|
|
2816
2815
|
baseURL?: string | undefined;
|
|
@@ -3231,17 +3230,17 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
3231
3230
|
};
|
|
3232
3231
|
} | undefined;
|
|
3233
3232
|
arguments?: Record<string, unknown> | undefined;
|
|
3233
|
+
userId?: string | undefined;
|
|
3234
3234
|
dangerouslySkipVersionCheck?: boolean | undefined;
|
|
3235
3235
|
text?: string | undefined;
|
|
3236
3236
|
}, {
|
|
3237
|
-
userId?: string | undefined;
|
|
3238
3237
|
version?: string | undefined;
|
|
3239
3238
|
allowTracing?: boolean | undefined;
|
|
3240
3239
|
connectedAccountId?: string | undefined;
|
|
3241
3240
|
customAuthParams?: {
|
|
3242
3241
|
parameters: {
|
|
3243
|
-
value: string | number;
|
|
3244
3242
|
name: string;
|
|
3243
|
+
value: string | number;
|
|
3245
3244
|
in: "query" | "header";
|
|
3246
3245
|
}[];
|
|
3247
3246
|
baseURL?: string | undefined;
|
|
@@ -3662,6 +3661,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
|
|
|
3662
3661
|
};
|
|
3663
3662
|
} | undefined;
|
|
3664
3663
|
arguments?: Record<string, unknown> | undefined;
|
|
3664
|
+
userId?: string | undefined;
|
|
3665
3665
|
dangerouslySkipVersionCheck?: boolean | undefined;
|
|
3666
3666
|
text?: string | undefined;
|
|
3667
3667
|
}>;
|
|
@@ -3687,14 +3687,14 @@ declare const ToolExecuteResponseSchema: z$1.ZodObject<{
|
|
|
3687
3687
|
logId: z$1.ZodOptional<z$1.ZodString>;
|
|
3688
3688
|
sessionInfo: z$1.ZodOptional<z$1.ZodUnknown>;
|
|
3689
3689
|
}, "strip", z$1.ZodTypeAny, {
|
|
3690
|
-
error: string | null;
|
|
3691
3690
|
data: Record<string, unknown>;
|
|
3691
|
+
error: string | null;
|
|
3692
3692
|
successful: boolean;
|
|
3693
3693
|
logId?: string | undefined;
|
|
3694
3694
|
sessionInfo?: unknown;
|
|
3695
3695
|
}, {
|
|
3696
|
-
error: string | null;
|
|
3697
3696
|
data: Record<string, unknown>;
|
|
3697
|
+
error: string | null;
|
|
3698
3698
|
successful: boolean;
|
|
3699
3699
|
logId?: string | undefined;
|
|
3700
3700
|
sessionInfo?: unknown;
|
|
@@ -3709,12 +3709,12 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
3709
3709
|
name: z$1.ZodString;
|
|
3710
3710
|
value: z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber]>;
|
|
3711
3711
|
}, "strip", z$1.ZodTypeAny, {
|
|
3712
|
-
value: string | number;
|
|
3713
3712
|
name: string;
|
|
3713
|
+
value: string | number;
|
|
3714
3714
|
in: "query" | "header";
|
|
3715
3715
|
}, {
|
|
3716
|
-
value: string | number;
|
|
3717
3716
|
name: string;
|
|
3717
|
+
value: string | number;
|
|
3718
3718
|
in: "query" | "header";
|
|
3719
3719
|
}>, "many">>;
|
|
3720
3720
|
connectedAccountId: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -5703,8 +5703,8 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
5703
5703
|
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
5704
5704
|
body?: unknown;
|
|
5705
5705
|
parameters?: {
|
|
5706
|
-
value: string | number;
|
|
5707
5706
|
name: string;
|
|
5707
|
+
value: string | number;
|
|
5708
5708
|
in: "query" | "header";
|
|
5709
5709
|
}[] | undefined;
|
|
5710
5710
|
connectedAccountId?: string | undefined;
|
|
@@ -6127,8 +6127,8 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
|
|
|
6127
6127
|
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
6128
6128
|
body?: unknown;
|
|
6129
6129
|
parameters?: {
|
|
6130
|
-
value: string | number;
|
|
6131
6130
|
name: string;
|
|
6131
|
+
value: string | number;
|
|
6132
6132
|
in: "query" | "header";
|
|
6133
6133
|
}[] | undefined;
|
|
6134
6134
|
connectedAccountId?: string | undefined;
|
|
@@ -28810,7 +28810,7 @@ declare const MCPServerSchema: z$1.ZodObject<{
|
|
|
28810
28810
|
}>]>;
|
|
28811
28811
|
}, "strip", z$1.ZodTypeAny, {
|
|
28812
28812
|
type: "single" | "multi";
|
|
28813
|
-
status: "
|
|
28813
|
+
status: "error" | "active" | "inactive";
|
|
28814
28814
|
id: string;
|
|
28815
28815
|
createdAt: string;
|
|
28816
28816
|
updatedAt: string;
|
|
@@ -28837,7 +28837,7 @@ declare const MCPServerSchema: z$1.ZodObject<{
|
|
|
28837
28837
|
tools: string[];
|
|
28838
28838
|
toolkits: string[];
|
|
28839
28839
|
};
|
|
28840
|
-
status?: "
|
|
28840
|
+
status?: "error" | "active" | "inactive" | undefined;
|
|
28841
28841
|
}>;
|
|
28842
28842
|
type MCPServer = z$1.infer<typeof MCPServerSchema>;
|
|
28843
28843
|
/**
|
|
@@ -28877,7 +28877,7 @@ declare const MCPServerListResponseSchema: z$1.ZodObject<{
|
|
|
28877
28877
|
}>]>;
|
|
28878
28878
|
}, "strip", z$1.ZodTypeAny, {
|
|
28879
28879
|
type: "single" | "multi";
|
|
28880
|
-
status: "
|
|
28880
|
+
status: "error" | "active" | "inactive";
|
|
28881
28881
|
id: string;
|
|
28882
28882
|
createdAt: string;
|
|
28883
28883
|
updatedAt: string;
|
|
@@ -28904,7 +28904,7 @@ declare const MCPServerListResponseSchema: z$1.ZodObject<{
|
|
|
28904
28904
|
tools: string[];
|
|
28905
28905
|
toolkits: string[];
|
|
28906
28906
|
};
|
|
28907
|
-
status?: "
|
|
28907
|
+
status?: "error" | "active" | "inactive" | undefined;
|
|
28908
28908
|
}>, "many">;
|
|
28909
28909
|
total: z$1.ZodNumber;
|
|
28910
28910
|
page: z$1.ZodNumber;
|
|
@@ -28912,7 +28912,7 @@ declare const MCPServerListResponseSchema: z$1.ZodObject<{
|
|
|
28912
28912
|
}, "strip", z$1.ZodTypeAny, {
|
|
28913
28913
|
items: {
|
|
28914
28914
|
type: "single" | "multi";
|
|
28915
|
-
status: "
|
|
28915
|
+
status: "error" | "active" | "inactive";
|
|
28916
28916
|
id: string;
|
|
28917
28917
|
createdAt: string;
|
|
28918
28918
|
updatedAt: string;
|
|
@@ -28944,7 +28944,7 @@ declare const MCPServerListResponseSchema: z$1.ZodObject<{
|
|
|
28944
28944
|
tools: string[];
|
|
28945
28945
|
toolkits: string[];
|
|
28946
28946
|
};
|
|
28947
|
-
status?: "
|
|
28947
|
+
status?: "error" | "active" | "inactive" | undefined;
|
|
28948
28948
|
}[];
|
|
28949
28949
|
total: number;
|
|
28950
28950
|
page: number;
|
|
@@ -28959,13 +28959,13 @@ declare const MCPServerUpdateParamsSchema: z$1.ZodObject<{
|
|
|
28959
28959
|
toolkits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
28960
28960
|
allowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
28961
28961
|
}, "strip", z$1.ZodTypeAny, {
|
|
28962
|
-
allowedTools?: string[] | undefined;
|
|
28963
28962
|
name?: string | undefined;
|
|
28964
28963
|
toolkits?: string[] | undefined;
|
|
28965
|
-
}, {
|
|
28966
28964
|
allowedTools?: string[] | undefined;
|
|
28965
|
+
}, {
|
|
28967
28966
|
name?: string | undefined;
|
|
28968
28967
|
toolkits?: string[] | undefined;
|
|
28968
|
+
allowedTools?: string[] | undefined;
|
|
28969
28969
|
}>;
|
|
28970
28970
|
type MCPServerUpdateParams = z$1.infer<typeof MCPServerUpdateParamsSchema>;
|
|
28971
28971
|
/**
|
|
@@ -29004,7 +29004,7 @@ declare const MCPServerCreateResponseSchema: z$1.ZodObject<{
|
|
|
29004
29004
|
}>]>;
|
|
29005
29005
|
}, "strip", z$1.ZodTypeAny, {
|
|
29006
29006
|
type: "single" | "multi";
|
|
29007
|
-
status: "
|
|
29007
|
+
status: "error" | "active" | "inactive";
|
|
29008
29008
|
id: string;
|
|
29009
29009
|
createdAt: string;
|
|
29010
29010
|
updatedAt: string;
|
|
@@ -29031,7 +29031,7 @@ declare const MCPServerCreateResponseSchema: z$1.ZodObject<{
|
|
|
29031
29031
|
tools: string[];
|
|
29032
29032
|
toolkits: string[];
|
|
29033
29033
|
};
|
|
29034
|
-
status?: "
|
|
29034
|
+
status?: "error" | "active" | "inactive" | undefined;
|
|
29035
29035
|
}>;
|
|
29036
29036
|
type MCPServerCreateResponse = z$1.infer<typeof MCPServerCreateResponseSchema>;
|
|
29037
29037
|
/**
|
|
@@ -29226,8 +29226,8 @@ declare const McpRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
29226
29226
|
windsurf: string;
|
|
29227
29227
|
}>;
|
|
29228
29228
|
}, "strip", z$1.ZodTypeAny, {
|
|
29229
|
-
mcpUrl: string;
|
|
29230
29229
|
name: string;
|
|
29230
|
+
mcpUrl: string;
|
|
29231
29231
|
id: string;
|
|
29232
29232
|
commands: {
|
|
29233
29233
|
claude: string;
|
|
@@ -29237,13 +29237,13 @@ declare const McpRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
29237
29237
|
status?: string | undefined;
|
|
29238
29238
|
tools?: string[] | undefined;
|
|
29239
29239
|
toolkits?: string[] | undefined;
|
|
29240
|
+
authConfigIds?: string[] | undefined;
|
|
29240
29241
|
createdAt?: string | undefined;
|
|
29241
29242
|
updatedAt?: string | undefined;
|
|
29242
29243
|
managedAuthViaComposio?: boolean | undefined;
|
|
29243
|
-
authConfigIds?: string[] | undefined;
|
|
29244
29244
|
}, {
|
|
29245
|
-
mcpUrl: string;
|
|
29246
29245
|
name: string;
|
|
29246
|
+
mcpUrl: string;
|
|
29247
29247
|
id: string;
|
|
29248
29248
|
commands: {
|
|
29249
29249
|
claude: string;
|
|
@@ -29253,10 +29253,10 @@ declare const McpRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
29253
29253
|
status?: string | undefined;
|
|
29254
29254
|
tools?: string[] | undefined;
|
|
29255
29255
|
toolkits?: string[] | undefined;
|
|
29256
|
+
authConfigIds?: string[] | undefined;
|
|
29256
29257
|
createdAt?: string | undefined;
|
|
29257
29258
|
updatedAt?: string | undefined;
|
|
29258
29259
|
managedAuthViaComposio?: boolean | undefined;
|
|
29259
|
-
authConfigIds?: string[] | undefined;
|
|
29260
29260
|
}>;
|
|
29261
29261
|
declare const ComposioMcpRetrieveResponseSchema: z$1.ZodObject<{
|
|
29262
29262
|
id: z$1.ZodString;
|
|
@@ -29685,12 +29685,12 @@ declare const CreateConnectedAccountResponseSchema: z$1.ZodObject<{
|
|
|
29685
29685
|
redirectUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
29686
29686
|
}, "strip", z$1.ZodTypeAny, {
|
|
29687
29687
|
status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE" | "REVOKED";
|
|
29688
|
-
id: string;
|
|
29689
29688
|
redirectUrl: string | null;
|
|
29689
|
+
id: string;
|
|
29690
29690
|
}, {
|
|
29691
29691
|
status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE" | "REVOKED";
|
|
29692
|
-
id: string;
|
|
29693
29692
|
redirectUrl: string | null;
|
|
29693
|
+
id: string;
|
|
29694
29694
|
}>;
|
|
29695
29695
|
type CreateConnectedAccountResponse = z$1.infer<typeof CreateConnectedAccountResponseSchema>;
|
|
29696
29696
|
declare const ConnectedAccountAuthConfigSchema: z$1.ZodObject<{
|
|
@@ -29753,19 +29753,19 @@ declare const ConnectedAccountListParamsSchema: z$1.ZodObject<{
|
|
|
29753
29753
|
*/
|
|
29754
29754
|
accountType: z$1.ZodOptional<z$1.ZodEnum<["PRIVATE", "SHARED", "ALL"]>>;
|
|
29755
29755
|
}, "strip", z$1.ZodTypeAny, {
|
|
29756
|
-
|
|
29756
|
+
limit?: number | null | undefined;
|
|
29757
29757
|
authConfigIds?: string[] | null | undefined;
|
|
29758
|
+
userIds?: string[] | null | undefined;
|
|
29758
29759
|
cursor?: string | null | undefined;
|
|
29759
|
-
limit?: number | null | undefined;
|
|
29760
29760
|
accountType?: "PRIVATE" | "SHARED" | "ALL" | undefined;
|
|
29761
29761
|
orderBy?: "created_at" | "updated_at" | undefined;
|
|
29762
29762
|
statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE" | "REVOKED")[] | null | undefined;
|
|
29763
29763
|
toolkitSlugs?: string[] | null | undefined;
|
|
29764
29764
|
}, {
|
|
29765
|
-
|
|
29765
|
+
limit?: number | null | undefined;
|
|
29766
29766
|
authConfigIds?: string[] | null | undefined;
|
|
29767
|
+
userIds?: string[] | null | undefined;
|
|
29767
29768
|
cursor?: string | null | undefined;
|
|
29768
|
-
limit?: number | null | undefined;
|
|
29769
29769
|
accountType?: "PRIVATE" | "SHARED" | "ALL" | undefined;
|
|
29770
29770
|
orderBy?: "created_at" | "updated_at" | undefined;
|
|
29771
29771
|
statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE" | "REVOKED")[] | null | undefined;
|
|
@@ -30082,12 +30082,12 @@ declare const ToolRouterSessionFilesMountListOptionsSchema: z.ZodObject<{
|
|
|
30082
30082
|
}, "strip", z.ZodTypeAny, {
|
|
30083
30083
|
mountId: string;
|
|
30084
30084
|
path?: string | undefined;
|
|
30085
|
-
cursor?: string | undefined;
|
|
30086
30085
|
limit?: number | undefined;
|
|
30086
|
+
cursor?: string | undefined;
|
|
30087
30087
|
}, {
|
|
30088
30088
|
path?: string | undefined;
|
|
30089
|
-
cursor?: string | undefined;
|
|
30090
30089
|
limit?: number | undefined;
|
|
30090
|
+
cursor?: string | undefined;
|
|
30091
30091
|
mountId?: string | undefined;
|
|
30092
30092
|
}>;
|
|
30093
30093
|
type ToolRouterSessionFilesMountListOptions = z.input<typeof ToolRouterSessionFilesMountListOptionsSchema>;
|
|
@@ -30267,6 +30267,8 @@ declare class RemoteFile {
|
|
|
30267
30267
|
static parse(data: unknown): RemoteFile;
|
|
30268
30268
|
/** Filename extracted from the mount path (e.g. "report.pdf" from "output/report.pdf") */
|
|
30269
30269
|
get filename(): string;
|
|
30270
|
+
private downloadError;
|
|
30271
|
+
private downloadBytes;
|
|
30270
30272
|
/**
|
|
30271
30273
|
* Fetches the file content as a buffer.
|
|
30272
30274
|
* @returns The file content as a Uint8Array
|
|
@@ -30769,6 +30771,10 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30769
30771
|
customToolkits?: CustomToolkit[] | undefined;
|
|
30770
30772
|
}>>>;
|
|
30771
30773
|
}, "strip", z.ZodTypeAny, {
|
|
30774
|
+
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30775
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30776
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30777
|
+
} | undefined;
|
|
30772
30778
|
tools?: Record<string, string[] | {
|
|
30773
30779
|
enable: string[];
|
|
30774
30780
|
} | {
|
|
@@ -30784,10 +30790,6 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30784
30790
|
} | {
|
|
30785
30791
|
enable: string[];
|
|
30786
30792
|
} | undefined;
|
|
30787
|
-
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30788
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30789
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30790
|
-
} | undefined;
|
|
30791
30793
|
preload?: {
|
|
30792
30794
|
tools?: string[] | "all" | undefined;
|
|
30793
30795
|
} | undefined;
|
|
@@ -30825,6 +30827,10 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30825
30827
|
customToolkits?: CustomToolkit[] | undefined;
|
|
30826
30828
|
} | undefined;
|
|
30827
30829
|
}, {
|
|
30830
|
+
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30831
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30832
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30833
|
+
} | undefined;
|
|
30828
30834
|
tools?: Record<string, string[] | {
|
|
30829
30835
|
enable: string[];
|
|
30830
30836
|
} | {
|
|
@@ -30840,10 +30846,6 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30840
30846
|
} | {
|
|
30841
30847
|
enable: string[];
|
|
30842
30848
|
} | undefined;
|
|
30843
|
-
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30844
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30845
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30846
|
-
} | undefined;
|
|
30847
30849
|
preload?: {
|
|
30848
30850
|
tools?: string[] | "all" | undefined;
|
|
30849
30851
|
} | undefined;
|
|
@@ -30881,6 +30883,10 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30881
30883
|
customToolkits?: CustomToolkit[] | undefined;
|
|
30882
30884
|
} | undefined;
|
|
30883
30885
|
}>, {
|
|
30886
|
+
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30887
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30888
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30889
|
+
} | undefined;
|
|
30884
30890
|
tools?: Record<string, string[] | {
|
|
30885
30891
|
enable: string[];
|
|
30886
30892
|
} | {
|
|
@@ -30896,10 +30902,6 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30896
30902
|
} | {
|
|
30897
30903
|
enable: string[];
|
|
30898
30904
|
} | undefined;
|
|
30899
|
-
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30900
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30901
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30902
|
-
} | undefined;
|
|
30903
30905
|
preload?: {
|
|
30904
30906
|
tools?: string[] | "all" | undefined;
|
|
30905
30907
|
} | undefined;
|
|
@@ -30937,6 +30939,10 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30937
30939
|
customToolkits?: CustomToolkit[] | undefined;
|
|
30938
30940
|
} | undefined;
|
|
30939
30941
|
}, {
|
|
30942
|
+
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30943
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30944
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30945
|
+
} | undefined;
|
|
30940
30946
|
tools?: Record<string, string[] | {
|
|
30941
30947
|
enable: string[];
|
|
30942
30948
|
} | {
|
|
@@ -30952,10 +30958,6 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30952
30958
|
} | {
|
|
30953
30959
|
enable: string[];
|
|
30954
30960
|
} | undefined;
|
|
30955
|
-
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30956
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30957
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
30958
|
-
} | undefined;
|
|
30959
30961
|
preload?: {
|
|
30960
30962
|
tools?: string[] | "all" | undefined;
|
|
30961
30963
|
} | undefined;
|
|
@@ -30993,6 +30995,10 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
30993
30995
|
customToolkits?: CustomToolkit[] | undefined;
|
|
30994
30996
|
} | undefined;
|
|
30995
30997
|
}>, {
|
|
30998
|
+
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
30999
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31000
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31001
|
+
} | undefined;
|
|
30996
31002
|
tools?: Record<string, string[] | {
|
|
30997
31003
|
enable: string[];
|
|
30998
31004
|
} | {
|
|
@@ -31008,10 +31014,6 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
|
|
|
31008
31014
|
} | {
|
|
31009
31015
|
enable: string[];
|
|
31010
31016
|
} | undefined;
|
|
31011
|
-
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
31012
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31013
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31014
|
-
} | undefined;
|
|
31015
31017
|
preload?: {
|
|
31016
31018
|
tools?: string[] | "all" | undefined;
|
|
31017
31019
|
} | undefined;
|
|
@@ -31129,8 +31131,8 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
|
|
|
31129
31131
|
} | undefined;
|
|
31130
31132
|
}>>;
|
|
31131
31133
|
}, "strip", z.ZodTypeAny, {
|
|
31132
|
-
name: string;
|
|
31133
31134
|
slug: string;
|
|
31135
|
+
name: string;
|
|
31134
31136
|
isNoAuth: boolean;
|
|
31135
31137
|
logo?: string | undefined;
|
|
31136
31138
|
connection?: {
|
|
@@ -31146,8 +31148,8 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
|
|
|
31146
31148
|
} | undefined;
|
|
31147
31149
|
} | undefined;
|
|
31148
31150
|
}, {
|
|
31149
|
-
name: string;
|
|
31150
31151
|
slug: string;
|
|
31152
|
+
name: string;
|
|
31151
31153
|
logo?: string | undefined;
|
|
31152
31154
|
isNoAuth?: boolean | undefined;
|
|
31153
31155
|
connection?: {
|
|
@@ -31218,8 +31220,8 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
|
|
|
31218
31220
|
} | undefined;
|
|
31219
31221
|
}>>;
|
|
31220
31222
|
}, "strip", z.ZodTypeAny, {
|
|
31221
|
-
name: string;
|
|
31222
31223
|
slug: string;
|
|
31224
|
+
name: string;
|
|
31223
31225
|
isNoAuth: boolean;
|
|
31224
31226
|
logo?: string | undefined;
|
|
31225
31227
|
connection?: {
|
|
@@ -31235,8 +31237,8 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
|
|
|
31235
31237
|
} | undefined;
|
|
31236
31238
|
} | undefined;
|
|
31237
31239
|
}, {
|
|
31238
|
-
name: string;
|
|
31239
31240
|
slug: string;
|
|
31241
|
+
name: string;
|
|
31240
31242
|
logo?: string | undefined;
|
|
31241
31243
|
isNoAuth?: boolean | undefined;
|
|
31242
31244
|
connection?: {
|
|
@@ -31256,8 +31258,8 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
|
|
|
31256
31258
|
totalPages: z.ZodNumber;
|
|
31257
31259
|
}, "strip", z.ZodTypeAny, {
|
|
31258
31260
|
items: {
|
|
31259
|
-
name: string;
|
|
31260
31261
|
slug: string;
|
|
31262
|
+
name: string;
|
|
31261
31263
|
isNoAuth: boolean;
|
|
31262
31264
|
logo?: string | undefined;
|
|
31263
31265
|
connection?: {
|
|
@@ -31277,8 +31279,8 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
|
|
|
31277
31279
|
cursor?: string | undefined;
|
|
31278
31280
|
}, {
|
|
31279
31281
|
items: {
|
|
31280
|
-
name: string;
|
|
31281
31282
|
slug: string;
|
|
31283
|
+
name: string;
|
|
31282
31284
|
logo?: string | undefined;
|
|
31283
31285
|
isNoAuth?: boolean | undefined;
|
|
31284
31286
|
connection?: {
|
|
@@ -31326,15 +31328,15 @@ declare const ToolRouterToolkitsOptionsSchema: z.ZodObject<{
|
|
|
31326
31328
|
search: z.ZodOptional<z.ZodString>;
|
|
31327
31329
|
}, "strip", z.ZodTypeAny, {
|
|
31328
31330
|
toolkits?: string[] | undefined;
|
|
31329
|
-
cursor?: string | undefined;
|
|
31330
31331
|
limit?: number | undefined;
|
|
31331
31332
|
search?: string | undefined;
|
|
31333
|
+
cursor?: string | undefined;
|
|
31332
31334
|
isConnected?: boolean | undefined;
|
|
31333
31335
|
}, {
|
|
31334
31336
|
toolkits?: string[] | undefined;
|
|
31335
|
-
cursor?: string | undefined;
|
|
31336
31337
|
limit?: number | undefined;
|
|
31337
31338
|
search?: string | undefined;
|
|
31339
|
+
cursor?: string | undefined;
|
|
31338
31340
|
isConnected?: boolean | undefined;
|
|
31339
31341
|
}>;
|
|
31340
31342
|
type ToolRouterToolkitsOptions = z.infer<typeof ToolRouterToolkitsOptionsSchema>;
|
|
@@ -31467,15 +31469,15 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
|
|
|
31467
31469
|
connectionDetails: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
31468
31470
|
currentUserInfo: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
31469
31471
|
}, "strip", z.ZodTypeAny, {
|
|
31470
|
-
toolkit: string;
|
|
31471
31472
|
description: string;
|
|
31473
|
+
toolkit: string;
|
|
31472
31474
|
hasActiveConnection: boolean;
|
|
31473
31475
|
statusMessage: string;
|
|
31474
31476
|
connectionDetails?: Record<string, unknown> | undefined;
|
|
31475
31477
|
currentUserInfo?: Record<string, unknown> | undefined;
|
|
31476
31478
|
}, {
|
|
31477
|
-
toolkit: string;
|
|
31478
31479
|
description: string;
|
|
31480
|
+
toolkit: string;
|
|
31479
31481
|
hasActiveConnection: boolean;
|
|
31480
31482
|
statusMessage: string;
|
|
31481
31483
|
connectionDetails?: Record<string, unknown> | undefined;
|
|
@@ -31545,8 +31547,8 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
|
|
|
31545
31547
|
} | undefined;
|
|
31546
31548
|
}>;
|
|
31547
31549
|
toolkitConnectionStatuses: {
|
|
31548
|
-
toolkit: string;
|
|
31549
31550
|
description: string;
|
|
31551
|
+
toolkit: string;
|
|
31550
31552
|
hasActiveConnection: boolean;
|
|
31551
31553
|
statusMessage: string;
|
|
31552
31554
|
connectionDetails?: Record<string, unknown> | undefined;
|
|
@@ -31600,8 +31602,8 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
|
|
|
31600
31602
|
} | undefined;
|
|
31601
31603
|
}>;
|
|
31602
31604
|
toolkitConnectionStatuses: {
|
|
31603
|
-
toolkit: string;
|
|
31604
31605
|
description: string;
|
|
31606
|
+
toolkit: string;
|
|
31605
31607
|
hasActiveConnection: boolean;
|
|
31606
31608
|
statusMessage: string;
|
|
31607
31609
|
connectionDetails?: Record<string, unknown> | undefined;
|
|
@@ -31625,12 +31627,12 @@ declare const ToolRouterSessionExecuteResponseSchema: z.ZodObject<{
|
|
|
31625
31627
|
error: z.ZodNullable<z.ZodString>;
|
|
31626
31628
|
logId: z.ZodString;
|
|
31627
31629
|
}, "strip", z.ZodTypeAny, {
|
|
31628
|
-
error: string | null;
|
|
31629
31630
|
data: Record<string, unknown>;
|
|
31631
|
+
error: string | null;
|
|
31630
31632
|
logId: string;
|
|
31631
31633
|
}, {
|
|
31632
|
-
error: string | null;
|
|
31633
31634
|
data: Record<string, unknown>;
|
|
31635
|
+
error: string | null;
|
|
31634
31636
|
logId: string;
|
|
31635
31637
|
}>;
|
|
31636
31638
|
type ToolRouterSessionExecuteResponse = z.infer<typeof ToolRouterSessionExecuteResponseSchema>;
|
|
@@ -31704,12 +31706,12 @@ declare const SessionProxyExecuteParamsSchema: z.ZodObject<{
|
|
|
31704
31706
|
name: z.ZodString;
|
|
31705
31707
|
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
31706
31708
|
}, "strip", z.ZodTypeAny, {
|
|
31707
|
-
value: string | number;
|
|
31708
31709
|
name: string;
|
|
31710
|
+
value: string | number;
|
|
31709
31711
|
in: "query" | "header";
|
|
31710
31712
|
}, {
|
|
31711
|
-
value: string | number;
|
|
31712
31713
|
name: string;
|
|
31714
|
+
value: string | number;
|
|
31713
31715
|
in: "query" | "header";
|
|
31714
31716
|
}>, "many">>;
|
|
31715
31717
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -31718,8 +31720,8 @@ declare const SessionProxyExecuteParamsSchema: z.ZodObject<{
|
|
|
31718
31720
|
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
31719
31721
|
body?: unknown;
|
|
31720
31722
|
parameters?: {
|
|
31721
|
-
value: string | number;
|
|
31722
31723
|
name: string;
|
|
31724
|
+
value: string | number;
|
|
31723
31725
|
in: "query" | "header";
|
|
31724
31726
|
}[] | undefined;
|
|
31725
31727
|
}, {
|
|
@@ -31728,8 +31730,8 @@ declare const SessionProxyExecuteParamsSchema: z.ZodObject<{
|
|
|
31728
31730
|
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
31729
31731
|
body?: unknown;
|
|
31730
31732
|
parameters?: {
|
|
31731
|
-
value: string | number;
|
|
31732
31733
|
name: string;
|
|
31734
|
+
value: string | number;
|
|
31733
31735
|
in: "query" | "header";
|
|
31734
31736
|
}[] | undefined;
|
|
31735
31737
|
}>;
|
|
@@ -31879,6 +31881,10 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
31879
31881
|
tools?: string[] | "all" | undefined;
|
|
31880
31882
|
}>>>;
|
|
31881
31883
|
}, "strip", z.ZodTypeAny, {
|
|
31884
|
+
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
31885
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31886
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31887
|
+
} | undefined;
|
|
31882
31888
|
tools?: Record<string, string[] | {
|
|
31883
31889
|
enable: string[];
|
|
31884
31890
|
} | {
|
|
@@ -31894,10 +31900,6 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
31894
31900
|
} | {
|
|
31895
31901
|
enable: string[];
|
|
31896
31902
|
} | undefined;
|
|
31897
|
-
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
31898
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31899
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31900
|
-
} | undefined;
|
|
31901
31903
|
preload?: {
|
|
31902
31904
|
tools?: string[] | "all" | undefined;
|
|
31903
31905
|
} | undefined;
|
|
@@ -31926,6 +31928,10 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
31926
31928
|
requireExplicitSelection?: boolean | undefined;
|
|
31927
31929
|
} | null | undefined;
|
|
31928
31930
|
}, {
|
|
31931
|
+
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
31932
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31933
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31934
|
+
} | undefined;
|
|
31929
31935
|
tools?: Record<string, string[] | {
|
|
31930
31936
|
enable: string[];
|
|
31931
31937
|
} | {
|
|
@@ -31941,10 +31947,6 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
31941
31947
|
} | {
|
|
31942
31948
|
enable: string[];
|
|
31943
31949
|
} | undefined;
|
|
31944
|
-
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
31945
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31946
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31947
|
-
} | undefined;
|
|
31948
31950
|
preload?: {
|
|
31949
31951
|
tools?: string[] | "all" | undefined;
|
|
31950
31952
|
} | undefined;
|
|
@@ -31973,6 +31975,10 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
31973
31975
|
requireExplicitSelection?: boolean | undefined;
|
|
31974
31976
|
} | null | undefined;
|
|
31975
31977
|
}>, {
|
|
31978
|
+
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
31979
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31980
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31981
|
+
} | undefined;
|
|
31976
31982
|
tools?: Record<string, string[] | {
|
|
31977
31983
|
enable: string[];
|
|
31978
31984
|
} | {
|
|
@@ -31988,10 +31994,6 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
31988
31994
|
} | {
|
|
31989
31995
|
enable: string[];
|
|
31990
31996
|
} | undefined;
|
|
31991
|
-
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
31992
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31993
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
31994
|
-
} | undefined;
|
|
31995
31997
|
preload?: {
|
|
31996
31998
|
tools?: string[] | "all" | undefined;
|
|
31997
31999
|
} | undefined;
|
|
@@ -32020,6 +32022,10 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
32020
32022
|
requireExplicitSelection?: boolean | undefined;
|
|
32021
32023
|
} | null | undefined;
|
|
32022
32024
|
}, {
|
|
32025
|
+
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
32026
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32027
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32028
|
+
} | undefined;
|
|
32023
32029
|
tools?: Record<string, string[] | {
|
|
32024
32030
|
enable: string[];
|
|
32025
32031
|
} | {
|
|
@@ -32035,10 +32041,6 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
32035
32041
|
} | {
|
|
32036
32042
|
enable: string[];
|
|
32037
32043
|
} | undefined;
|
|
32038
|
-
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
32039
|
-
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32040
|
-
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
32041
|
-
} | undefined;
|
|
32042
32044
|
preload?: {
|
|
32043
32045
|
tools?: string[] | "all" | undefined;
|
|
32044
32046
|
} | undefined;
|
|
@@ -32073,11 +32075,11 @@ declare const ToolRouterSessionDeleteResponseSchema: z.ZodObject<{
|
|
|
32073
32075
|
sessionId: z.ZodString;
|
|
32074
32076
|
deleted: z.ZodLiteral<true>;
|
|
32075
32077
|
}, "strip", z.ZodTypeAny, {
|
|
32076
|
-
deleted: true;
|
|
32077
32078
|
sessionId: string;
|
|
32078
|
-
}, {
|
|
32079
32079
|
deleted: true;
|
|
32080
|
+
}, {
|
|
32080
32081
|
sessionId: string;
|
|
32082
|
+
deleted: true;
|
|
32081
32083
|
}>;
|
|
32082
32084
|
type ToolRouterSessionDeleteResponse = z.infer<typeof ToolRouterSessionDeleteResponseSchema>;
|
|
32083
32085
|
type ToolRouterSessionDeleteFn = (requestOptions?: ComposioRequestOptions) => Promise<ToolRouterSessionDeleteResponse>;
|