alterlab-mcp-server 1.10.0 → 1.11.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/client.js +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -10
- package/dist/index.js.map +1 -1
- package/dist/shared/descriptions.d.ts +2 -0
- package/dist/shared/descriptions.d.ts.map +1 -0
- package/dist/shared/descriptions.js +19 -0
- package/dist/shared/descriptions.js.map +1 -0
- package/dist/shared/tool-definitions.json +1911 -0
- package/dist/tools/batch.d.ts +40 -40
- package/dist/tools/common.d.ts +8 -8
- package/dist/tools/crawl.d.ts +5 -5
- package/dist/tools/extract.d.ts +2 -2
- package/dist/tools/scrape.d.ts +15 -15
- package/dist/tools/screenshot.d.ts +2 -2
- package/dist/tools/search.d.ts +2 -2
- package/dist/tools/simple_batch.d.ts +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
package/dist/tools/batch.d.ts
CHANGED
|
@@ -57,12 +57,12 @@ export declare const batchItemSchema: z.ZodObject<{
|
|
|
57
57
|
selector: z.ZodOptional<z.ZodString>;
|
|
58
58
|
}, "strip", z.ZodTypeAny, {
|
|
59
59
|
type: "wait";
|
|
60
|
-
milliseconds?: number | undefined;
|
|
61
60
|
selector?: string | undefined;
|
|
61
|
+
milliseconds?: number | undefined;
|
|
62
62
|
}, {
|
|
63
63
|
type: "wait";
|
|
64
|
-
milliseconds?: number | undefined;
|
|
65
64
|
selector?: string | undefined;
|
|
65
|
+
milliseconds?: number | undefined;
|
|
66
66
|
}>, z.ZodObject<{
|
|
67
67
|
type: z.ZodLiteral<"wait_for">;
|
|
68
68
|
selector: z.ZodString;
|
|
@@ -90,12 +90,12 @@ export declare const batchItemSchema: z.ZodObject<{
|
|
|
90
90
|
value: z.ZodString;
|
|
91
91
|
}, "strip", z.ZodTypeAny, {
|
|
92
92
|
type: "fill";
|
|
93
|
-
value: string;
|
|
94
93
|
selector: string;
|
|
94
|
+
value: string;
|
|
95
95
|
}, {
|
|
96
96
|
type: "fill";
|
|
97
|
-
value: string;
|
|
98
97
|
selector: string;
|
|
98
|
+
value: string;
|
|
99
99
|
}>, z.ZodObject<{
|
|
100
100
|
type: z.ZodLiteral<"press">;
|
|
101
101
|
key: z.ZodString;
|
|
@@ -182,8 +182,8 @@ export declare const batchItemSchema: z.ZodObject<{
|
|
|
182
182
|
sticky_session_ttl?: number | undefined;
|
|
183
183
|
actions?: ({
|
|
184
184
|
type: "wait";
|
|
185
|
-
milliseconds?: number | undefined;
|
|
186
185
|
selector?: string | undefined;
|
|
186
|
+
milliseconds?: number | undefined;
|
|
187
187
|
} | {
|
|
188
188
|
type: "wait_for";
|
|
189
189
|
selector: string;
|
|
@@ -193,8 +193,8 @@ export declare const batchItemSchema: z.ZodObject<{
|
|
|
193
193
|
selector: string;
|
|
194
194
|
} | {
|
|
195
195
|
type: "fill";
|
|
196
|
-
value: string;
|
|
197
196
|
selector: string;
|
|
197
|
+
value: string;
|
|
198
198
|
} | {
|
|
199
199
|
type: "press";
|
|
200
200
|
key: string;
|
|
@@ -245,8 +245,8 @@ export declare const batchItemSchema: z.ZodObject<{
|
|
|
245
245
|
sticky_session_ttl?: number | undefined;
|
|
246
246
|
actions?: ({
|
|
247
247
|
type: "wait";
|
|
248
|
-
milliseconds?: number | undefined;
|
|
249
248
|
selector?: string | undefined;
|
|
249
|
+
milliseconds?: number | undefined;
|
|
250
250
|
} | {
|
|
251
251
|
type: "wait_for";
|
|
252
252
|
selector: string;
|
|
@@ -256,8 +256,8 @@ export declare const batchItemSchema: z.ZodObject<{
|
|
|
256
256
|
selector: string;
|
|
257
257
|
} | {
|
|
258
258
|
type: "fill";
|
|
259
|
-
value: string;
|
|
260
259
|
selector: string;
|
|
260
|
+
value: string;
|
|
261
261
|
} | {
|
|
262
262
|
type: "press";
|
|
263
263
|
key: string;
|
|
@@ -325,9 +325,9 @@ export declare const batchItemSchema: z.ZodObject<{
|
|
|
325
325
|
method?: "POST" | "GET" | undefined;
|
|
326
326
|
timeout?: number | undefined;
|
|
327
327
|
wait_for?: string | undefined;
|
|
328
|
+
formats?: ("content" | "text" | "json" | "json_v2" | "html" | "markdown" | "rag" | "raw")[] | undefined;
|
|
328
329
|
body?: string | undefined;
|
|
329
330
|
content_type?: "application/json" | "application/x-www-form-urlencoded" | "text/plain" | "application/graphql" | undefined;
|
|
330
|
-
formats?: ("content" | "text" | "json" | "json_v2" | "html" | "markdown" | "rag" | "raw")[] | undefined;
|
|
331
331
|
extraction_schema?: Record<string, unknown> | undefined;
|
|
332
332
|
extraction_provider?: "openai" | "anthropic" | "openrouter" | "groq" | undefined;
|
|
333
333
|
extraction_prompt?: string | undefined;
|
|
@@ -381,8 +381,8 @@ export declare const batchItemSchema: z.ZodObject<{
|
|
|
381
381
|
sticky_session_ttl?: number | undefined;
|
|
382
382
|
actions?: ({
|
|
383
383
|
type: "wait";
|
|
384
|
-
milliseconds?: number | undefined;
|
|
385
384
|
selector?: string | undefined;
|
|
385
|
+
milliseconds?: number | undefined;
|
|
386
386
|
} | {
|
|
387
387
|
type: "wait_for";
|
|
388
388
|
selector: string;
|
|
@@ -392,8 +392,8 @@ export declare const batchItemSchema: z.ZodObject<{
|
|
|
392
392
|
selector: string;
|
|
393
393
|
} | {
|
|
394
394
|
type: "fill";
|
|
395
|
-
value: string;
|
|
396
395
|
selector: string;
|
|
396
|
+
value: string;
|
|
397
397
|
} | {
|
|
398
398
|
type: "press";
|
|
399
399
|
key: string;
|
|
@@ -420,9 +420,9 @@ export declare const batchItemSchema: z.ZodObject<{
|
|
|
420
420
|
method?: "POST" | "GET" | undefined;
|
|
421
421
|
timeout?: number | undefined;
|
|
422
422
|
wait_for?: string | undefined;
|
|
423
|
+
formats?: ("content" | "text" | "json" | "json_v2" | "html" | "markdown" | "rag" | "raw")[] | undefined;
|
|
423
424
|
body?: string | undefined;
|
|
424
425
|
content_type?: "application/json" | "application/x-www-form-urlencoded" | "text/plain" | "application/graphql" | undefined;
|
|
425
|
-
formats?: ("content" | "text" | "json" | "json_v2" | "html" | "markdown" | "rag" | "raw")[] | undefined;
|
|
426
426
|
extraction_schema?: Record<string, unknown> | undefined;
|
|
427
427
|
extraction_provider?: "openai" | "anthropic" | "openrouter" | "groq" | undefined;
|
|
428
428
|
extraction_prompt?: string | undefined;
|
|
@@ -476,8 +476,8 @@ export declare const batchItemSchema: z.ZodObject<{
|
|
|
476
476
|
sticky_session_ttl?: number | undefined;
|
|
477
477
|
actions?: ({
|
|
478
478
|
type: "wait";
|
|
479
|
-
milliseconds?: number | undefined;
|
|
480
479
|
selector?: string | undefined;
|
|
480
|
+
milliseconds?: number | undefined;
|
|
481
481
|
} | {
|
|
482
482
|
type: "wait_for";
|
|
483
483
|
selector: string;
|
|
@@ -487,8 +487,8 @@ export declare const batchItemSchema: z.ZodObject<{
|
|
|
487
487
|
selector: string;
|
|
488
488
|
} | {
|
|
489
489
|
type: "fill";
|
|
490
|
-
value: string;
|
|
491
490
|
selector: string;
|
|
491
|
+
value: string;
|
|
492
492
|
} | {
|
|
493
493
|
type: "press";
|
|
494
494
|
key: string;
|
|
@@ -566,12 +566,12 @@ export declare const batchSchema: z.ZodObject<{
|
|
|
566
566
|
selector: z.ZodOptional<z.ZodString>;
|
|
567
567
|
}, "strip", z.ZodTypeAny, {
|
|
568
568
|
type: "wait";
|
|
569
|
-
milliseconds?: number | undefined;
|
|
570
569
|
selector?: string | undefined;
|
|
570
|
+
milliseconds?: number | undefined;
|
|
571
571
|
}, {
|
|
572
572
|
type: "wait";
|
|
573
|
-
milliseconds?: number | undefined;
|
|
574
573
|
selector?: string | undefined;
|
|
574
|
+
milliseconds?: number | undefined;
|
|
575
575
|
}>, z.ZodObject<{
|
|
576
576
|
type: z.ZodLiteral<"wait_for">;
|
|
577
577
|
selector: z.ZodString;
|
|
@@ -599,12 +599,12 @@ export declare const batchSchema: z.ZodObject<{
|
|
|
599
599
|
value: z.ZodString;
|
|
600
600
|
}, "strip", z.ZodTypeAny, {
|
|
601
601
|
type: "fill";
|
|
602
|
-
value: string;
|
|
603
602
|
selector: string;
|
|
603
|
+
value: string;
|
|
604
604
|
}, {
|
|
605
605
|
type: "fill";
|
|
606
|
-
value: string;
|
|
607
606
|
selector: string;
|
|
607
|
+
value: string;
|
|
608
608
|
}>, z.ZodObject<{
|
|
609
609
|
type: z.ZodLiteral<"press">;
|
|
610
610
|
key: z.ZodString;
|
|
@@ -691,8 +691,8 @@ export declare const batchSchema: z.ZodObject<{
|
|
|
691
691
|
sticky_session_ttl?: number | undefined;
|
|
692
692
|
actions?: ({
|
|
693
693
|
type: "wait";
|
|
694
|
-
milliseconds?: number | undefined;
|
|
695
694
|
selector?: string | undefined;
|
|
695
|
+
milliseconds?: number | undefined;
|
|
696
696
|
} | {
|
|
697
697
|
type: "wait_for";
|
|
698
698
|
selector: string;
|
|
@@ -702,8 +702,8 @@ export declare const batchSchema: z.ZodObject<{
|
|
|
702
702
|
selector: string;
|
|
703
703
|
} | {
|
|
704
704
|
type: "fill";
|
|
705
|
-
value: string;
|
|
706
705
|
selector: string;
|
|
706
|
+
value: string;
|
|
707
707
|
} | {
|
|
708
708
|
type: "press";
|
|
709
709
|
key: string;
|
|
@@ -754,8 +754,8 @@ export declare const batchSchema: z.ZodObject<{
|
|
|
754
754
|
sticky_session_ttl?: number | undefined;
|
|
755
755
|
actions?: ({
|
|
756
756
|
type: "wait";
|
|
757
|
-
milliseconds?: number | undefined;
|
|
758
757
|
selector?: string | undefined;
|
|
758
|
+
milliseconds?: number | undefined;
|
|
759
759
|
} | {
|
|
760
760
|
type: "wait_for";
|
|
761
761
|
selector: string;
|
|
@@ -765,8 +765,8 @@ export declare const batchSchema: z.ZodObject<{
|
|
|
765
765
|
selector: string;
|
|
766
766
|
} | {
|
|
767
767
|
type: "fill";
|
|
768
|
-
value: string;
|
|
769
768
|
selector: string;
|
|
769
|
+
value: string;
|
|
770
770
|
} | {
|
|
771
771
|
type: "press";
|
|
772
772
|
key: string;
|
|
@@ -834,9 +834,9 @@ export declare const batchSchema: z.ZodObject<{
|
|
|
834
834
|
method?: "POST" | "GET" | undefined;
|
|
835
835
|
timeout?: number | undefined;
|
|
836
836
|
wait_for?: string | undefined;
|
|
837
|
+
formats?: ("content" | "text" | "json" | "json_v2" | "html" | "markdown" | "rag" | "raw")[] | undefined;
|
|
837
838
|
body?: string | undefined;
|
|
838
839
|
content_type?: "application/json" | "application/x-www-form-urlencoded" | "text/plain" | "application/graphql" | undefined;
|
|
839
|
-
formats?: ("content" | "text" | "json" | "json_v2" | "html" | "markdown" | "rag" | "raw")[] | undefined;
|
|
840
840
|
extraction_schema?: Record<string, unknown> | undefined;
|
|
841
841
|
extraction_provider?: "openai" | "anthropic" | "openrouter" | "groq" | undefined;
|
|
842
842
|
extraction_prompt?: string | undefined;
|
|
@@ -890,8 +890,8 @@ export declare const batchSchema: z.ZodObject<{
|
|
|
890
890
|
sticky_session_ttl?: number | undefined;
|
|
891
891
|
actions?: ({
|
|
892
892
|
type: "wait";
|
|
893
|
-
milliseconds?: number | undefined;
|
|
894
893
|
selector?: string | undefined;
|
|
894
|
+
milliseconds?: number | undefined;
|
|
895
895
|
} | {
|
|
896
896
|
type: "wait_for";
|
|
897
897
|
selector: string;
|
|
@@ -901,8 +901,8 @@ export declare const batchSchema: z.ZodObject<{
|
|
|
901
901
|
selector: string;
|
|
902
902
|
} | {
|
|
903
903
|
type: "fill";
|
|
904
|
-
value: string;
|
|
905
904
|
selector: string;
|
|
905
|
+
value: string;
|
|
906
906
|
} | {
|
|
907
907
|
type: "press";
|
|
908
908
|
key: string;
|
|
@@ -929,9 +929,9 @@ export declare const batchSchema: z.ZodObject<{
|
|
|
929
929
|
method?: "POST" | "GET" | undefined;
|
|
930
930
|
timeout?: number | undefined;
|
|
931
931
|
wait_for?: string | undefined;
|
|
932
|
+
formats?: ("content" | "text" | "json" | "json_v2" | "html" | "markdown" | "rag" | "raw")[] | undefined;
|
|
932
933
|
body?: string | undefined;
|
|
933
934
|
content_type?: "application/json" | "application/x-www-form-urlencoded" | "text/plain" | "application/graphql" | undefined;
|
|
934
|
-
formats?: ("content" | "text" | "json" | "json_v2" | "html" | "markdown" | "rag" | "raw")[] | undefined;
|
|
935
935
|
extraction_schema?: Record<string, unknown> | undefined;
|
|
936
936
|
extraction_provider?: "openai" | "anthropic" | "openrouter" | "groq" | undefined;
|
|
937
937
|
extraction_prompt?: string | undefined;
|
|
@@ -985,8 +985,8 @@ export declare const batchSchema: z.ZodObject<{
|
|
|
985
985
|
sticky_session_ttl?: number | undefined;
|
|
986
986
|
actions?: ({
|
|
987
987
|
type: "wait";
|
|
988
|
-
milliseconds?: number | undefined;
|
|
989
988
|
selector?: string | undefined;
|
|
989
|
+
milliseconds?: number | undefined;
|
|
990
990
|
} | {
|
|
991
991
|
type: "wait_for";
|
|
992
992
|
selector: string;
|
|
@@ -996,8 +996,8 @@ export declare const batchSchema: z.ZodObject<{
|
|
|
996
996
|
selector: string;
|
|
997
997
|
} | {
|
|
998
998
|
type: "fill";
|
|
999
|
-
value: string;
|
|
1000
999
|
selector: string;
|
|
1000
|
+
value: string;
|
|
1001
1001
|
} | {
|
|
1002
1002
|
type: "press";
|
|
1003
1003
|
key: string;
|
|
@@ -1027,12 +1027,12 @@ export declare const batchSchema: z.ZodObject<{
|
|
|
1027
1027
|
format: z.ZodOptional<z.ZodEnum<["jsonl", "csv", "json"]>>;
|
|
1028
1028
|
}, "strip", z.ZodTypeAny, {
|
|
1029
1029
|
integration_id: string;
|
|
1030
|
-
prefix?: string | undefined;
|
|
1031
1030
|
format?: "json" | "jsonl" | "csv" | undefined;
|
|
1031
|
+
prefix?: string | undefined;
|
|
1032
1032
|
}, {
|
|
1033
1033
|
integration_id: string;
|
|
1034
|
-
prefix?: string | undefined;
|
|
1035
1034
|
format?: "json" | "jsonl" | "csv" | undefined;
|
|
1035
|
+
prefix?: string | undefined;
|
|
1036
1036
|
}>>;
|
|
1037
1037
|
extraction_schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1038
1038
|
extraction_prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -1045,9 +1045,9 @@ export declare const batchSchema: z.ZodObject<{
|
|
|
1045
1045
|
method?: "POST" | "GET" | undefined;
|
|
1046
1046
|
timeout?: number | undefined;
|
|
1047
1047
|
wait_for?: string | undefined;
|
|
1048
|
+
formats?: ("content" | "text" | "json" | "json_v2" | "html" | "markdown" | "rag" | "raw")[] | undefined;
|
|
1048
1049
|
body?: string | undefined;
|
|
1049
1050
|
content_type?: "application/json" | "application/x-www-form-urlencoded" | "text/plain" | "application/graphql" | undefined;
|
|
1050
|
-
formats?: ("content" | "text" | "json" | "json_v2" | "html" | "markdown" | "rag" | "raw")[] | undefined;
|
|
1051
1051
|
extraction_schema?: Record<string, unknown> | undefined;
|
|
1052
1052
|
extraction_provider?: "openai" | "anthropic" | "openrouter" | "groq" | undefined;
|
|
1053
1053
|
extraction_prompt?: string | undefined;
|
|
@@ -1101,8 +1101,8 @@ export declare const batchSchema: z.ZodObject<{
|
|
|
1101
1101
|
sticky_session_ttl?: number | undefined;
|
|
1102
1102
|
actions?: ({
|
|
1103
1103
|
type: "wait";
|
|
1104
|
-
milliseconds?: number | undefined;
|
|
1105
1104
|
selector?: string | undefined;
|
|
1105
|
+
milliseconds?: number | undefined;
|
|
1106
1106
|
} | {
|
|
1107
1107
|
type: "wait_for";
|
|
1108
1108
|
selector: string;
|
|
@@ -1112,8 +1112,8 @@ export declare const batchSchema: z.ZodObject<{
|
|
|
1112
1112
|
selector: string;
|
|
1113
1113
|
} | {
|
|
1114
1114
|
type: "fill";
|
|
1115
|
-
value: string;
|
|
1116
1115
|
selector: string;
|
|
1116
|
+
value: string;
|
|
1117
1117
|
} | {
|
|
1118
1118
|
type: "press";
|
|
1119
1119
|
key: string;
|
|
@@ -1135,16 +1135,16 @@ export declare const batchSchema: z.ZodObject<{
|
|
|
1135
1135
|
})[] | undefined;
|
|
1136
1136
|
} | undefined;
|
|
1137
1137
|
}[];
|
|
1138
|
+
webhook_url?: string | undefined;
|
|
1138
1139
|
extraction_schema?: Record<string, unknown> | undefined;
|
|
1139
1140
|
extraction_provider?: "openai" | "anthropic" | "openrouter" | "groq" | undefined;
|
|
1140
1141
|
extraction_prompt?: string | undefined;
|
|
1141
1142
|
extraction_profile?: "auto" | "product" | "article" | "job_posting" | "faq" | "recipe" | "event" | undefined;
|
|
1142
1143
|
session_id?: string | undefined;
|
|
1143
|
-
webhook_url?: string | undefined;
|
|
1144
1144
|
export?: {
|
|
1145
1145
|
integration_id: string;
|
|
1146
|
-
prefix?: string | undefined;
|
|
1147
1146
|
format?: "json" | "jsonl" | "csv" | undefined;
|
|
1147
|
+
prefix?: string | undefined;
|
|
1148
1148
|
} | undefined;
|
|
1149
1149
|
}, {
|
|
1150
1150
|
urls: {
|
|
@@ -1153,9 +1153,9 @@ export declare const batchSchema: z.ZodObject<{
|
|
|
1153
1153
|
method?: "POST" | "GET" | undefined;
|
|
1154
1154
|
timeout?: number | undefined;
|
|
1155
1155
|
wait_for?: string | undefined;
|
|
1156
|
+
formats?: ("content" | "text" | "json" | "json_v2" | "html" | "markdown" | "rag" | "raw")[] | undefined;
|
|
1156
1157
|
body?: string | undefined;
|
|
1157
1158
|
content_type?: "application/json" | "application/x-www-form-urlencoded" | "text/plain" | "application/graphql" | undefined;
|
|
1158
|
-
formats?: ("content" | "text" | "json" | "json_v2" | "html" | "markdown" | "rag" | "raw")[] | undefined;
|
|
1159
1159
|
extraction_schema?: Record<string, unknown> | undefined;
|
|
1160
1160
|
extraction_provider?: "openai" | "anthropic" | "openrouter" | "groq" | undefined;
|
|
1161
1161
|
extraction_prompt?: string | undefined;
|
|
@@ -1209,8 +1209,8 @@ export declare const batchSchema: z.ZodObject<{
|
|
|
1209
1209
|
sticky_session_ttl?: number | undefined;
|
|
1210
1210
|
actions?: ({
|
|
1211
1211
|
type: "wait";
|
|
1212
|
-
milliseconds?: number | undefined;
|
|
1213
1212
|
selector?: string | undefined;
|
|
1213
|
+
milliseconds?: number | undefined;
|
|
1214
1214
|
} | {
|
|
1215
1215
|
type: "wait_for";
|
|
1216
1216
|
selector: string;
|
|
@@ -1220,8 +1220,8 @@ export declare const batchSchema: z.ZodObject<{
|
|
|
1220
1220
|
selector: string;
|
|
1221
1221
|
} | {
|
|
1222
1222
|
type: "fill";
|
|
1223
|
-
value: string;
|
|
1224
1223
|
selector: string;
|
|
1224
|
+
value: string;
|
|
1225
1225
|
} | {
|
|
1226
1226
|
type: "press";
|
|
1227
1227
|
key: string;
|
|
@@ -1243,16 +1243,16 @@ export declare const batchSchema: z.ZodObject<{
|
|
|
1243
1243
|
})[] | undefined;
|
|
1244
1244
|
} | undefined;
|
|
1245
1245
|
}[];
|
|
1246
|
+
webhook_url?: string | undefined;
|
|
1246
1247
|
extraction_schema?: Record<string, unknown> | undefined;
|
|
1247
1248
|
extraction_provider?: "openai" | "anthropic" | "openrouter" | "groq" | undefined;
|
|
1248
1249
|
extraction_prompt?: string | undefined;
|
|
1249
1250
|
extraction_profile?: "auto" | "product" | "article" | "job_posting" | "faq" | "recipe" | "event" | undefined;
|
|
1250
1251
|
session_id?: string | undefined;
|
|
1251
|
-
webhook_url?: string | undefined;
|
|
1252
1252
|
export?: {
|
|
1253
1253
|
integration_id: string;
|
|
1254
|
-
prefix?: string | undefined;
|
|
1255
1254
|
format?: "json" | "jsonl" | "csv" | undefined;
|
|
1255
|
+
prefix?: string | undefined;
|
|
1256
1256
|
} | undefined;
|
|
1257
1257
|
}>;
|
|
1258
1258
|
export declare const batchDescription: string;
|
package/dist/tools/common.d.ts
CHANGED
|
@@ -57,12 +57,12 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
57
57
|
selector: z.ZodOptional<z.ZodString>;
|
|
58
58
|
}, "strip", z.ZodTypeAny, {
|
|
59
59
|
type: "wait";
|
|
60
|
-
milliseconds?: number | undefined;
|
|
61
60
|
selector?: string | undefined;
|
|
61
|
+
milliseconds?: number | undefined;
|
|
62
62
|
}, {
|
|
63
63
|
type: "wait";
|
|
64
|
-
milliseconds?: number | undefined;
|
|
65
64
|
selector?: string | undefined;
|
|
65
|
+
milliseconds?: number | undefined;
|
|
66
66
|
}>, z.ZodObject<{
|
|
67
67
|
type: z.ZodLiteral<"wait_for">;
|
|
68
68
|
selector: z.ZodString;
|
|
@@ -90,12 +90,12 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
90
90
|
value: z.ZodString;
|
|
91
91
|
}, "strip", z.ZodTypeAny, {
|
|
92
92
|
type: "fill";
|
|
93
|
-
value: string;
|
|
94
93
|
selector: string;
|
|
94
|
+
value: string;
|
|
95
95
|
}, {
|
|
96
96
|
type: "fill";
|
|
97
|
-
value: string;
|
|
98
97
|
selector: string;
|
|
98
|
+
value: string;
|
|
99
99
|
}>, z.ZodObject<{
|
|
100
100
|
type: z.ZodLiteral<"press">;
|
|
101
101
|
key: z.ZodString;
|
|
@@ -211,12 +211,12 @@ export declare const advancedShape: {
|
|
|
211
211
|
selector: z.ZodOptional<z.ZodString>;
|
|
212
212
|
}, "strip", z.ZodTypeAny, {
|
|
213
213
|
type: "wait";
|
|
214
|
-
milliseconds?: number | undefined;
|
|
215
214
|
selector?: string | undefined;
|
|
215
|
+
milliseconds?: number | undefined;
|
|
216
216
|
}, {
|
|
217
217
|
type: "wait";
|
|
218
|
-
milliseconds?: number | undefined;
|
|
219
218
|
selector?: string | undefined;
|
|
219
|
+
milliseconds?: number | undefined;
|
|
220
220
|
}>, z.ZodObject<{
|
|
221
221
|
type: z.ZodLiteral<"wait_for">;
|
|
222
222
|
selector: z.ZodString;
|
|
@@ -244,12 +244,12 @@ export declare const advancedShape: {
|
|
|
244
244
|
value: z.ZodString;
|
|
245
245
|
}, "strip", z.ZodTypeAny, {
|
|
246
246
|
type: "fill";
|
|
247
|
-
value: string;
|
|
248
247
|
selector: string;
|
|
248
|
+
value: string;
|
|
249
249
|
}, {
|
|
250
250
|
type: "fill";
|
|
251
|
-
value: string;
|
|
252
251
|
selector: string;
|
|
252
|
+
value: string;
|
|
253
253
|
}>, z.ZodObject<{
|
|
254
254
|
type: z.ZodLiteral<"press">;
|
|
255
255
|
key: z.ZodString;
|
package/dist/tools/crawl.d.ts
CHANGED
|
@@ -111,9 +111,10 @@ export declare const crawlSchema: z.ZodObject<{
|
|
|
111
111
|
demote_patterns?: string[] | undefined;
|
|
112
112
|
} | undefined;
|
|
113
113
|
wait_for?: string | undefined;
|
|
114
|
-
delay?: number | undefined;
|
|
115
114
|
screenshot?: boolean | undefined;
|
|
115
|
+
webhook_url?: string | undefined;
|
|
116
116
|
formats?: ("content" | "text" | "json" | "json_v2" | "html" | "markdown" | "rag")[] | undefined;
|
|
117
|
+
delay?: number | undefined;
|
|
117
118
|
extraction_schema?: Record<string, unknown> | undefined;
|
|
118
119
|
extraction_model?: string | null | undefined;
|
|
119
120
|
extraction_provider?: "openai" | "anthropic" | "openrouter" | "groq" | undefined;
|
|
@@ -141,7 +142,6 @@ export declare const crawlSchema: z.ZodObject<{
|
|
|
141
142
|
include_diff?: boolean | undefined;
|
|
142
143
|
} | undefined;
|
|
143
144
|
depth_strategy?: "eager" | "sequential" | undefined;
|
|
144
|
-
webhook_url?: string | undefined;
|
|
145
145
|
webhook?: {
|
|
146
146
|
url: string;
|
|
147
147
|
headers?: Record<string, string> | undefined;
|
|
@@ -160,9 +160,11 @@ export declare const crawlSchema: z.ZodObject<{
|
|
|
160
160
|
demote_patterns?: string[] | undefined;
|
|
161
161
|
} | undefined;
|
|
162
162
|
wait_for?: string | undefined;
|
|
163
|
-
delay?: number | undefined;
|
|
164
163
|
screenshot?: boolean | undefined;
|
|
164
|
+
webhook_url?: string | undefined;
|
|
165
165
|
formats?: ("content" | "text" | "json" | "json_v2" | "html" | "markdown" | "rag")[] | undefined;
|
|
166
|
+
max_pages?: number | undefined;
|
|
167
|
+
delay?: number | undefined;
|
|
166
168
|
extraction_schema?: Record<string, unknown> | undefined;
|
|
167
169
|
extraction_model?: string | null | undefined;
|
|
168
170
|
extraction_provider?: "openai" | "anthropic" | "openrouter" | "groq" | undefined;
|
|
@@ -178,7 +180,6 @@ export declare const crawlSchema: z.ZodObject<{
|
|
|
178
180
|
} | undefined;
|
|
179
181
|
render_js?: boolean | "auto" | undefined;
|
|
180
182
|
use_proxy?: boolean | undefined;
|
|
181
|
-
max_pages?: number | undefined;
|
|
182
183
|
max_depth?: number | undefined;
|
|
183
184
|
include_patterns?: string[] | undefined;
|
|
184
185
|
exclude_patterns?: string[] | undefined;
|
|
@@ -196,7 +197,6 @@ export declare const crawlSchema: z.ZodObject<{
|
|
|
196
197
|
include_diff?: boolean | undefined;
|
|
197
198
|
} | undefined;
|
|
198
199
|
depth_strategy?: "eager" | "sequential" | undefined;
|
|
199
|
-
webhook_url?: string | undefined;
|
|
200
200
|
webhook?: {
|
|
201
201
|
url: string;
|
|
202
202
|
headers?: Record<string, string> | undefined;
|
package/dist/tools/extract.d.ts
CHANGED
|
@@ -17,8 +17,8 @@ export declare const extractSchema: z.ZodObject<{
|
|
|
17
17
|
cache_ttl: z.ZodOptional<z.ZodNumber>;
|
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
|
19
19
|
content: string;
|
|
20
|
-
content_type: "text" | "html" | "markdown";
|
|
21
20
|
formats: ("content" | "text" | "json" | "json_v2" | "html" | "markdown" | "rag" | "raw")[];
|
|
21
|
+
content_type: "text" | "html" | "markdown";
|
|
22
22
|
evidence: boolean;
|
|
23
23
|
cache: "auto" | "skip" | "only";
|
|
24
24
|
extraction_schema?: Record<string, unknown> | undefined;
|
|
@@ -31,8 +31,8 @@ export declare const extractSchema: z.ZodObject<{
|
|
|
31
31
|
source_url?: string | undefined;
|
|
32
32
|
}, {
|
|
33
33
|
content: string;
|
|
34
|
-
content_type?: "text" | "html" | "markdown" | undefined;
|
|
35
34
|
formats?: ("content" | "text" | "json" | "json_v2" | "html" | "markdown" | "rag" | "raw")[] | undefined;
|
|
35
|
+
content_type?: "text" | "html" | "markdown" | undefined;
|
|
36
36
|
extraction_schema?: Record<string, unknown> | undefined;
|
|
37
37
|
extraction_model?: string | null | undefined;
|
|
38
38
|
extraction_provider?: "openai" | "anthropic" | "openrouter" | "groq" | undefined;
|
package/dist/tools/scrape.d.ts
CHANGED
|
@@ -82,12 +82,12 @@ export declare const scrapeSchema: z.ZodObject<{
|
|
|
82
82
|
selector: z.ZodOptional<z.ZodString>;
|
|
83
83
|
}, "strip", z.ZodTypeAny, {
|
|
84
84
|
type: "wait";
|
|
85
|
-
milliseconds?: number | undefined;
|
|
86
85
|
selector?: string | undefined;
|
|
86
|
+
milliseconds?: number | undefined;
|
|
87
87
|
}, {
|
|
88
88
|
type: "wait";
|
|
89
|
-
milliseconds?: number | undefined;
|
|
90
89
|
selector?: string | undefined;
|
|
90
|
+
milliseconds?: number | undefined;
|
|
91
91
|
}>, z.ZodObject<{
|
|
92
92
|
type: z.ZodLiteral<"wait_for">;
|
|
93
93
|
selector: z.ZodString;
|
|
@@ -115,12 +115,12 @@ export declare const scrapeSchema: z.ZodObject<{
|
|
|
115
115
|
value: z.ZodString;
|
|
116
116
|
}, "strip", z.ZodTypeAny, {
|
|
117
117
|
type: "fill";
|
|
118
|
-
value: string;
|
|
119
118
|
selector: string;
|
|
119
|
+
value: string;
|
|
120
120
|
}, {
|
|
121
121
|
type: "fill";
|
|
122
|
-
value: string;
|
|
123
122
|
selector: string;
|
|
123
|
+
value: string;
|
|
124
124
|
}>, z.ZodObject<{
|
|
125
125
|
type: z.ZodLiteral<"press">;
|
|
126
126
|
key: z.ZodString;
|
|
@@ -232,11 +232,12 @@ export declare const scrapeSchema: z.ZodObject<{
|
|
|
232
232
|
estimate_first: boolean;
|
|
233
233
|
headers?: Record<string, string> | undefined;
|
|
234
234
|
ocr?: boolean | undefined;
|
|
235
|
+
wait_for?: string | undefined;
|
|
236
|
+
screenshot?: boolean | undefined;
|
|
237
|
+
wait_until?: string | undefined;
|
|
235
238
|
prefer_cost?: boolean | undefined;
|
|
236
239
|
prefer_speed?: boolean | undefined;
|
|
237
240
|
fail_fast?: boolean | undefined;
|
|
238
|
-
wait_for?: string | undefined;
|
|
239
|
-
screenshot?: boolean | undefined;
|
|
240
241
|
body?: string | undefined;
|
|
241
242
|
content_type?: "application/json" | "application/x-www-form-urlencoded" | "text/plain" | "application/graphql" | undefined;
|
|
242
243
|
extraction_schema?: Record<string, unknown> | undefined;
|
|
@@ -253,7 +254,6 @@ export declare const scrapeSchema: z.ZodObject<{
|
|
|
253
254
|
cache_ttl?: number | undefined;
|
|
254
255
|
force_refresh?: boolean | undefined;
|
|
255
256
|
max_response_bytes?: number | undefined;
|
|
256
|
-
wait_until?: string | undefined;
|
|
257
257
|
enable_scroll?: boolean | null | undefined;
|
|
258
258
|
pdf_format?: string | undefined;
|
|
259
259
|
ocr_language?: string | undefined;
|
|
@@ -304,8 +304,8 @@ export declare const scrapeSchema: z.ZodObject<{
|
|
|
304
304
|
sticky_session_ttl?: number | undefined;
|
|
305
305
|
actions?: ({
|
|
306
306
|
type: "wait";
|
|
307
|
-
milliseconds?: number | undefined;
|
|
308
307
|
selector?: string | undefined;
|
|
308
|
+
milliseconds?: number | undefined;
|
|
309
309
|
} | {
|
|
310
310
|
type: "wait_for";
|
|
311
311
|
selector: string;
|
|
@@ -315,8 +315,8 @@ export declare const scrapeSchema: z.ZodObject<{
|
|
|
315
315
|
selector: string;
|
|
316
316
|
} | {
|
|
317
317
|
type: "fill";
|
|
318
|
-
value: string;
|
|
319
318
|
selector: string;
|
|
319
|
+
value: string;
|
|
320
320
|
} | {
|
|
321
321
|
type: "press";
|
|
322
322
|
key: string;
|
|
@@ -343,14 +343,15 @@ export declare const scrapeSchema: z.ZodObject<{
|
|
|
343
343
|
method?: "POST" | "GET" | undefined;
|
|
344
344
|
timeout?: number | undefined;
|
|
345
345
|
ocr?: boolean | undefined;
|
|
346
|
+
wait_for?: string | undefined;
|
|
347
|
+
screenshot?: boolean | undefined;
|
|
348
|
+
formats?: ("content" | "text" | "json" | "json_v2" | "html" | "markdown" | "rag" | "raw")[] | undefined;
|
|
349
|
+
wait_until?: string | undefined;
|
|
346
350
|
prefer_cost?: boolean | undefined;
|
|
347
351
|
prefer_speed?: boolean | undefined;
|
|
348
352
|
fail_fast?: boolean | undefined;
|
|
349
|
-
wait_for?: string | undefined;
|
|
350
|
-
screenshot?: boolean | undefined;
|
|
351
353
|
body?: string | undefined;
|
|
352
354
|
content_type?: "application/json" | "application/x-www-form-urlencoded" | "text/plain" | "application/graphql" | undefined;
|
|
353
|
-
formats?: ("content" | "text" | "json" | "json_v2" | "html" | "markdown" | "rag" | "raw")[] | undefined;
|
|
354
355
|
extraction_schema?: Record<string, unknown> | undefined;
|
|
355
356
|
extraction_model?: string | null | undefined;
|
|
356
357
|
extraction_provider?: "openai" | "anthropic" | "openrouter" | "groq" | undefined;
|
|
@@ -366,7 +367,6 @@ export declare const scrapeSchema: z.ZodObject<{
|
|
|
366
367
|
force_refresh?: boolean | undefined;
|
|
367
368
|
include_raw_html?: boolean | undefined;
|
|
368
369
|
max_response_bytes?: number | undefined;
|
|
369
|
-
wait_until?: string | undefined;
|
|
370
370
|
enable_scroll?: boolean | null | undefined;
|
|
371
371
|
pdf_format?: string | undefined;
|
|
372
372
|
ocr_language?: string | undefined;
|
|
@@ -418,8 +418,8 @@ export declare const scrapeSchema: z.ZodObject<{
|
|
|
418
418
|
sticky_session_ttl?: number | undefined;
|
|
419
419
|
actions?: ({
|
|
420
420
|
type: "wait";
|
|
421
|
-
milliseconds?: number | undefined;
|
|
422
421
|
selector?: string | undefined;
|
|
422
|
+
milliseconds?: number | undefined;
|
|
423
423
|
} | {
|
|
424
424
|
type: "wait_for";
|
|
425
425
|
selector: string;
|
|
@@ -429,8 +429,8 @@ export declare const scrapeSchema: z.ZodObject<{
|
|
|
429
429
|
selector: string;
|
|
430
430
|
} | {
|
|
431
431
|
type: "fill";
|
|
432
|
-
value: string;
|
|
433
432
|
selector: string;
|
|
433
|
+
value: string;
|
|
434
434
|
} | {
|
|
435
435
|
type: "press";
|
|
436
436
|
key: string;
|
|
@@ -22,7 +22,7 @@ export declare const screenshotSchema: z.ZodObject<{
|
|
|
22
22
|
}>>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
24
|
url: string;
|
|
25
|
-
wait_until: "
|
|
25
|
+
wait_until: "load" | "domcontentloaded" | "networkidle";
|
|
26
26
|
timeout?: number | undefined;
|
|
27
27
|
wait_for?: string | undefined;
|
|
28
28
|
location?: {
|
|
@@ -37,7 +37,7 @@ export declare const screenshotSchema: z.ZodObject<{
|
|
|
37
37
|
url: string;
|
|
38
38
|
timeout?: number | undefined;
|
|
39
39
|
wait_for?: string | undefined;
|
|
40
|
-
wait_until?: "
|
|
40
|
+
wait_until?: "load" | "domcontentloaded" | "networkidle" | undefined;
|
|
41
41
|
location?: {
|
|
42
42
|
country?: string | undefined;
|
|
43
43
|
language?: string | undefined;
|
package/dist/tools/search.d.ts
CHANGED
|
@@ -19,9 +19,9 @@ export declare const searchSchema: z.ZodObject<{
|
|
|
19
19
|
num_results: number;
|
|
20
20
|
page: number;
|
|
21
21
|
scrape_results: boolean;
|
|
22
|
+
formats?: ("content" | "text" | "json" | "json_v2" | "html" | "markdown" | "rag")[] | undefined;
|
|
22
23
|
country?: string | undefined;
|
|
23
24
|
language?: string | undefined;
|
|
24
|
-
formats?: ("content" | "text" | "json" | "json_v2" | "html" | "markdown" | "rag")[] | undefined;
|
|
25
25
|
extraction_schema?: Record<string, unknown> | undefined;
|
|
26
26
|
engine?: "duckduckgo" | "google" | "bing" | undefined;
|
|
27
27
|
domain?: string | undefined;
|
|
@@ -29,9 +29,9 @@ export declare const searchSchema: z.ZodObject<{
|
|
|
29
29
|
safe_search?: boolean | undefined;
|
|
30
30
|
}, {
|
|
31
31
|
query: string;
|
|
32
|
+
formats?: ("content" | "text" | "json" | "json_v2" | "html" | "markdown" | "rag")[] | undefined;
|
|
32
33
|
country?: string | undefined;
|
|
33
34
|
language?: string | undefined;
|
|
34
|
-
formats?: ("content" | "text" | "json" | "json_v2" | "html" | "markdown" | "rag")[] | undefined;
|
|
35
35
|
extraction_schema?: Record<string, unknown> | undefined;
|
|
36
36
|
engine?: "duckduckgo" | "google" | "bing" | undefined;
|
|
37
37
|
num_results?: number | undefined;
|
|
@@ -10,10 +10,10 @@ export declare const simpleBatchSchema: z.ZodObject<{
|
|
|
10
10
|
max_concurrent: z.ZodDefault<z.ZodNumber>;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
timeout: number;
|
|
13
|
+
urls: string[];
|
|
13
14
|
formats: ("content" | "text" | "json" | "json_v2" | "html" | "markdown" | "rag" | "raw")[];
|
|
14
15
|
render_js: boolean;
|
|
15
16
|
use_proxy: boolean;
|
|
16
|
-
urls: string[];
|
|
17
17
|
max_concurrent: number;
|
|
18
18
|
}, {
|
|
19
19
|
urls: string[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "alterlab-mcp-server",
|
|
3
3
|
"mcpName": "io.alterlab/mcp-server",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.11.1",
|
|
5
5
|
"description": "MCP server for web scraping, structured data extraction, and screenshots \u2014 give Claude, Cursor, Windsurf, and AI agents the ability to scrape any website with automatic anti-bot bypass",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|