@automatelab/ai-seo-mcp 1.0.0 → 1.0.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/README.md +5 -1
- package/dist/index.js +104 -102
- package/dist/index.js.map +1 -1
- package/dist/lib/crawlers.json +1 -1
- package/dist/lib/robots.d.ts.map +1 -1
- package/dist/lib/robots.js +3 -1
- package/dist/lib/robots.js.map +1 -1
- package/dist/output-schemas.d.ts +283 -80
- package/dist/output-schemas.d.ts.map +1 -1
- package/dist/output-schemas.js +61 -84
- package/dist/output-schemas.js.map +1 -1
- package/dist/tools/check-robots.d.ts.map +1 -1
- package/dist/tools/check-robots.js +11 -22
- package/dist/tools/check-robots.js.map +1 -1
- package/package.json +74 -74
- package/smithery.yaml +13 -13
- package/src/lib/crawlers.json +1 -1
package/dist/output-schemas.d.ts
CHANGED
|
@@ -291,21 +291,23 @@ export declare const checkRobotsOutputShape: {
|
|
|
291
291
|
readonly recommended_posture: z.ZodEnum<["block_training_allow_search", "allow_all", "block_all", "custom"]>;
|
|
292
292
|
};
|
|
293
293
|
export declare const checkSitemapOutputShape: {
|
|
294
|
-
readonly
|
|
295
|
-
readonly fetched_at: z.ZodString;
|
|
294
|
+
readonly sitemap_url: z.ZodUnion<[z.ZodNull, z.ZodString]>;
|
|
296
295
|
readonly status: z.ZodEnum<["found", "missing", "error"]>;
|
|
297
|
-
readonly sitemap_url: z.ZodNullable<z.ZodString>;
|
|
298
296
|
readonly total_urls: z.ZodNumber;
|
|
299
297
|
readonly urls_with_lastmod: z.ZodNumber;
|
|
298
|
+
readonly stale_urls: z.ZodNumber;
|
|
299
|
+
readonly has_image_sitemap: z.ZodBoolean;
|
|
300
|
+
readonly has_video_sitemap: z.ZodBoolean;
|
|
301
|
+
readonly sitemap_index: z.ZodBoolean;
|
|
300
302
|
readonly findings: z.ZodArray<z.ZodObject<{
|
|
301
303
|
severity: z.ZodEnum<["critical", "warning", "info"]>;
|
|
302
304
|
category: z.ZodEnum<["schema", "robots", "technical", "freshness", "structure", "authority", "presence", "sitemap", "llms_txt", "citation", "evidence", "trust", "entity", "content"]>;
|
|
303
305
|
where: z.ZodString;
|
|
304
306
|
message: z.ZodString;
|
|
305
307
|
fix: z.ZodString;
|
|
306
|
-
estimated_impact: z.ZodOptional<z.
|
|
307
|
-
failure_signal: z.ZodOptional<z.ZodString
|
|
308
|
-
leading_indicator: z.ZodOptional<z.ZodString
|
|
308
|
+
estimated_impact: z.ZodOptional<z.ZodUnion<[z.ZodUndefined, z.ZodLiteral<"high">, z.ZodLiteral<"medium">, z.ZodLiteral<"low">]>>;
|
|
309
|
+
failure_signal: z.ZodOptional<z.ZodUnion<[z.ZodUndefined, z.ZodString]>>;
|
|
310
|
+
leading_indicator: z.ZodOptional<z.ZodUnion<[z.ZodUndefined, z.ZodString]>>;
|
|
309
311
|
}, "strip", z.ZodTypeAny, {
|
|
310
312
|
message: string;
|
|
311
313
|
where: string;
|
|
@@ -328,22 +330,116 @@ export declare const checkSitemapOutputShape: {
|
|
|
328
330
|
};
|
|
329
331
|
export declare const checkTechnicalOutputShape: {
|
|
330
332
|
readonly url: z.ZodString;
|
|
331
|
-
readonly fetched_at: z.ZodString;
|
|
332
333
|
readonly https: z.ZodBoolean;
|
|
333
|
-
readonly canonical: z.
|
|
334
|
-
|
|
334
|
+
readonly canonical: z.ZodObject<{
|
|
335
|
+
present: z.ZodBoolean;
|
|
336
|
+
value: z.ZodUnion<[z.ZodNull, z.ZodString]>;
|
|
337
|
+
self_referential: z.ZodBoolean;
|
|
338
|
+
cross_domain: z.ZodBoolean;
|
|
339
|
+
}, "strip", z.ZodTypeAny, {
|
|
340
|
+
value: string | null;
|
|
341
|
+
present: boolean;
|
|
342
|
+
self_referential: boolean;
|
|
343
|
+
cross_domain: boolean;
|
|
344
|
+
}, {
|
|
345
|
+
value: string | null;
|
|
346
|
+
present: boolean;
|
|
347
|
+
self_referential: boolean;
|
|
348
|
+
cross_domain: boolean;
|
|
349
|
+
}>;
|
|
335
350
|
readonly noindex: z.ZodBoolean;
|
|
336
|
-
readonly
|
|
337
|
-
readonly
|
|
351
|
+
readonly noindex_header: z.ZodBoolean;
|
|
352
|
+
readonly og_tags: z.ZodObject<{
|
|
353
|
+
title: z.ZodBoolean;
|
|
354
|
+
description: z.ZodBoolean;
|
|
355
|
+
image: z.ZodBoolean;
|
|
356
|
+
url: z.ZodBoolean;
|
|
357
|
+
type: z.ZodBoolean;
|
|
358
|
+
}, "strip", z.ZodTypeAny, {
|
|
359
|
+
type: boolean;
|
|
360
|
+
url: boolean;
|
|
361
|
+
title: boolean;
|
|
362
|
+
description: boolean;
|
|
363
|
+
image: boolean;
|
|
364
|
+
}, {
|
|
365
|
+
type: boolean;
|
|
366
|
+
url: boolean;
|
|
367
|
+
title: boolean;
|
|
368
|
+
description: boolean;
|
|
369
|
+
image: boolean;
|
|
370
|
+
}>;
|
|
371
|
+
readonly twitter_card: z.ZodObject<{
|
|
372
|
+
present: z.ZodBoolean;
|
|
373
|
+
card_type: z.ZodUnion<[z.ZodNull, z.ZodString]>;
|
|
374
|
+
}, "strip", z.ZodTypeAny, {
|
|
375
|
+
present: boolean;
|
|
376
|
+
card_type: string | null;
|
|
377
|
+
}, {
|
|
378
|
+
present: boolean;
|
|
379
|
+
card_type: string | null;
|
|
380
|
+
}>;
|
|
381
|
+
readonly hreflang: z.ZodObject<{
|
|
382
|
+
present: z.ZodBoolean;
|
|
383
|
+
count: z.ZodNumber;
|
|
384
|
+
x_default: z.ZodBoolean;
|
|
385
|
+
}, "strip", z.ZodTypeAny, {
|
|
386
|
+
present: boolean;
|
|
387
|
+
count: number;
|
|
388
|
+
x_default: boolean;
|
|
389
|
+
}, {
|
|
390
|
+
present: boolean;
|
|
391
|
+
count: number;
|
|
392
|
+
x_default: boolean;
|
|
393
|
+
}>;
|
|
394
|
+
readonly title_og_match: z.ZodBoolean;
|
|
395
|
+
readonly meta_description: z.ZodObject<{
|
|
396
|
+
present: z.ZodBoolean;
|
|
397
|
+
length: z.ZodNumber;
|
|
398
|
+
}, "strip", z.ZodTypeAny, {
|
|
399
|
+
length: number;
|
|
400
|
+
present: boolean;
|
|
401
|
+
}, {
|
|
402
|
+
length: number;
|
|
403
|
+
present: boolean;
|
|
404
|
+
}>;
|
|
405
|
+
readonly response_headers: z.ZodObject<{
|
|
406
|
+
hsts: z.ZodUnion<[z.ZodNull, z.ZodString]>;
|
|
407
|
+
x_content_type_options: z.ZodUnion<[z.ZodNull, z.ZodString]>;
|
|
408
|
+
referrer_policy: z.ZodUnion<[z.ZodNull, z.ZodString]>;
|
|
409
|
+
content_security_policy: z.ZodUnion<[z.ZodNull, z.ZodString]>;
|
|
410
|
+
cache_control: z.ZodUnion<[z.ZodNull, z.ZodString]>;
|
|
411
|
+
}, "strip", z.ZodTypeAny, {
|
|
412
|
+
hsts: string | null;
|
|
413
|
+
x_content_type_options: string | null;
|
|
414
|
+
referrer_policy: string | null;
|
|
415
|
+
content_security_policy: string | null;
|
|
416
|
+
cache_control: string | null;
|
|
417
|
+
}, {
|
|
418
|
+
hsts: string | null;
|
|
419
|
+
x_content_type_options: string | null;
|
|
420
|
+
referrer_policy: string | null;
|
|
421
|
+
content_security_policy: string | null;
|
|
422
|
+
cache_control: string | null;
|
|
423
|
+
}>;
|
|
424
|
+
readonly mixed_content: z.ZodObject<{
|
|
425
|
+
count: z.ZodNumber;
|
|
426
|
+
samples: z.ZodArray<z.ZodString, "many">;
|
|
427
|
+
}, "strip", z.ZodTypeAny, {
|
|
428
|
+
count: number;
|
|
429
|
+
samples: string[];
|
|
430
|
+
}, {
|
|
431
|
+
count: number;
|
|
432
|
+
samples: string[];
|
|
433
|
+
}>;
|
|
338
434
|
readonly findings: z.ZodArray<z.ZodObject<{
|
|
339
435
|
severity: z.ZodEnum<["critical", "warning", "info"]>;
|
|
340
436
|
category: z.ZodEnum<["schema", "robots", "technical", "freshness", "structure", "authority", "presence", "sitemap", "llms_txt", "citation", "evidence", "trust", "entity", "content"]>;
|
|
341
437
|
where: z.ZodString;
|
|
342
438
|
message: z.ZodString;
|
|
343
439
|
fix: z.ZodString;
|
|
344
|
-
estimated_impact: z.ZodOptional<z.
|
|
345
|
-
failure_signal: z.ZodOptional<z.ZodString
|
|
346
|
-
leading_indicator: z.ZodOptional<z.ZodString
|
|
440
|
+
estimated_impact: z.ZodOptional<z.ZodUnion<[z.ZodUndefined, z.ZodLiteral<"high">, z.ZodLiteral<"medium">, z.ZodLiteral<"low">]>>;
|
|
441
|
+
failure_signal: z.ZodOptional<z.ZodUnion<[z.ZodUndefined, z.ZodString]>>;
|
|
442
|
+
leading_indicator: z.ZodOptional<z.ZodUnion<[z.ZodUndefined, z.ZodString]>>;
|
|
347
443
|
}, "strip", z.ZodTypeAny, {
|
|
348
444
|
message: string;
|
|
349
445
|
where: string;
|
|
@@ -366,19 +462,17 @@ export declare const checkTechnicalOutputShape: {
|
|
|
366
462
|
};
|
|
367
463
|
export declare const auditSchemaOutputShape: {
|
|
368
464
|
readonly source: z.ZodEnum<["url", "inline"]>;
|
|
369
|
-
readonly url: z.ZodNullable<z.ZodString>;
|
|
370
|
-
readonly fetched_at: z.ZodNullable<z.ZodString>;
|
|
371
465
|
readonly found_types: z.ZodArray<z.ZodString, "many">;
|
|
372
|
-
readonly
|
|
466
|
+
readonly missing_priority_types: z.ZodArray<z.ZodString, "many">;
|
|
373
467
|
readonly findings: z.ZodArray<z.ZodObject<{
|
|
374
468
|
severity: z.ZodEnum<["critical", "warning", "info"]>;
|
|
375
469
|
category: z.ZodEnum<["schema", "robots", "technical", "freshness", "structure", "authority", "presence", "sitemap", "llms_txt", "citation", "evidence", "trust", "entity", "content"]>;
|
|
376
470
|
where: z.ZodString;
|
|
377
471
|
message: z.ZodString;
|
|
378
472
|
fix: z.ZodString;
|
|
379
|
-
estimated_impact: z.ZodOptional<z.
|
|
380
|
-
failure_signal: z.ZodOptional<z.ZodString
|
|
381
|
-
leading_indicator: z.ZodOptional<z.ZodString
|
|
473
|
+
estimated_impact: z.ZodOptional<z.ZodUnion<[z.ZodUndefined, z.ZodLiteral<"high">, z.ZodLiteral<"medium">, z.ZodLiteral<"low">]>>;
|
|
474
|
+
failure_signal: z.ZodOptional<z.ZodUnion<[z.ZodUndefined, z.ZodString]>>;
|
|
475
|
+
leading_indicator: z.ZodOptional<z.ZodUnion<[z.ZodUndefined, z.ZodString]>>;
|
|
382
476
|
}, "strip", z.ZodTypeAny, {
|
|
383
477
|
message: string;
|
|
384
478
|
where: string;
|
|
@@ -398,23 +492,25 @@ export declare const auditSchemaOutputShape: {
|
|
|
398
492
|
failure_signal?: string | undefined;
|
|
399
493
|
leading_indicator?: string | undefined;
|
|
400
494
|
}>, "many">;
|
|
495
|
+
readonly ai_citation_readiness_score: z.ZodNumber;
|
|
401
496
|
};
|
|
402
497
|
export declare const auditCanonicalOutputShape: {
|
|
403
498
|
readonly url: z.ZodString;
|
|
404
|
-
readonly
|
|
405
|
-
readonly
|
|
406
|
-
readonly
|
|
407
|
-
readonly
|
|
408
|
-
readonly
|
|
499
|
+
readonly final_url: z.ZodString;
|
|
500
|
+
readonly canonical_value: z.ZodUnion<[z.ZodNull, z.ZodString]>;
|
|
501
|
+
readonly is_self_referential: z.ZodBoolean;
|
|
502
|
+
readonly is_cross_domain: z.ZodBoolean;
|
|
503
|
+
readonly trailing_slash_consistent: z.ZodBoolean;
|
|
504
|
+
readonly canonical_og_url_match: z.ZodBoolean;
|
|
409
505
|
readonly findings: z.ZodArray<z.ZodObject<{
|
|
410
506
|
severity: z.ZodEnum<["critical", "warning", "info"]>;
|
|
411
507
|
category: z.ZodEnum<["schema", "robots", "technical", "freshness", "structure", "authority", "presence", "sitemap", "llms_txt", "citation", "evidence", "trust", "entity", "content"]>;
|
|
412
508
|
where: z.ZodString;
|
|
413
509
|
message: z.ZodString;
|
|
414
510
|
fix: z.ZodString;
|
|
415
|
-
estimated_impact: z.ZodOptional<z.
|
|
416
|
-
failure_signal: z.ZodOptional<z.ZodString
|
|
417
|
-
leading_indicator: z.ZodOptional<z.ZodString
|
|
511
|
+
estimated_impact: z.ZodOptional<z.ZodUnion<[z.ZodUndefined, z.ZodLiteral<"high">, z.ZodLiteral<"medium">, z.ZodLiteral<"low">]>>;
|
|
512
|
+
failure_signal: z.ZodOptional<z.ZodUnion<[z.ZodUndefined, z.ZodString]>>;
|
|
513
|
+
leading_indicator: z.ZodOptional<z.ZodUnion<[z.ZodUndefined, z.ZodString]>>;
|
|
418
514
|
}, "strip", z.ZodTypeAny, {
|
|
419
515
|
message: string;
|
|
420
516
|
where: string;
|
|
@@ -437,45 +533,72 @@ export declare const auditCanonicalOutputShape: {
|
|
|
437
533
|
};
|
|
438
534
|
export declare const scoreAiOverviewOutputShape: {
|
|
439
535
|
readonly url: z.ZodString;
|
|
440
|
-
readonly fetched_at: z.ZodString;
|
|
441
536
|
readonly overall_eligibility_score: z.ZodNumber;
|
|
442
537
|
readonly factors: z.ZodObject<{
|
|
443
538
|
semantic_completeness: z.ZodNumber;
|
|
444
539
|
structured_data: z.ZodNumber;
|
|
445
540
|
eeat_signals: z.ZodNumber;
|
|
446
541
|
entity_density: z.ZodNumber;
|
|
447
|
-
|
|
448
|
-
|
|
542
|
+
content_freshness: z.ZodNumber;
|
|
543
|
+
passage_structure: z.ZodNumber;
|
|
544
|
+
multimodal_content: z.ZodNumber;
|
|
449
545
|
}, "strip", z.ZodTypeAny, {
|
|
450
|
-
freshness: number;
|
|
451
546
|
entity_density: number;
|
|
452
547
|
semantic_completeness: number;
|
|
453
548
|
structured_data: number;
|
|
454
549
|
eeat_signals: number;
|
|
455
|
-
|
|
550
|
+
content_freshness: number;
|
|
551
|
+
passage_structure: number;
|
|
552
|
+
multimodal_content: number;
|
|
456
553
|
}, {
|
|
457
|
-
freshness: number;
|
|
458
554
|
entity_density: number;
|
|
459
555
|
semantic_completeness: number;
|
|
460
556
|
structured_data: number;
|
|
461
557
|
eeat_signals: number;
|
|
462
|
-
|
|
558
|
+
content_freshness: number;
|
|
559
|
+
passage_structure: number;
|
|
560
|
+
multimodal_content: number;
|
|
463
561
|
}>;
|
|
464
562
|
readonly top_improvements: z.ZodArray<z.ZodObject<{
|
|
465
|
-
|
|
466
|
-
|
|
563
|
+
action: z.ZodString;
|
|
564
|
+
estimated_score_gain: z.ZodNumber;
|
|
467
565
|
}, "strip", z.ZodTypeAny, {
|
|
468
|
-
|
|
469
|
-
|
|
566
|
+
action: string;
|
|
567
|
+
estimated_score_gain: number;
|
|
470
568
|
}, {
|
|
471
|
-
|
|
472
|
-
|
|
569
|
+
action: string;
|
|
570
|
+
estimated_score_gain: number;
|
|
571
|
+
}>, "many">;
|
|
572
|
+
readonly findings: z.ZodArray<z.ZodObject<{
|
|
573
|
+
severity: z.ZodEnum<["critical", "warning", "info"]>;
|
|
574
|
+
category: z.ZodEnum<["schema", "robots", "technical", "freshness", "structure", "authority", "presence", "sitemap", "llms_txt", "citation", "evidence", "trust", "entity", "content"]>;
|
|
575
|
+
where: z.ZodString;
|
|
576
|
+
message: z.ZodString;
|
|
577
|
+
fix: z.ZodString;
|
|
578
|
+
estimated_impact: z.ZodOptional<z.ZodUnion<[z.ZodUndefined, z.ZodLiteral<"high">, z.ZodLiteral<"medium">, z.ZodLiteral<"low">]>>;
|
|
579
|
+
failure_signal: z.ZodOptional<z.ZodUnion<[z.ZodUndefined, z.ZodString]>>;
|
|
580
|
+
leading_indicator: z.ZodOptional<z.ZodUnion<[z.ZodUndefined, z.ZodString]>>;
|
|
581
|
+
}, "strip", z.ZodTypeAny, {
|
|
582
|
+
message: string;
|
|
583
|
+
where: string;
|
|
584
|
+
severity: "critical" | "warning" | "info";
|
|
585
|
+
category: "schema" | "robots" | "technical" | "freshness" | "structure" | "authority" | "presence" | "sitemap" | "llms_txt" | "citation" | "evidence" | "trust" | "entity" | "content";
|
|
586
|
+
fix: string;
|
|
587
|
+
estimated_impact?: "high" | "medium" | "low" | undefined;
|
|
588
|
+
failure_signal?: string | undefined;
|
|
589
|
+
leading_indicator?: string | undefined;
|
|
590
|
+
}, {
|
|
591
|
+
message: string;
|
|
592
|
+
where: string;
|
|
593
|
+
severity: "critical" | "warning" | "info";
|
|
594
|
+
category: "schema" | "robots" | "technical" | "freshness" | "structure" | "authority" | "presence" | "sitemap" | "llms_txt" | "citation" | "evidence" | "trust" | "entity" | "content";
|
|
595
|
+
fix: string;
|
|
596
|
+
estimated_impact?: "high" | "medium" | "low" | undefined;
|
|
597
|
+
failure_signal?: string | undefined;
|
|
598
|
+
leading_indicator?: string | undefined;
|
|
473
599
|
}>, "many">;
|
|
474
600
|
};
|
|
475
601
|
export declare const scoreCitationOutputShape: {
|
|
476
|
-
readonly source: z.ZodEnum<["url", "text"]>;
|
|
477
|
-
readonly url: z.ZodNullable<z.ZodString>;
|
|
478
|
-
readonly target_query: z.ZodNullable<z.ZodString>;
|
|
479
602
|
readonly overall_score: z.ZodNumber;
|
|
480
603
|
readonly engine_scores: z.ZodObject<{
|
|
481
604
|
perplexity: z.ZodNumber;
|
|
@@ -493,10 +616,30 @@ export declare const scoreCitationOutputShape: {
|
|
|
493
616
|
perplexity: number;
|
|
494
617
|
google_ai_overviews: number;
|
|
495
618
|
}>;
|
|
496
|
-
readonly
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
619
|
+
readonly sub_scores: z.ZodObject<{
|
|
620
|
+
bluf_present: z.ZodBoolean;
|
|
621
|
+
faq_blocks: z.ZodNumber;
|
|
622
|
+
statistic_density: z.ZodNumber;
|
|
623
|
+
entity_clarity: z.ZodNumber;
|
|
624
|
+
heading_question_ratio: z.ZodNumber;
|
|
625
|
+
answer_completeness: z.ZodNumber;
|
|
626
|
+
}, "strip", z.ZodTypeAny, {
|
|
627
|
+
bluf_present: boolean;
|
|
628
|
+
faq_blocks: number;
|
|
629
|
+
statistic_density: number;
|
|
630
|
+
entity_clarity: number;
|
|
631
|
+
heading_question_ratio: number;
|
|
632
|
+
answer_completeness: number;
|
|
633
|
+
}, {
|
|
634
|
+
bluf_present: boolean;
|
|
635
|
+
faq_blocks: number;
|
|
636
|
+
statistic_density: number;
|
|
637
|
+
entity_clarity: number;
|
|
638
|
+
heading_question_ratio: number;
|
|
639
|
+
answer_completeness: number;
|
|
640
|
+
}>;
|
|
641
|
+
readonly extractability_score: z.ZodNumber;
|
|
642
|
+
readonly chunk_analysis: z.ZodArray<z.ZodObject<{
|
|
500
643
|
heading: z.ZodString;
|
|
501
644
|
level: z.ZodNumber;
|
|
502
645
|
word_count: z.ZodNumber;
|
|
@@ -514,8 +657,8 @@ export declare const scoreCitationOutputShape: {
|
|
|
514
657
|
heading: string;
|
|
515
658
|
level: number;
|
|
516
659
|
word_count: number;
|
|
517
|
-
}>, "many"
|
|
518
|
-
readonly most_extractable: z.
|
|
660
|
+
}>, "many">;
|
|
661
|
+
readonly most_extractable: z.ZodUnion<[z.ZodNull, z.ZodObject<{
|
|
519
662
|
heading: z.ZodString;
|
|
520
663
|
score: z.ZodNumber;
|
|
521
664
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -524,8 +667,8 @@ export declare const scoreCitationOutputShape: {
|
|
|
524
667
|
}, {
|
|
525
668
|
score: number;
|
|
526
669
|
heading: string;
|
|
527
|
-
}
|
|
528
|
-
readonly least_extractable: z.
|
|
670
|
+
}>]>;
|
|
671
|
+
readonly least_extractable: z.ZodUnion<[z.ZodNull, z.ZodObject<{
|
|
529
672
|
heading: z.ZodString;
|
|
530
673
|
score: z.ZodNumber;
|
|
531
674
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -534,7 +677,36 @@ export declare const scoreCitationOutputShape: {
|
|
|
534
677
|
}, {
|
|
535
678
|
score: number;
|
|
536
679
|
heading: string;
|
|
537
|
-
}
|
|
680
|
+
}>]>;
|
|
681
|
+
readonly improvements: z.ZodArray<z.ZodString, "many">;
|
|
682
|
+
readonly findings: z.ZodArray<z.ZodObject<{
|
|
683
|
+
severity: z.ZodEnum<["critical", "warning", "info"]>;
|
|
684
|
+
category: z.ZodEnum<["schema", "robots", "technical", "freshness", "structure", "authority", "presence", "sitemap", "llms_txt", "citation", "evidence", "trust", "entity", "content"]>;
|
|
685
|
+
where: z.ZodString;
|
|
686
|
+
message: z.ZodString;
|
|
687
|
+
fix: z.ZodString;
|
|
688
|
+
estimated_impact: z.ZodOptional<z.ZodUnion<[z.ZodUndefined, z.ZodLiteral<"high">, z.ZodLiteral<"medium">, z.ZodLiteral<"low">]>>;
|
|
689
|
+
failure_signal: z.ZodOptional<z.ZodUnion<[z.ZodUndefined, z.ZodString]>>;
|
|
690
|
+
leading_indicator: z.ZodOptional<z.ZodUnion<[z.ZodUndefined, z.ZodString]>>;
|
|
691
|
+
}, "strip", z.ZodTypeAny, {
|
|
692
|
+
message: string;
|
|
693
|
+
where: string;
|
|
694
|
+
severity: "critical" | "warning" | "info";
|
|
695
|
+
category: "schema" | "robots" | "technical" | "freshness" | "structure" | "authority" | "presence" | "sitemap" | "llms_txt" | "citation" | "evidence" | "trust" | "entity" | "content";
|
|
696
|
+
fix: string;
|
|
697
|
+
estimated_impact?: "high" | "medium" | "low" | undefined;
|
|
698
|
+
failure_signal?: string | undefined;
|
|
699
|
+
leading_indicator?: string | undefined;
|
|
700
|
+
}, {
|
|
701
|
+
message: string;
|
|
702
|
+
where: string;
|
|
703
|
+
severity: "critical" | "warning" | "info";
|
|
704
|
+
category: "schema" | "robots" | "technical" | "freshness" | "structure" | "authority" | "presence" | "sitemap" | "llms_txt" | "citation" | "evidence" | "trust" | "entity" | "content";
|
|
705
|
+
fix: string;
|
|
706
|
+
estimated_impact?: "high" | "medium" | "low" | undefined;
|
|
707
|
+
failure_signal?: string | undefined;
|
|
708
|
+
leading_indicator?: string | undefined;
|
|
709
|
+
}>, "many">;
|
|
538
710
|
};
|
|
539
711
|
export declare const scoreAgenticBrowsingOutputShape: {
|
|
540
712
|
readonly url: z.ZodNullable<z.ZodString>;
|
|
@@ -688,18 +860,18 @@ export declare const generatePricingMdOutputShape: {
|
|
|
688
860
|
readonly suggested_path: z.ZodLiteral<"/pricing.md">;
|
|
689
861
|
};
|
|
690
862
|
export declare const validateLlmsTxtOutputShape: {
|
|
691
|
-
readonly source: z.ZodEnum<["url", "content"]>;
|
|
692
|
-
readonly url: z.ZodNullable<z.ZodString>;
|
|
693
863
|
readonly valid: z.ZodBoolean;
|
|
864
|
+
readonly links_total: z.ZodNumber;
|
|
865
|
+
readonly links_broken: z.ZodNumber;
|
|
694
866
|
readonly findings: z.ZodArray<z.ZodObject<{
|
|
695
867
|
severity: z.ZodEnum<["critical", "warning", "info"]>;
|
|
696
868
|
category: z.ZodEnum<["schema", "robots", "technical", "freshness", "structure", "authority", "presence", "sitemap", "llms_txt", "citation", "evidence", "trust", "entity", "content"]>;
|
|
697
869
|
where: z.ZodString;
|
|
698
870
|
message: z.ZodString;
|
|
699
871
|
fix: z.ZodString;
|
|
700
|
-
estimated_impact: z.ZodOptional<z.
|
|
701
|
-
failure_signal: z.ZodOptional<z.ZodString
|
|
702
|
-
leading_indicator: z.ZodOptional<z.ZodString
|
|
872
|
+
estimated_impact: z.ZodOptional<z.ZodUnion<[z.ZodUndefined, z.ZodLiteral<"high">, z.ZodLiteral<"medium">, z.ZodLiteral<"low">]>>;
|
|
873
|
+
failure_signal: z.ZodOptional<z.ZodUnion<[z.ZodUndefined, z.ZodString]>>;
|
|
874
|
+
leading_indicator: z.ZodOptional<z.ZodUnion<[z.ZodUndefined, z.ZodString]>>;
|
|
703
875
|
}, "strip", z.ZodTypeAny, {
|
|
704
876
|
message: string;
|
|
705
877
|
where: string;
|
|
@@ -721,34 +893,65 @@ export declare const validateLlmsTxtOutputShape: {
|
|
|
721
893
|
}>, "many">;
|
|
722
894
|
};
|
|
723
895
|
export declare const rewriteOutputShape: {
|
|
724
|
-
readonly
|
|
725
|
-
readonly
|
|
726
|
-
readonly
|
|
727
|
-
readonly
|
|
728
|
-
readonly
|
|
729
|
-
readonly
|
|
896
|
+
readonly rewritten_text: z.ZodString;
|
|
897
|
+
readonly schema_additions: z.ZodString;
|
|
898
|
+
readonly changes_made: z.ZodArray<z.ZodString, "many">;
|
|
899
|
+
readonly before_score: z.ZodNumber;
|
|
900
|
+
readonly after_score: z.ZodNumber;
|
|
901
|
+
readonly mode: z.ZodEnum<["sampling", "prompt_template"]>;
|
|
730
902
|
};
|
|
731
903
|
export declare const extractEntitiesOutputShape: {
|
|
732
|
-
readonly source: z.ZodEnum<["url", "text"]>;
|
|
733
|
-
readonly url: z.ZodNullable<z.ZodString>;
|
|
734
|
-
readonly entity_count: z.ZodNumber;
|
|
735
904
|
readonly entities: z.ZodArray<z.ZodObject<{
|
|
736
905
|
name: z.ZodString;
|
|
737
|
-
type: z.
|
|
738
|
-
|
|
739
|
-
|
|
906
|
+
type: z.ZodUnion<[z.ZodNull, z.ZodString]>;
|
|
907
|
+
same_as: z.ZodArray<z.ZodString, "many">;
|
|
908
|
+
mention_count: z.ZodNumber;
|
|
909
|
+
is_defined: z.ZodBoolean;
|
|
740
910
|
}, "strip", z.ZodTypeAny, {
|
|
911
|
+
type: string | null;
|
|
741
912
|
name: string;
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
913
|
+
same_as: string[];
|
|
914
|
+
mention_count: number;
|
|
915
|
+
is_defined: boolean;
|
|
745
916
|
}, {
|
|
917
|
+
type: string | null;
|
|
746
918
|
name: string;
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
919
|
+
same_as: string[];
|
|
920
|
+
mention_count: number;
|
|
921
|
+
is_defined: boolean;
|
|
750
922
|
}>, "many">;
|
|
923
|
+
readonly entity_count: z.ZodNumber;
|
|
924
|
+
readonly connected_entity_count: z.ZodNumber;
|
|
751
925
|
readonly citation_density_score: z.ZodNumber;
|
|
926
|
+
readonly findings: z.ZodArray<z.ZodObject<{
|
|
927
|
+
severity: z.ZodEnum<["critical", "warning", "info"]>;
|
|
928
|
+
category: z.ZodEnum<["schema", "robots", "technical", "freshness", "structure", "authority", "presence", "sitemap", "llms_txt", "citation", "evidence", "trust", "entity", "content"]>;
|
|
929
|
+
where: z.ZodString;
|
|
930
|
+
message: z.ZodString;
|
|
931
|
+
fix: z.ZodString;
|
|
932
|
+
estimated_impact: z.ZodOptional<z.ZodUnion<[z.ZodUndefined, z.ZodLiteral<"high">, z.ZodLiteral<"medium">, z.ZodLiteral<"low">]>>;
|
|
933
|
+
failure_signal: z.ZodOptional<z.ZodUnion<[z.ZodUndefined, z.ZodString]>>;
|
|
934
|
+
leading_indicator: z.ZodOptional<z.ZodUnion<[z.ZodUndefined, z.ZodString]>>;
|
|
935
|
+
}, "strip", z.ZodTypeAny, {
|
|
936
|
+
message: string;
|
|
937
|
+
where: string;
|
|
938
|
+
severity: "critical" | "warning" | "info";
|
|
939
|
+
category: "schema" | "robots" | "technical" | "freshness" | "structure" | "authority" | "presence" | "sitemap" | "llms_txt" | "citation" | "evidence" | "trust" | "entity" | "content";
|
|
940
|
+
fix: string;
|
|
941
|
+
estimated_impact?: "high" | "medium" | "low" | undefined;
|
|
942
|
+
failure_signal?: string | undefined;
|
|
943
|
+
leading_indicator?: string | undefined;
|
|
944
|
+
}, {
|
|
945
|
+
message: string;
|
|
946
|
+
where: string;
|
|
947
|
+
severity: "critical" | "warning" | "info";
|
|
948
|
+
category: "schema" | "robots" | "technical" | "freshness" | "structure" | "authority" | "presence" | "sitemap" | "llms_txt" | "citation" | "evidence" | "trust" | "entity" | "content";
|
|
949
|
+
fix: string;
|
|
950
|
+
estimated_impact?: "high" | "medium" | "low" | undefined;
|
|
951
|
+
failure_signal?: string | undefined;
|
|
952
|
+
leading_indicator?: string | undefined;
|
|
953
|
+
}>, "many">;
|
|
954
|
+
readonly mode: z.ZodEnum<["sampling", "regex_fallback"]>;
|
|
752
955
|
};
|
|
753
956
|
export declare const diffPagesOutputShape: {
|
|
754
957
|
readonly url_a: z.ZodString;
|
|
@@ -910,17 +1113,17 @@ export declare const auditSitemapOutputShape: {
|
|
|
910
1113
|
p25: z.ZodNumber;
|
|
911
1114
|
p75: z.ZodNumber;
|
|
912
1115
|
}, "strip", z.ZodTypeAny, {
|
|
913
|
-
min: number;
|
|
914
|
-
max: number;
|
|
915
1116
|
avg: number;
|
|
916
1117
|
median: number;
|
|
1118
|
+
min: number;
|
|
1119
|
+
max: number;
|
|
917
1120
|
p25: number;
|
|
918
1121
|
p75: number;
|
|
919
1122
|
}, {
|
|
920
|
-
min: number;
|
|
921
|
-
max: number;
|
|
922
1123
|
avg: number;
|
|
923
1124
|
median: number;
|
|
1125
|
+
min: number;
|
|
1126
|
+
max: number;
|
|
924
1127
|
p25: number;
|
|
925
1128
|
p75: number;
|
|
926
1129
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output-schemas.d.ts","sourceRoot":"","sources":["../src/output-schemas.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BxB,CAAC;AAEH,eAAO,MAAM,WAAW,sCAA6F,CAAC;AAEtH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqDvB,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;;EAG9B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUzB,CAAC;AAEX,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"output-schemas.d.ts","sourceRoot":"","sources":["../src/output-schemas.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,aAAa;;;;;;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