seo 0.16.0 → 0.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +85 -85
- package/dist/cli.js.map +1 -1
- package/dist/{dist-Bv1JGvEz.js → dist-BZ5-V3qL.js} +1 -1
- package/dist/{dist-CHIJxr2Y.js → dist-CqzyPI3J.js} +113 -113
- package/dist/dist-CqzyPI3J.js.map +1 -0
- package/dist/{esm-CV5s7esU.js → esm-Cvmg0qhZ.js} +2 -2
- package/dist/{esm-CV5s7esU.js.map → esm-Cvmg0qhZ.js.map} +1 -1
- package/dist/index.d.ts +60 -46
- package/dist/index.js +1009 -732
- package/dist/index.js.map +1 -1
- package/dist/mcp.js +588 -317
- package/dist/mcp.js.map +1 -1
- package/package.json +1 -1
- package/dist/dist-CHIJxr2Y.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -2831,7 +2831,7 @@ export declare function fetchSitemapUrls(input: {
|
|
|
2831
2831
|
limit?: number;
|
|
2832
2832
|
maxNested?: number;
|
|
2833
2833
|
}): Promise<SitemapFetchResult>;
|
|
2834
|
-
export declare const CRAWL_SKIP_REASONS: readonly ["asset-url", "configured-exclusion", "duplicate-normalization", "invalid-url", "memory-pressure", "off-origin", "origin-backpressure", "queue-safety-limit", "query-variant-limit", "robots-disallowed", "robots-uncertain", "legacy-unclassified"];
|
|
2834
|
+
export declare const CRAWL_SKIP_REASONS: readonly ["asset-url", "cdn-utility-url", "configured-exclusion", "duplicate-normalization", "invalid-url", "memory-pressure", "off-origin", "origin-backpressure", "queue-safety-limit", "query-variant-limit", "robots-disallowed", "robots-uncertain", "legacy-unclassified"];
|
|
2835
2835
|
export type CrawlSkipReason = (typeof CRAWL_SKIP_REASONS)[number];
|
|
2836
2836
|
export type CrawlSkipImpact = 'coverage-affecting' | 'non-impacting';
|
|
2837
2837
|
export type CrawlSkipReasonCount = {
|
|
@@ -3267,6 +3267,8 @@ export declare function reviewObservations(report: CrawlReport, filters?: Omit<T
|
|
|
3267
3267
|
export type CrawlOutputFormat = 'pretty' | 'json' | 'csv' | 'html' | 'markdown' | 'junit';
|
|
3268
3268
|
export declare function renderCrawlCsv(report: CrawlReport): string;
|
|
3269
3269
|
export declare function renderCrawlPagesCsv(report: CrawlReport): string;
|
|
3270
|
+
/** The caveat a report must lead with when the crawl read too little. */
|
|
3271
|
+
export declare function crawlCoverageCaveat(report: CrawlReport): string | undefined;
|
|
3270
3272
|
export declare function renderCrawlPretty(report: CrawlReport, fixes?: TopFix[]): string;
|
|
3271
3273
|
export declare function renderCrawlJunit(report: CrawlReport): string;
|
|
3272
3274
|
export declare function renderCrawlHtml(report: CrawlReport, fixes?: TopFix[]): string;
|
|
@@ -3682,10 +3684,10 @@ export declare const crawlPageSnapshotSchema: z.ZodObject<{
|
|
|
3682
3684
|
raw: z.ZodString;
|
|
3683
3685
|
resolved: z.ZodOptional<z.ZodString>;
|
|
3684
3686
|
ignoredReason: z.ZodOptional<z.ZodEnum<{
|
|
3687
|
+
"invalid-url": "invalid-url";
|
|
3685
3688
|
"outside-head": "outside-head";
|
|
3686
3689
|
"alternate-qualifier": "alternate-qualifier";
|
|
3687
3690
|
fragment: "fragment";
|
|
3688
|
-
"invalid-url": "invalid-url";
|
|
3689
3691
|
"non-http-url": "non-http-url";
|
|
3690
3692
|
}>>;
|
|
3691
3693
|
streamedMetadata: z.ZodOptional<z.ZodLiteral<true>>;
|
|
@@ -4319,16 +4321,17 @@ export declare const crawlReportSummarySchema: z.ZodObject<{
|
|
|
4319
4321
|
skippedUrls: z.ZodNumber;
|
|
4320
4322
|
skipReasons: z.ZodArray<z.ZodObject<{
|
|
4321
4323
|
reason: z.ZodEnum<{
|
|
4322
|
-
"invalid-url": "invalid-url";
|
|
4323
|
-
"robots-disallowed": "robots-disallowed";
|
|
4324
|
-
"origin-backpressure": "origin-backpressure";
|
|
4325
4324
|
"asset-url": "asset-url";
|
|
4325
|
+
"cdn-utility-url": "cdn-utility-url";
|
|
4326
4326
|
"configured-exclusion": "configured-exclusion";
|
|
4327
4327
|
"duplicate-normalization": "duplicate-normalization";
|
|
4328
|
+
"invalid-url": "invalid-url";
|
|
4328
4329
|
"memory-pressure": "memory-pressure";
|
|
4329
4330
|
"off-origin": "off-origin";
|
|
4331
|
+
"origin-backpressure": "origin-backpressure";
|
|
4330
4332
|
"queue-safety-limit": "queue-safety-limit";
|
|
4331
4333
|
"query-variant-limit": "query-variant-limit";
|
|
4334
|
+
"robots-disallowed": "robots-disallowed";
|
|
4332
4335
|
"robots-uncertain": "robots-uncertain";
|
|
4333
4336
|
"legacy-unclassified": "legacy-unclassified";
|
|
4334
4337
|
}>;
|
|
@@ -4486,16 +4489,17 @@ export declare const crawlReportSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4486
4489
|
skippedUrls: z.ZodNumber;
|
|
4487
4490
|
skipReasons: z.ZodArray<z.ZodObject<{
|
|
4488
4491
|
reason: z.ZodEnum<{
|
|
4489
|
-
"invalid-url": "invalid-url";
|
|
4490
|
-
"robots-disallowed": "robots-disallowed";
|
|
4491
|
-
"origin-backpressure": "origin-backpressure";
|
|
4492
4492
|
"asset-url": "asset-url";
|
|
4493
|
+
"cdn-utility-url": "cdn-utility-url";
|
|
4493
4494
|
"configured-exclusion": "configured-exclusion";
|
|
4494
4495
|
"duplicate-normalization": "duplicate-normalization";
|
|
4496
|
+
"invalid-url": "invalid-url";
|
|
4495
4497
|
"memory-pressure": "memory-pressure";
|
|
4496
4498
|
"off-origin": "off-origin";
|
|
4499
|
+
"origin-backpressure": "origin-backpressure";
|
|
4497
4500
|
"queue-safety-limit": "queue-safety-limit";
|
|
4498
4501
|
"query-variant-limit": "query-variant-limit";
|
|
4502
|
+
"robots-disallowed": "robots-disallowed";
|
|
4499
4503
|
"robots-uncertain": "robots-uncertain";
|
|
4500
4504
|
"legacy-unclassified": "legacy-unclassified";
|
|
4501
4505
|
}>;
|
|
@@ -4868,10 +4872,10 @@ export declare const crawlReportSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4868
4872
|
raw: z.ZodString;
|
|
4869
4873
|
resolved: z.ZodOptional<z.ZodString>;
|
|
4870
4874
|
ignoredReason: z.ZodOptional<z.ZodEnum<{
|
|
4875
|
+
"invalid-url": "invalid-url";
|
|
4871
4876
|
"outside-head": "outside-head";
|
|
4872
4877
|
"alternate-qualifier": "alternate-qualifier";
|
|
4873
4878
|
fragment: "fragment";
|
|
4874
|
-
"invalid-url": "invalid-url";
|
|
4875
4879
|
"non-http-url": "non-http-url";
|
|
4876
4880
|
}>>;
|
|
4877
4881
|
streamedMetadata: z.ZodOptional<z.ZodLiteral<true>>;
|
|
@@ -5803,16 +5807,17 @@ export declare const crawlReportSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5803
5807
|
skippedUrls: z.ZodNumber;
|
|
5804
5808
|
skipReasons: z.ZodArray<z.ZodObject<{
|
|
5805
5809
|
reason: z.ZodEnum<{
|
|
5806
|
-
"invalid-url": "invalid-url";
|
|
5807
|
-
"robots-disallowed": "robots-disallowed";
|
|
5808
|
-
"origin-backpressure": "origin-backpressure";
|
|
5809
5810
|
"asset-url": "asset-url";
|
|
5811
|
+
"cdn-utility-url": "cdn-utility-url";
|
|
5810
5812
|
"configured-exclusion": "configured-exclusion";
|
|
5811
5813
|
"duplicate-normalization": "duplicate-normalization";
|
|
5814
|
+
"invalid-url": "invalid-url";
|
|
5812
5815
|
"memory-pressure": "memory-pressure";
|
|
5813
5816
|
"off-origin": "off-origin";
|
|
5817
|
+
"origin-backpressure": "origin-backpressure";
|
|
5814
5818
|
"queue-safety-limit": "queue-safety-limit";
|
|
5815
5819
|
"query-variant-limit": "query-variant-limit";
|
|
5820
|
+
"robots-disallowed": "robots-disallowed";
|
|
5816
5821
|
"robots-uncertain": "robots-uncertain";
|
|
5817
5822
|
"legacy-unclassified": "legacy-unclassified";
|
|
5818
5823
|
}>;
|
|
@@ -6185,10 +6190,10 @@ export declare const crawlReportSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6185
6190
|
raw: z.ZodString;
|
|
6186
6191
|
resolved: z.ZodOptional<z.ZodString>;
|
|
6187
6192
|
ignoredReason: z.ZodOptional<z.ZodEnum<{
|
|
6193
|
+
"invalid-url": "invalid-url";
|
|
6188
6194
|
"outside-head": "outside-head";
|
|
6189
6195
|
"alternate-qualifier": "alternate-qualifier";
|
|
6190
6196
|
fragment: "fragment";
|
|
6191
|
-
"invalid-url": "invalid-url";
|
|
6192
6197
|
"non-http-url": "non-http-url";
|
|
6193
6198
|
}>>;
|
|
6194
6199
|
streamedMetadata: z.ZodOptional<z.ZodLiteral<true>>;
|
|
@@ -7120,16 +7125,17 @@ export declare const crawlReportSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7120
7125
|
skippedUrls: z.ZodNumber;
|
|
7121
7126
|
skipReasons: z.ZodArray<z.ZodObject<{
|
|
7122
7127
|
reason: z.ZodEnum<{
|
|
7123
|
-
"invalid-url": "invalid-url";
|
|
7124
|
-
"robots-disallowed": "robots-disallowed";
|
|
7125
|
-
"origin-backpressure": "origin-backpressure";
|
|
7126
7128
|
"asset-url": "asset-url";
|
|
7129
|
+
"cdn-utility-url": "cdn-utility-url";
|
|
7127
7130
|
"configured-exclusion": "configured-exclusion";
|
|
7128
7131
|
"duplicate-normalization": "duplicate-normalization";
|
|
7132
|
+
"invalid-url": "invalid-url";
|
|
7129
7133
|
"memory-pressure": "memory-pressure";
|
|
7130
7134
|
"off-origin": "off-origin";
|
|
7135
|
+
"origin-backpressure": "origin-backpressure";
|
|
7131
7136
|
"queue-safety-limit": "queue-safety-limit";
|
|
7132
7137
|
"query-variant-limit": "query-variant-limit";
|
|
7138
|
+
"robots-disallowed": "robots-disallowed";
|
|
7133
7139
|
"robots-uncertain": "robots-uncertain";
|
|
7134
7140
|
"legacy-unclassified": "legacy-unclassified";
|
|
7135
7141
|
}>;
|
|
@@ -7502,10 +7508,10 @@ export declare const crawlReportSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7502
7508
|
raw: z.ZodString;
|
|
7503
7509
|
resolved: z.ZodOptional<z.ZodString>;
|
|
7504
7510
|
ignoredReason: z.ZodOptional<z.ZodEnum<{
|
|
7511
|
+
"invalid-url": "invalid-url";
|
|
7505
7512
|
"outside-head": "outside-head";
|
|
7506
7513
|
"alternate-qualifier": "alternate-qualifier";
|
|
7507
7514
|
fragment: "fragment";
|
|
7508
|
-
"invalid-url": "invalid-url";
|
|
7509
7515
|
"non-http-url": "non-http-url";
|
|
7510
7516
|
}>>;
|
|
7511
7517
|
streamedMetadata: z.ZodOptional<z.ZodLiteral<true>>;
|
|
@@ -8439,16 +8445,17 @@ export declare const crawlerSchemas: {
|
|
|
8439
8445
|
skippedUrls: z.ZodNumber;
|
|
8440
8446
|
skipReasons: z.ZodArray<z.ZodObject<{
|
|
8441
8447
|
reason: z.ZodEnum<{
|
|
8442
|
-
"invalid-url": "invalid-url";
|
|
8443
|
-
"robots-disallowed": "robots-disallowed";
|
|
8444
|
-
"origin-backpressure": "origin-backpressure";
|
|
8445
8448
|
"asset-url": "asset-url";
|
|
8449
|
+
"cdn-utility-url": "cdn-utility-url";
|
|
8446
8450
|
"configured-exclusion": "configured-exclusion";
|
|
8447
8451
|
"duplicate-normalization": "duplicate-normalization";
|
|
8452
|
+
"invalid-url": "invalid-url";
|
|
8448
8453
|
"memory-pressure": "memory-pressure";
|
|
8449
8454
|
"off-origin": "off-origin";
|
|
8455
|
+
"origin-backpressure": "origin-backpressure";
|
|
8450
8456
|
"queue-safety-limit": "queue-safety-limit";
|
|
8451
8457
|
"query-variant-limit": "query-variant-limit";
|
|
8458
|
+
"robots-disallowed": "robots-disallowed";
|
|
8452
8459
|
"robots-uncertain": "robots-uncertain";
|
|
8453
8460
|
"legacy-unclassified": "legacy-unclassified";
|
|
8454
8461
|
}>;
|
|
@@ -8821,10 +8828,10 @@ export declare const crawlerSchemas: {
|
|
|
8821
8828
|
raw: z.ZodString;
|
|
8822
8829
|
resolved: z.ZodOptional<z.ZodString>;
|
|
8823
8830
|
ignoredReason: z.ZodOptional<z.ZodEnum<{
|
|
8831
|
+
"invalid-url": "invalid-url";
|
|
8824
8832
|
"outside-head": "outside-head";
|
|
8825
8833
|
"alternate-qualifier": "alternate-qualifier";
|
|
8826
8834
|
fragment: "fragment";
|
|
8827
|
-
"invalid-url": "invalid-url";
|
|
8828
8835
|
"non-http-url": "non-http-url";
|
|
8829
8836
|
}>>;
|
|
8830
8837
|
streamedMetadata: z.ZodOptional<z.ZodLiteral<true>>;
|
|
@@ -9756,16 +9763,17 @@ export declare const crawlerSchemas: {
|
|
|
9756
9763
|
skippedUrls: z.ZodNumber;
|
|
9757
9764
|
skipReasons: z.ZodArray<z.ZodObject<{
|
|
9758
9765
|
reason: z.ZodEnum<{
|
|
9759
|
-
"invalid-url": "invalid-url";
|
|
9760
|
-
"robots-disallowed": "robots-disallowed";
|
|
9761
|
-
"origin-backpressure": "origin-backpressure";
|
|
9762
9766
|
"asset-url": "asset-url";
|
|
9767
|
+
"cdn-utility-url": "cdn-utility-url";
|
|
9763
9768
|
"configured-exclusion": "configured-exclusion";
|
|
9764
9769
|
"duplicate-normalization": "duplicate-normalization";
|
|
9770
|
+
"invalid-url": "invalid-url";
|
|
9765
9771
|
"memory-pressure": "memory-pressure";
|
|
9766
9772
|
"off-origin": "off-origin";
|
|
9773
|
+
"origin-backpressure": "origin-backpressure";
|
|
9767
9774
|
"queue-safety-limit": "queue-safety-limit";
|
|
9768
9775
|
"query-variant-limit": "query-variant-limit";
|
|
9776
|
+
"robots-disallowed": "robots-disallowed";
|
|
9769
9777
|
"robots-uncertain": "robots-uncertain";
|
|
9770
9778
|
"legacy-unclassified": "legacy-unclassified";
|
|
9771
9779
|
}>;
|
|
@@ -10138,10 +10146,10 @@ export declare const crawlerSchemas: {
|
|
|
10138
10146
|
raw: z.ZodString;
|
|
10139
10147
|
resolved: z.ZodOptional<z.ZodString>;
|
|
10140
10148
|
ignoredReason: z.ZodOptional<z.ZodEnum<{
|
|
10149
|
+
"invalid-url": "invalid-url";
|
|
10141
10150
|
"outside-head": "outside-head";
|
|
10142
10151
|
"alternate-qualifier": "alternate-qualifier";
|
|
10143
10152
|
fragment: "fragment";
|
|
10144
|
-
"invalid-url": "invalid-url";
|
|
10145
10153
|
"non-http-url": "non-http-url";
|
|
10146
10154
|
}>>;
|
|
10147
10155
|
streamedMetadata: z.ZodOptional<z.ZodLiteral<true>>;
|
|
@@ -11073,16 +11081,17 @@ export declare const crawlerSchemas: {
|
|
|
11073
11081
|
skippedUrls: z.ZodNumber;
|
|
11074
11082
|
skipReasons: z.ZodArray<z.ZodObject<{
|
|
11075
11083
|
reason: z.ZodEnum<{
|
|
11076
|
-
"invalid-url": "invalid-url";
|
|
11077
|
-
"robots-disallowed": "robots-disallowed";
|
|
11078
|
-
"origin-backpressure": "origin-backpressure";
|
|
11079
11084
|
"asset-url": "asset-url";
|
|
11085
|
+
"cdn-utility-url": "cdn-utility-url";
|
|
11080
11086
|
"configured-exclusion": "configured-exclusion";
|
|
11081
11087
|
"duplicate-normalization": "duplicate-normalization";
|
|
11088
|
+
"invalid-url": "invalid-url";
|
|
11082
11089
|
"memory-pressure": "memory-pressure";
|
|
11083
11090
|
"off-origin": "off-origin";
|
|
11091
|
+
"origin-backpressure": "origin-backpressure";
|
|
11084
11092
|
"queue-safety-limit": "queue-safety-limit";
|
|
11085
11093
|
"query-variant-limit": "query-variant-limit";
|
|
11094
|
+
"robots-disallowed": "robots-disallowed";
|
|
11086
11095
|
"robots-uncertain": "robots-uncertain";
|
|
11087
11096
|
"legacy-unclassified": "legacy-unclassified";
|
|
11088
11097
|
}>;
|
|
@@ -11455,10 +11464,10 @@ export declare const crawlerSchemas: {
|
|
|
11455
11464
|
raw: z.ZodString;
|
|
11456
11465
|
resolved: z.ZodOptional<z.ZodString>;
|
|
11457
11466
|
ignoredReason: z.ZodOptional<z.ZodEnum<{
|
|
11467
|
+
"invalid-url": "invalid-url";
|
|
11458
11468
|
"outside-head": "outside-head";
|
|
11459
11469
|
"alternate-qualifier": "alternate-qualifier";
|
|
11460
11470
|
fragment: "fragment";
|
|
11461
|
-
"invalid-url": "invalid-url";
|
|
11462
11471
|
"non-http-url": "non-http-url";
|
|
11463
11472
|
}>>;
|
|
11464
11473
|
streamedMetadata: z.ZodOptional<z.ZodLiteral<true>>;
|
|
@@ -12895,10 +12904,10 @@ export declare const crawlerSchemas: {
|
|
|
12895
12904
|
raw: z.ZodString;
|
|
12896
12905
|
resolved: z.ZodOptional<z.ZodString>;
|
|
12897
12906
|
ignoredReason: z.ZodOptional<z.ZodEnum<{
|
|
12907
|
+
"invalid-url": "invalid-url";
|
|
12898
12908
|
"outside-head": "outside-head";
|
|
12899
12909
|
"alternate-qualifier": "alternate-qualifier";
|
|
12900
12910
|
fragment: "fragment";
|
|
12901
|
-
"invalid-url": "invalid-url";
|
|
12902
12911
|
"non-http-url": "non-http-url";
|
|
12903
12912
|
}>>;
|
|
12904
12913
|
streamedMetadata: z.ZodOptional<z.ZodLiteral<true>>;
|
|
@@ -13319,16 +13328,17 @@ export declare const crawlerJsonSchemas: {
|
|
|
13319
13328
|
skippedUrls: z.ZodNumber;
|
|
13320
13329
|
skipReasons: z.ZodArray<z.ZodObject<{
|
|
13321
13330
|
reason: z.ZodEnum<{
|
|
13322
|
-
"invalid-url": "invalid-url";
|
|
13323
|
-
"robots-disallowed": "robots-disallowed";
|
|
13324
|
-
"origin-backpressure": "origin-backpressure";
|
|
13325
13331
|
"asset-url": "asset-url";
|
|
13332
|
+
"cdn-utility-url": "cdn-utility-url";
|
|
13326
13333
|
"configured-exclusion": "configured-exclusion";
|
|
13327
13334
|
"duplicate-normalization": "duplicate-normalization";
|
|
13335
|
+
"invalid-url": "invalid-url";
|
|
13328
13336
|
"memory-pressure": "memory-pressure";
|
|
13329
13337
|
"off-origin": "off-origin";
|
|
13338
|
+
"origin-backpressure": "origin-backpressure";
|
|
13330
13339
|
"queue-safety-limit": "queue-safety-limit";
|
|
13331
13340
|
"query-variant-limit": "query-variant-limit";
|
|
13341
|
+
"robots-disallowed": "robots-disallowed";
|
|
13332
13342
|
"robots-uncertain": "robots-uncertain";
|
|
13333
13343
|
"legacy-unclassified": "legacy-unclassified";
|
|
13334
13344
|
}>;
|
|
@@ -13701,10 +13711,10 @@ export declare const crawlerJsonSchemas: {
|
|
|
13701
13711
|
raw: z.ZodString;
|
|
13702
13712
|
resolved: z.ZodOptional<z.ZodString>;
|
|
13703
13713
|
ignoredReason: z.ZodOptional<z.ZodEnum<{
|
|
13714
|
+
"invalid-url": "invalid-url";
|
|
13704
13715
|
"outside-head": "outside-head";
|
|
13705
13716
|
"alternate-qualifier": "alternate-qualifier";
|
|
13706
13717
|
fragment: "fragment";
|
|
13707
|
-
"invalid-url": "invalid-url";
|
|
13708
13718
|
"non-http-url": "non-http-url";
|
|
13709
13719
|
}>>;
|
|
13710
13720
|
streamedMetadata: z.ZodOptional<z.ZodLiteral<true>>;
|
|
@@ -14636,16 +14646,17 @@ export declare const crawlerJsonSchemas: {
|
|
|
14636
14646
|
skippedUrls: z.ZodNumber;
|
|
14637
14647
|
skipReasons: z.ZodArray<z.ZodObject<{
|
|
14638
14648
|
reason: z.ZodEnum<{
|
|
14639
|
-
"invalid-url": "invalid-url";
|
|
14640
|
-
"robots-disallowed": "robots-disallowed";
|
|
14641
|
-
"origin-backpressure": "origin-backpressure";
|
|
14642
14649
|
"asset-url": "asset-url";
|
|
14650
|
+
"cdn-utility-url": "cdn-utility-url";
|
|
14643
14651
|
"configured-exclusion": "configured-exclusion";
|
|
14644
14652
|
"duplicate-normalization": "duplicate-normalization";
|
|
14653
|
+
"invalid-url": "invalid-url";
|
|
14645
14654
|
"memory-pressure": "memory-pressure";
|
|
14646
14655
|
"off-origin": "off-origin";
|
|
14656
|
+
"origin-backpressure": "origin-backpressure";
|
|
14647
14657
|
"queue-safety-limit": "queue-safety-limit";
|
|
14648
14658
|
"query-variant-limit": "query-variant-limit";
|
|
14659
|
+
"robots-disallowed": "robots-disallowed";
|
|
14649
14660
|
"robots-uncertain": "robots-uncertain";
|
|
14650
14661
|
"legacy-unclassified": "legacy-unclassified";
|
|
14651
14662
|
}>;
|
|
@@ -15018,10 +15029,10 @@ export declare const crawlerJsonSchemas: {
|
|
|
15018
15029
|
raw: z.ZodString;
|
|
15019
15030
|
resolved: z.ZodOptional<z.ZodString>;
|
|
15020
15031
|
ignoredReason: z.ZodOptional<z.ZodEnum<{
|
|
15032
|
+
"invalid-url": "invalid-url";
|
|
15021
15033
|
"outside-head": "outside-head";
|
|
15022
15034
|
"alternate-qualifier": "alternate-qualifier";
|
|
15023
15035
|
fragment: "fragment";
|
|
15024
|
-
"invalid-url": "invalid-url";
|
|
15025
15036
|
"non-http-url": "non-http-url";
|
|
15026
15037
|
}>>;
|
|
15027
15038
|
streamedMetadata: z.ZodOptional<z.ZodLiteral<true>>;
|
|
@@ -15953,16 +15964,17 @@ export declare const crawlerJsonSchemas: {
|
|
|
15953
15964
|
skippedUrls: z.ZodNumber;
|
|
15954
15965
|
skipReasons: z.ZodArray<z.ZodObject<{
|
|
15955
15966
|
reason: z.ZodEnum<{
|
|
15956
|
-
"invalid-url": "invalid-url";
|
|
15957
|
-
"robots-disallowed": "robots-disallowed";
|
|
15958
|
-
"origin-backpressure": "origin-backpressure";
|
|
15959
15967
|
"asset-url": "asset-url";
|
|
15968
|
+
"cdn-utility-url": "cdn-utility-url";
|
|
15960
15969
|
"configured-exclusion": "configured-exclusion";
|
|
15961
15970
|
"duplicate-normalization": "duplicate-normalization";
|
|
15971
|
+
"invalid-url": "invalid-url";
|
|
15962
15972
|
"memory-pressure": "memory-pressure";
|
|
15963
15973
|
"off-origin": "off-origin";
|
|
15974
|
+
"origin-backpressure": "origin-backpressure";
|
|
15964
15975
|
"queue-safety-limit": "queue-safety-limit";
|
|
15965
15976
|
"query-variant-limit": "query-variant-limit";
|
|
15977
|
+
"robots-disallowed": "robots-disallowed";
|
|
15966
15978
|
"robots-uncertain": "robots-uncertain";
|
|
15967
15979
|
"legacy-unclassified": "legacy-unclassified";
|
|
15968
15980
|
}>;
|
|
@@ -16335,10 +16347,10 @@ export declare const crawlerJsonSchemas: {
|
|
|
16335
16347
|
raw: z.ZodString;
|
|
16336
16348
|
resolved: z.ZodOptional<z.ZodString>;
|
|
16337
16349
|
ignoredReason: z.ZodOptional<z.ZodEnum<{
|
|
16350
|
+
"invalid-url": "invalid-url";
|
|
16338
16351
|
"outside-head": "outside-head";
|
|
16339
16352
|
"alternate-qualifier": "alternate-qualifier";
|
|
16340
16353
|
fragment: "fragment";
|
|
16341
|
-
"invalid-url": "invalid-url";
|
|
16342
16354
|
"non-http-url": "non-http-url";
|
|
16343
16355
|
}>>;
|
|
16344
16356
|
streamedMetadata: z.ZodOptional<z.ZodLiteral<true>>;
|
|
@@ -17775,10 +17787,10 @@ export declare const crawlerJsonSchemas: {
|
|
|
17775
17787
|
raw: z.ZodString;
|
|
17776
17788
|
resolved: z.ZodOptional<z.ZodString>;
|
|
17777
17789
|
ignoredReason: z.ZodOptional<z.ZodEnum<{
|
|
17790
|
+
"invalid-url": "invalid-url";
|
|
17778
17791
|
"outside-head": "outside-head";
|
|
17779
17792
|
"alternate-qualifier": "alternate-qualifier";
|
|
17780
17793
|
fragment: "fragment";
|
|
17781
|
-
"invalid-url": "invalid-url";
|
|
17782
17794
|
"non-http-url": "non-http-url";
|
|
17783
17795
|
}>>;
|
|
17784
17796
|
streamedMetadata: z.ZodOptional<z.ZodLiteral<true>>;
|
|
@@ -18091,12 +18103,12 @@ export declare const providerPackageNameSchema: z.ZodString;
|
|
|
18091
18103
|
export declare const providerExactVersionSchema: z.ZodString;
|
|
18092
18104
|
export declare const providerIntegritySchema: z.ZodString;
|
|
18093
18105
|
export declare const providerKindSchema: z.ZodEnum<{
|
|
18094
|
-
"local-search": "local-search";
|
|
18095
18106
|
"traffic-analytics": "traffic-analytics";
|
|
18096
18107
|
"search-results": "search-results";
|
|
18097
18108
|
"keyword-data": "keyword-data";
|
|
18098
18109
|
"domain-data": "domain-data";
|
|
18099
18110
|
"link-data": "link-data";
|
|
18111
|
+
"local-search": "local-search";
|
|
18100
18112
|
"ai-data": "ai-data";
|
|
18101
18113
|
other: "other";
|
|
18102
18114
|
}>;
|
|
@@ -18139,12 +18151,12 @@ export declare const providerRegistrationSchema: z.ZodObject<{
|
|
|
18139
18151
|
displayName: z.ZodString;
|
|
18140
18152
|
description: z.ZodString;
|
|
18141
18153
|
kinds: z.ZodArray<z.ZodEnum<{
|
|
18142
|
-
"local-search": "local-search";
|
|
18143
18154
|
"traffic-analytics": "traffic-analytics";
|
|
18144
18155
|
"search-results": "search-results";
|
|
18145
18156
|
"keyword-data": "keyword-data";
|
|
18146
18157
|
"domain-data": "domain-data";
|
|
18147
18158
|
"link-data": "link-data";
|
|
18159
|
+
"local-search": "local-search";
|
|
18148
18160
|
"ai-data": "ai-data";
|
|
18149
18161
|
other: "other";
|
|
18150
18162
|
}>>;
|
|
@@ -18209,6 +18221,7 @@ export declare const providerIdSchema: z.ZodString;
|
|
|
18209
18221
|
export type ProviderId = z.infer<typeof providerIdSchema>;
|
|
18210
18222
|
export type ExternalServiceId = string;
|
|
18211
18223
|
export declare const providerCapabilitySchema: z.ZodEnum<{
|
|
18224
|
+
"local-search": "local-search";
|
|
18212
18225
|
"keyword-metrics": "keyword-metrics";
|
|
18213
18226
|
"keyword-discovery": "keyword-discovery";
|
|
18214
18227
|
"serp-snapshot": "serp-snapshot";
|
|
@@ -18220,7 +18233,6 @@ export declare const providerCapabilitySchema: z.ZodEnum<{
|
|
|
18220
18233
|
"referring-domains": "referring-domains";
|
|
18221
18234
|
backlinks: "backlinks";
|
|
18222
18235
|
"domain-rating": "domain-rating";
|
|
18223
|
-
"local-search": "local-search";
|
|
18224
18236
|
"ai-mentions": "ai-mentions";
|
|
18225
18237
|
"ai-prompt-observation": "ai-prompt-observation";
|
|
18226
18238
|
}>;
|
|
@@ -18373,6 +18385,8 @@ type ResolvedCrawlSiteDependencies = {
|
|
|
18373
18385
|
fetchLandingPageValues: typeof fetchLandingPageValues;
|
|
18374
18386
|
landingValueForUrl: typeof landingValueForUrl;
|
|
18375
18387
|
now: () => Date;
|
|
18388
|
+
/** Waits out a rate-limit cool-down. Tests inject a zero delay. */
|
|
18389
|
+
sleep: (ms: number, signal?: AbortSignal) => Promise<void>;
|
|
18376
18390
|
memoryUsage: () => Pick<NodeJS.MemoryUsage, 'rss' | 'heapUsed' | 'external'>;
|
|
18377
18391
|
totalMemory: () => number;
|
|
18378
18392
|
};
|