@rankcli/agent-runtime 0.0.29 → 0.0.31
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/index.d.mts +249 -151
- package/dist/index.d.ts +249 -151
- package/dist/index.js +354 -302
- package/dist/index.mjs +351 -302
- package/package.json +3 -2
package/dist/index.d.mts
CHANGED
|
@@ -3031,6 +3031,192 @@ declare function buildDeterministicFixes(input: DeterministicFixInput): Determin
|
|
|
3031
3031
|
*/
|
|
3032
3032
|
declare function findAppRoot(files: string[]): string;
|
|
3033
3033
|
|
|
3034
|
+
interface ReplacementConcern {
|
|
3035
|
+
/** Machine-readable, for logs and the PR body. */
|
|
3036
|
+
code: 'shrunk' | 'lost_closing_tag' | 'lost_script' | 'lost_stylesheet' | 'lost_verification' | 'lost_import' | 'invalid_json' | 'invalid_xml' | 'invalid_json_ld' | 'fewer_sitemap_urls' | 'lastmod_moved_backwards';
|
|
3037
|
+
detail: string;
|
|
3038
|
+
}
|
|
3039
|
+
/**
|
|
3040
|
+
* Everything wrong with replacing `original` with `replacement` at `path`. Empty means safe
|
|
3041
|
+
* to commit. `original` is null for a file being created, where there is nothing to lose and
|
|
3042
|
+
* only the content's own validity matters.
|
|
3043
|
+
*/
|
|
3044
|
+
declare function assessReplacement(path: string, original: string | null, replacement: string): ReplacementConcern[];
|
|
3045
|
+
/** One line naming why a file was dropped, for a log line or a PR body. */
|
|
3046
|
+
declare function describeConcerns(concerns: ReplacementConcern[]): string;
|
|
3047
|
+
|
|
3048
|
+
/**
|
|
3049
|
+
* Framework Detection
|
|
3050
|
+
*
|
|
3051
|
+
* Detects web frameworks from:
|
|
3052
|
+
* 1. HTML signatures (data attributes, meta tags, scripts)
|
|
3053
|
+
* 2. package.json / Gemfile / requirements.txt / composer.json / etc.
|
|
3054
|
+
* 3. File structure patterns
|
|
3055
|
+
* 4. HTTP response headers
|
|
3056
|
+
*
|
|
3057
|
+
* Supports 25+ frameworks across JavaScript, Ruby, Python, PHP, Java, C#, Go, and Elixir.
|
|
3058
|
+
*/
|
|
3059
|
+
type Framework = 'react' | 'nextjs' | 'vue' | 'nuxt' | 'angular' | 'svelte' | 'sveltekit' | 'astro' | 'remix' | 'gatsby' | 'solidjs' | 'qwik' | 'fresh' | 'rails' | 'django' | 'flask' | 'fastapi' | 'laravel' | 'symfony' | 'wordpress' | 'spring' | 'aspnet' | 'go' | 'phoenix' | 'htmx' | 'hotwire' | 'hugo' | 'jekyll' | 'eleventy' | 'pelican' | 'sphinx' | 'unknown';
|
|
3060
|
+
type Language = 'javascript' | 'typescript' | 'ruby' | 'python' | 'php' | 'java' | 'csharp' | 'go' | 'elixir' | 'rust' | 'unknown';
|
|
3061
|
+
interface FrameworkInfo {
|
|
3062
|
+
framework: Framework;
|
|
3063
|
+
version?: string;
|
|
3064
|
+
language: Language;
|
|
3065
|
+
confidence: 'high' | 'medium' | 'low';
|
|
3066
|
+
detected_from: 'html' | 'package.json' | 'files' | 'headers' | 'gemfile' | 'requirements' | 'composer' | 'pom' | 'csproj' | 'go.mod' | 'mix.exs';
|
|
3067
|
+
meta_framework?: Framework;
|
|
3068
|
+
}
|
|
3069
|
+
/**
|
|
3070
|
+
* Detect framework from HTML content
|
|
3071
|
+
*/
|
|
3072
|
+
declare function detectFromHtml(html: string): FrameworkInfo | null;
|
|
3073
|
+
/**
|
|
3074
|
+
* Detect framework from package.json content (JavaScript/TypeScript)
|
|
3075
|
+
*/
|
|
3076
|
+
declare function detectFromPackageJson(packageJson: {
|
|
3077
|
+
dependencies?: Record<string, string>;
|
|
3078
|
+
devDependencies?: Record<string, string>;
|
|
3079
|
+
}): FrameworkInfo | null;
|
|
3080
|
+
/**
|
|
3081
|
+
* Detect framework from HTTP response headers
|
|
3082
|
+
*/
|
|
3083
|
+
declare function detectFromHeaders(headers: Record<string, string>): FrameworkInfo | null;
|
|
3084
|
+
/**
|
|
3085
|
+
* Combined detection using multiple sources
|
|
3086
|
+
*/
|
|
3087
|
+
declare function detectFramework$1(options: {
|
|
3088
|
+
html?: string;
|
|
3089
|
+
packageJson?: {
|
|
3090
|
+
dependencies?: Record<string, string>;
|
|
3091
|
+
devDependencies?: Record<string, string>;
|
|
3092
|
+
};
|
|
3093
|
+
composerJson?: {
|
|
3094
|
+
require?: Record<string, string>;
|
|
3095
|
+
'require-dev'?: Record<string, string>;
|
|
3096
|
+
};
|
|
3097
|
+
gemfileContent?: string;
|
|
3098
|
+
requirementsContent?: string;
|
|
3099
|
+
pomXmlContent?: string;
|
|
3100
|
+
csprojContent?: string;
|
|
3101
|
+
goModContent?: string;
|
|
3102
|
+
mixExsContent?: string;
|
|
3103
|
+
headers?: Record<string, string>;
|
|
3104
|
+
files?: string[];
|
|
3105
|
+
}): FrameworkInfo;
|
|
3106
|
+
/**
|
|
3107
|
+
* Get human-readable framework name
|
|
3108
|
+
*/
|
|
3109
|
+
declare function getFrameworkDisplayName(framework: Framework): string;
|
|
3110
|
+
|
|
3111
|
+
/**
|
|
3112
|
+
* Framework-Specific SEO Suggestion Engine
|
|
3113
|
+
*
|
|
3114
|
+
* Loads recipe files and provides framework-specific SEO suggestions.
|
|
3115
|
+
* Works with both CLI and Web UI.
|
|
3116
|
+
*/
|
|
3117
|
+
|
|
3118
|
+
interface FrameworkCheck {
|
|
3119
|
+
code: string;
|
|
3120
|
+
severity: IssueSeverity;
|
|
3121
|
+
title: string;
|
|
3122
|
+
description: string;
|
|
3123
|
+
howToFix: string;
|
|
3124
|
+
impact?: string;
|
|
3125
|
+
detection?: {
|
|
3126
|
+
html_patterns?: string[];
|
|
3127
|
+
html_missing_patterns?: string[];
|
|
3128
|
+
missing_content?: boolean;
|
|
3129
|
+
title_in_js?: boolean;
|
|
3130
|
+
title_not_in_html?: boolean;
|
|
3131
|
+
};
|
|
3132
|
+
app_router_only?: boolean;
|
|
3133
|
+
pages_router_only?: boolean;
|
|
3134
|
+
}
|
|
3135
|
+
interface FrameworkRecipe {
|
|
3136
|
+
framework: Framework;
|
|
3137
|
+
display_name: string;
|
|
3138
|
+
category: string;
|
|
3139
|
+
base_framework?: Framework;
|
|
3140
|
+
ssr_default: boolean;
|
|
3141
|
+
seo_challenges?: string[];
|
|
3142
|
+
seo_strengths?: string[];
|
|
3143
|
+
checks: FrameworkCheck[];
|
|
3144
|
+
performance_tips?: string[];
|
|
3145
|
+
migration_paths?: Record<string, {
|
|
3146
|
+
effort: string;
|
|
3147
|
+
benefits: string[];
|
|
3148
|
+
guide?: string;
|
|
3149
|
+
}>;
|
|
3150
|
+
recommended_plugins?: Record<string, string[]>;
|
|
3151
|
+
recommended_gems?: Record<string, string[]>;
|
|
3152
|
+
integrations?: string[];
|
|
3153
|
+
}
|
|
3154
|
+
/**
|
|
3155
|
+
* Load a recipe from embedded content or file system
|
|
3156
|
+
*/
|
|
3157
|
+
declare function loadRecipe(framework: Framework): Promise<FrameworkRecipe | null>;
|
|
3158
|
+
/**
|
|
3159
|
+
* Get framework-specific issues based on HTML analysis
|
|
3160
|
+
*/
|
|
3161
|
+
declare function getFrameworkIssues(frameworkInfo: FrameworkInfo, html: string, url: string): Promise<AuditIssue[]>;
|
|
3162
|
+
/**
|
|
3163
|
+
* Get framework-specific suggestions for fixing issues
|
|
3164
|
+
*/
|
|
3165
|
+
declare function getFrameworkSuggestions(frameworkInfo: FrameworkInfo, issueCode: string): Promise<string | null>;
|
|
3166
|
+
/**
|
|
3167
|
+
* Get all available checks for a framework
|
|
3168
|
+
*/
|
|
3169
|
+
declare function getFrameworkChecks(framework: Framework): Promise<FrameworkCheck[]>;
|
|
3170
|
+
/**
|
|
3171
|
+
* Get performance tips for a framework
|
|
3172
|
+
*/
|
|
3173
|
+
declare function getPerformanceTips(framework: Framework): Promise<string[]>;
|
|
3174
|
+
/**
|
|
3175
|
+
* Get SEO challenges for a framework
|
|
3176
|
+
*/
|
|
3177
|
+
declare function getSeoChallenges(framework: Framework): Promise<string[]>;
|
|
3178
|
+
/**
|
|
3179
|
+
* Get migration paths from current framework
|
|
3180
|
+
*/
|
|
3181
|
+
declare function getMigrationPaths(framework: Framework): Promise<Record<string, {
|
|
3182
|
+
effort: string;
|
|
3183
|
+
benefits: string[];
|
|
3184
|
+
guide?: string;
|
|
3185
|
+
}>>;
|
|
3186
|
+
/**
|
|
3187
|
+
* Get total number of framework-specific checks
|
|
3188
|
+
*/
|
|
3189
|
+
declare function getTotalFrameworkChecks(): Promise<number>;
|
|
3190
|
+
/**
|
|
3191
|
+
* Get framework summary for display
|
|
3192
|
+
*/
|
|
3193
|
+
declare function getFrameworkSummary(framework: Framework): Promise<{
|
|
3194
|
+
name: string;
|
|
3195
|
+
category: string;
|
|
3196
|
+
ssrDefault: boolean;
|
|
3197
|
+
checkCount: number;
|
|
3198
|
+
strengths: string[];
|
|
3199
|
+
challenges: string[];
|
|
3200
|
+
} | null>;
|
|
3201
|
+
/**
|
|
3202
|
+
* Embed recipe content for bundling (called at build time)
|
|
3203
|
+
*/
|
|
3204
|
+
declare function embedRecipe(framework: Framework, content: string): void;
|
|
3205
|
+
|
|
3206
|
+
interface FrameworkGuidanceOptions {
|
|
3207
|
+
/** Issue codes open on the report. Checks matching these come first. */
|
|
3208
|
+
issueCodes?: string[];
|
|
3209
|
+
/** Roughly 1K tokens. Generous enough for several snippets, small enough to notice. */
|
|
3210
|
+
maxChars?: number;
|
|
3211
|
+
}
|
|
3212
|
+
/**
|
|
3213
|
+
* A markdown block for the prompt, or '' when there is no recipe for the framework.
|
|
3214
|
+
*
|
|
3215
|
+
* Ordering is deliberate: what the framework is, then the traps it has, then the fixes for
|
|
3216
|
+
* the issues this site actually reported, then anything else that fits the budget.
|
|
3217
|
+
*/
|
|
3218
|
+
declare function buildFrameworkGuidance(recipe: FrameworkRecipe | null | undefined, options?: FrameworkGuidanceOptions): string;
|
|
3219
|
+
|
|
3034
3220
|
/**
|
|
3035
3221
|
* World-Class JSON-LD Schema Generators
|
|
3036
3222
|
*
|
|
@@ -3984,7 +4170,7 @@ declare function listFiles(params: {
|
|
|
3984
4170
|
pattern?: string;
|
|
3985
4171
|
recursive?: boolean;
|
|
3986
4172
|
}): Promise<ToolResult>;
|
|
3987
|
-
declare function detectFramework
|
|
4173
|
+
declare function detectFramework(params: {
|
|
3988
4174
|
cwd?: string;
|
|
3989
4175
|
}): Promise<ToolResult>;
|
|
3990
4176
|
declare function findHtmlEntry(params: {
|
|
@@ -5382,162 +5568,68 @@ declare namespace index$1 {
|
|
|
5382
5568
|
}
|
|
5383
5569
|
|
|
5384
5570
|
/**
|
|
5385
|
-
*
|
|
5386
|
-
*
|
|
5387
|
-
*
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
|
|
5571
|
+
* DECISIVE: only this framework's build output or runtime emits it. A single one settles it.
|
|
5572
|
+
* STRONG: this framework's own attribute or cookie conventions; two make a confident answer.
|
|
5573
|
+
* WEAK: consistent with the framework, also consistent with others. Never decides alone.
|
|
5574
|
+
*/
|
|
5575
|
+
declare const WEIGHT: {
|
|
5576
|
+
readonly DECISIVE: 100;
|
|
5577
|
+
readonly STRONG: 45;
|
|
5578
|
+
readonly WEAK: 15;
|
|
5579
|
+
};
|
|
5580
|
+
/**
|
|
5581
|
+
* Below this, the evidence is not worth a claim.
|
|
5392
5582
|
*
|
|
5393
|
-
*
|
|
5583
|
+
* Set to one STRONG signal: a framework's own convention (a Thymeleaf attribute, a
|
|
5584
|
+
* laravel_session cookie, a Vite entry bundle mounting into #root) is a real answer, reported
|
|
5585
|
+
* at medium confidence. Two WEAK signals total 30 and still fall short, which is what stops
|
|
5586
|
+
* solidjs.com's `<div id="app">` from being called Vue.
|
|
5394
5587
|
*/
|
|
5395
|
-
|
|
5396
|
-
|
|
5397
|
-
interface FrameworkInfo {
|
|
5588
|
+
declare const SCORE_FLOOR = 45;
|
|
5589
|
+
interface Signal {
|
|
5398
5590
|
framework: Framework;
|
|
5399
|
-
version?: string;
|
|
5400
5591
|
language: Language;
|
|
5401
|
-
|
|
5402
|
-
|
|
5403
|
-
|
|
5592
|
+
weight: number;
|
|
5593
|
+
/** Named so a wrong answer can be traced to the rule that caused it. */
|
|
5594
|
+
name: string;
|
|
5595
|
+
html?: RegExp;
|
|
5596
|
+
/** Matched against `${name}: ${value}` for every response header, lowercased. */
|
|
5597
|
+
header?: RegExp;
|
|
5598
|
+
/**
|
|
5599
|
+
* Every pattern must match the HTML. For evidence that only means something in
|
|
5600
|
+
* combination: a Vite entry bundle says "built with Vite", and an empty `#root` says "some
|
|
5601
|
+
* library mounts here" - together they say React, and neither says it alone.
|
|
5602
|
+
*/
|
|
5603
|
+
allHtml?: RegExp[];
|
|
5404
5604
|
}
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
declare function detectFromPackageJson(packageJson: {
|
|
5413
|
-
dependencies?: Record<string, string>;
|
|
5414
|
-
devDependencies?: Record<string, string>;
|
|
5415
|
-
}): FrameworkInfo | null;
|
|
5416
|
-
/**
|
|
5417
|
-
* Detect framework from HTTP response headers
|
|
5418
|
-
*/
|
|
5419
|
-
declare function detectFromHeaders(headers: Record<string, string>): FrameworkInfo | null;
|
|
5420
|
-
/**
|
|
5421
|
-
* Combined detection using multiple sources
|
|
5422
|
-
*/
|
|
5423
|
-
declare function detectFramework(options: {
|
|
5424
|
-
html?: string;
|
|
5425
|
-
packageJson?: {
|
|
5426
|
-
dependencies?: Record<string, string>;
|
|
5427
|
-
devDependencies?: Record<string, string>;
|
|
5428
|
-
};
|
|
5429
|
-
composerJson?: {
|
|
5430
|
-
require?: Record<string, string>;
|
|
5431
|
-
'require-dev'?: Record<string, string>;
|
|
5432
|
-
};
|
|
5433
|
-
gemfileContent?: string;
|
|
5434
|
-
requirementsContent?: string;
|
|
5435
|
-
pomXmlContent?: string;
|
|
5436
|
-
csprojContent?: string;
|
|
5437
|
-
goModContent?: string;
|
|
5438
|
-
mixExsContent?: string;
|
|
5439
|
-
headers?: Record<string, string>;
|
|
5440
|
-
files?: string[];
|
|
5441
|
-
}): FrameworkInfo;
|
|
5442
|
-
/**
|
|
5443
|
-
* Get human-readable framework name
|
|
5444
|
-
*/
|
|
5445
|
-
declare function getFrameworkDisplayName(framework: Framework): string;
|
|
5446
|
-
|
|
5447
|
-
/**
|
|
5448
|
-
* Framework-Specific SEO Suggestion Engine
|
|
5449
|
-
*
|
|
5450
|
-
* Loads recipe files and provides framework-specific SEO suggestions.
|
|
5451
|
-
* Works with both CLI and Web UI.
|
|
5452
|
-
*/
|
|
5453
|
-
|
|
5454
|
-
interface FrameworkCheck {
|
|
5455
|
-
code: string;
|
|
5456
|
-
severity: IssueSeverity;
|
|
5457
|
-
title: string;
|
|
5458
|
-
description: string;
|
|
5459
|
-
howToFix: string;
|
|
5460
|
-
impact?: string;
|
|
5461
|
-
detection?: {
|
|
5462
|
-
html_patterns?: string[];
|
|
5463
|
-
html_missing_patterns?: string[];
|
|
5464
|
-
missing_content?: boolean;
|
|
5465
|
-
title_in_js?: boolean;
|
|
5466
|
-
title_not_in_html?: boolean;
|
|
5467
|
-
};
|
|
5468
|
-
app_router_only?: boolean;
|
|
5469
|
-
pages_router_only?: boolean;
|
|
5605
|
+
declare const SIGNALS: Signal[];
|
|
5606
|
+
interface Evidence {
|
|
5607
|
+
framework: Framework;
|
|
5608
|
+
language: Language;
|
|
5609
|
+
score: number;
|
|
5610
|
+
/** Signal names that fired, so any answer can be explained. */
|
|
5611
|
+
matched: string[];
|
|
5470
5612
|
}
|
|
5471
|
-
interface
|
|
5613
|
+
interface DetectionResult {
|
|
5472
5614
|
framework: Framework;
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
checks: FrameworkCheck[];
|
|
5480
|
-
performance_tips?: string[];
|
|
5481
|
-
migration_paths?: Record<string, {
|
|
5482
|
-
effort: string;
|
|
5483
|
-
benefits: string[];
|
|
5484
|
-
guide?: string;
|
|
5485
|
-
}>;
|
|
5486
|
-
recommended_plugins?: Record<string, string[]>;
|
|
5487
|
-
recommended_gems?: Record<string, string[]>;
|
|
5488
|
-
integrations?: string[];
|
|
5615
|
+
language: Language;
|
|
5616
|
+
confidence: 'high' | 'medium' | 'low';
|
|
5617
|
+
score: number;
|
|
5618
|
+
matched: string[];
|
|
5619
|
+
/** Runners-up, for debugging a wrong answer. */
|
|
5620
|
+
alternatives: Evidence[];
|
|
5489
5621
|
}
|
|
5490
5622
|
/**
|
|
5491
|
-
*
|
|
5492
|
-
|
|
5493
|
-
|
|
5494
|
-
|
|
5495
|
-
*
|
|
5496
|
-
*/
|
|
5497
|
-
declare function getFrameworkIssues(frameworkInfo: FrameworkInfo, html: string, url: string): Promise<AuditIssue[]>;
|
|
5498
|
-
/**
|
|
5499
|
-
* Get framework-specific suggestions for fixing issues
|
|
5500
|
-
*/
|
|
5501
|
-
declare function getFrameworkSuggestions(frameworkInfo: FrameworkInfo, issueCode: string): Promise<string | null>;
|
|
5502
|
-
/**
|
|
5503
|
-
* Get all available checks for a framework
|
|
5504
|
-
*/
|
|
5505
|
-
declare function getFrameworkChecks(framework: Framework): Promise<FrameworkCheck[]>;
|
|
5506
|
-
/**
|
|
5507
|
-
* Get performance tips for a framework
|
|
5508
|
-
*/
|
|
5509
|
-
declare function getPerformanceTips(framework: Framework): Promise<string[]>;
|
|
5510
|
-
/**
|
|
5511
|
-
* Get SEO challenges for a framework
|
|
5512
|
-
*/
|
|
5513
|
-
declare function getSeoChallenges(framework: Framework): Promise<string[]>;
|
|
5514
|
-
/**
|
|
5515
|
-
* Get migration paths from current framework
|
|
5516
|
-
*/
|
|
5517
|
-
declare function getMigrationPaths(framework: Framework): Promise<Record<string, {
|
|
5518
|
-
effort: string;
|
|
5519
|
-
benefits: string[];
|
|
5520
|
-
guide?: string;
|
|
5521
|
-
}>>;
|
|
5522
|
-
/**
|
|
5523
|
-
* Get total number of framework-specific checks
|
|
5524
|
-
*/
|
|
5525
|
-
declare function getTotalFrameworkChecks(): Promise<number>;
|
|
5526
|
-
/**
|
|
5527
|
-
* Get framework summary for display
|
|
5528
|
-
*/
|
|
5529
|
-
declare function getFrameworkSummary(framework: Framework): Promise<{
|
|
5530
|
-
name: string;
|
|
5531
|
-
category: string;
|
|
5532
|
-
ssrDefault: boolean;
|
|
5533
|
-
checkCount: number;
|
|
5534
|
-
strengths: string[];
|
|
5535
|
-
challenges: string[];
|
|
5536
|
-
} | null>;
|
|
5537
|
-
/**
|
|
5538
|
-
* Embed recipe content for bundling (called at build time)
|
|
5623
|
+
* The framework a response is built with, from all the evidence at once.
|
|
5624
|
+
*
|
|
5625
|
+
* Meta-frameworks beat the libraries they are built on without needing a rule to say so: a
|
|
5626
|
+
* Next.js page carries a decisive `/_next/static/` and at most weak React markers, so Next.js
|
|
5627
|
+
* wins on score. That is why nothing here encodes "nextjs outranks react".
|
|
5539
5628
|
*/
|
|
5540
|
-
declare function
|
|
5629
|
+
declare function detectFromEvidence(input: {
|
|
5630
|
+
html?: string;
|
|
5631
|
+
headers?: Record<string, string>;
|
|
5632
|
+
}): DetectionResult;
|
|
5541
5633
|
|
|
5542
5634
|
/**
|
|
5543
5635
|
* Framework Detection and SEO Recipes
|
|
@@ -5565,14 +5657,20 @@ declare function embedRecipe(framework: Framework, content: string): void;
|
|
|
5565
5657
|
* ```
|
|
5566
5658
|
*/
|
|
5567
5659
|
|
|
5568
|
-
declare const SUPPORTED_FRAMEWORKS: readonly ["
|
|
5660
|
+
declare const SUPPORTED_FRAMEWORKS: readonly ["angular", "astro", "django", "laravel", "nextjs", "nuxt", "rails", "react", "sveltekit", "vue", "wordpress"];
|
|
5569
5661
|
|
|
5662
|
+
type index_DetectionResult = DetectionResult;
|
|
5663
|
+
type index_Evidence = Evidence;
|
|
5570
5664
|
type index_Framework = Framework;
|
|
5571
5665
|
type index_FrameworkCheck = FrameworkCheck;
|
|
5572
5666
|
type index_FrameworkInfo = FrameworkInfo;
|
|
5573
5667
|
type index_FrameworkRecipe = FrameworkRecipe;
|
|
5668
|
+
declare const index_SCORE_FLOOR: typeof SCORE_FLOOR;
|
|
5669
|
+
declare const index_SIGNALS: typeof SIGNALS;
|
|
5574
5670
|
declare const index_SUPPORTED_FRAMEWORKS: typeof SUPPORTED_FRAMEWORKS;
|
|
5575
|
-
|
|
5671
|
+
type index_Signal = Signal;
|
|
5672
|
+
declare const index_WEIGHT: typeof WEIGHT;
|
|
5673
|
+
declare const index_detectFromEvidence: typeof detectFromEvidence;
|
|
5576
5674
|
declare const index_detectFromHeaders: typeof detectFromHeaders;
|
|
5577
5675
|
declare const index_detectFromHtml: typeof detectFromHtml;
|
|
5578
5676
|
declare const index_detectFromPackageJson: typeof detectFromPackageJson;
|
|
@@ -5588,7 +5686,7 @@ declare const index_getSeoChallenges: typeof getSeoChallenges;
|
|
|
5588
5686
|
declare const index_getTotalFrameworkChecks: typeof getTotalFrameworkChecks;
|
|
5589
5687
|
declare const index_loadRecipe: typeof loadRecipe;
|
|
5590
5688
|
declare namespace index {
|
|
5591
|
-
export { type index_Framework as Framework, type index_FrameworkCheck as FrameworkCheck, type index_FrameworkInfo as FrameworkInfo, type index_FrameworkRecipe as FrameworkRecipe, index_SUPPORTED_FRAMEWORKS as SUPPORTED_FRAMEWORKS,
|
|
5689
|
+
export { type index_DetectionResult as DetectionResult, type index_Evidence as Evidence, type index_Framework as Framework, type index_FrameworkCheck as FrameworkCheck, type index_FrameworkInfo as FrameworkInfo, type index_FrameworkRecipe as FrameworkRecipe, index_SCORE_FLOOR as SCORE_FLOOR, index_SIGNALS as SIGNALS, index_SUPPORTED_FRAMEWORKS as SUPPORTED_FRAMEWORKS, type index_Signal as Signal, index_WEIGHT as WEIGHT, detectFramework$1 as detectFramework, index_detectFromEvidence as detectFromEvidence, index_detectFromHeaders as detectFromHeaders, index_detectFromHtml as detectFromHtml, index_detectFromPackageJson as detectFromPackageJson, index_embedRecipe as embedRecipe, index_getFrameworkChecks as getFrameworkChecks, index_getFrameworkDisplayName as getFrameworkDisplayName, index_getFrameworkIssues as getFrameworkIssues, index_getFrameworkSuggestions as getFrameworkSuggestions, index_getFrameworkSummary as getFrameworkSummary, index_getMigrationPaths as getMigrationPaths, index_getPerformanceTips as getPerformanceTips, index_getSeoChallenges as getSeoChallenges, index_getTotalFrameworkChecks as getTotalFrameworkChecks, index_loadRecipe as loadRecipe };
|
|
5592
5690
|
}
|
|
5593
5691
|
|
|
5594
|
-
export { type AIContentConfig, type AIKeywordResearchOptions, type AgentDefinition, type AgentTool, type AlertChannel, type AlertConfig, type AlertMessage, type AlertResult, type AlertSeverity, type AlertType, type AuditAlertPayload, type AuditIssue, type AuditIssueData, type AuditOptions, type AuditPRResult, type AuditReport, type AuditReportData, type AuditRunnerOptions, type AuditRunnerResult, type AuditSchedule, type BlogPostConfig, type BrandConfig, type CIAction, type CIKeywordOptions, type CIKeywordResult, COMMIT_TYPES, type ChangelogConfig, type ChangelogResult, type CitationCheckOptions, type CommitConfig, type ComparisonConfig, type ComparisonRow, type CompetitiveInsight, type CompetitiveSearchOptions, type CompetitiveSearchResult, type CompetitorComparison, type CompetitorKeywordResult, type CompetitorOverlap, type CompetitorTool, type CompetitorUrl, type ContentElements, type ContentGeneratorOptions, type ContentRecommendation, type ConventionalCommit, type CrawlResult, type CrawlStats, type CrawledPage, type CreateAuditPROptions, type CreatePROptions, type DataForSEOCredentials, type DeterministicFixInput, type DeterministicFixes, type DiscoveredPage, type EnhancedToolIdea, type ExecOptions, type ExecuteOptions, type ExecutionResult, type FAQItem, type FAQSchemaOptions, type FeaturedSnippetAnalysis, type Fix, type FixFile, type FixGeneratorOptions, type FixResult, type FrameworkInfo$1 as FrameworkInfo, type FreeKeywordResult, type FreeToolIdea, type GA4Config, type GEOAlert, type GEOAlertType, type GEOHistory, type GEOHistoryOptions, type GEOQuery, type GEOReport, type GEOResult, type GEOTrend, type GSCConfig, type GSCCredentials, type GSCPerformanceData, type GSCQueryData, type GSCQueryResult, type GeneratedCode, type GeneratedContent, type GeneratedFix, type HeadingStructure, type HeadlineAnalysis, type HealthScore, ISSUE_DEFINITIONS, type ImageInfo$2 as ImageInfo, type InjectionResult, type IntentAnalysis, type IssueCategory, type IssueDefinition, type IssueSeverity, type KeyFact, type KeyFactsOptions, type KeywordAction, type KeywordCluster, type KeywordData, type KeywordDensityAnalysis, type KeywordLLM, type KeywordOpportunity, type KeywordRecommendation, type KeywordResearchOptions, type KeywordResearchResult, type KeywordStats, type KeywordTopic, type KeywordTrend, type LLMCitationResult, type LLMJudgeOptions, type LLMProvider, LOCATION_CODES, type LSIKeyword, type LinkInfo$1 as LinkInfo, type Mention, type MentionType, type MetaData, type MetaFixOptions, type NGram, type NLPAnalysisResult, OG_IMAGE_SPECS, type OptimizeOptions, type PRConfig, type PRDescription, PRIORITY_WEIGHTS, type PRResult, type PageAudit, type PageData, type PageMeta, type PaidKeywordResult, type ParsedResponse, type PlanTier, type ProviderStats, type QuickWin, type RankCheckOptions, type RankCheckResult, type RankHistory, RankTracker, type RankingResult, type RankingTierLimits, type ReadabilityResult, type ReadmeConfig, type ReadmeResult, type ReportBranding, type ReportConfig, type ReportData, type ReportPageData, type RouteInfo, type SEOAnalysisResult, type SEOFixCommit, type SEOFixSummary, type SEOIssue, type SEORecommendation, type SEOScore, SEO_SCOPES, SITE_PROFILE_QUESTIONS, type ScheduledAuditConfig, type ScheduledAuditResult, type SchemaData, Schemas, type SearchIntent, type Sentiment, type SerpApiConfig, SerpClient, type SerpClientConfig, type SerpFeature, type SiteCrawlResult, type SiteProfile, type SiteSummary, type SnippetRecommendation, type SnippetType, type SocialMetaConfig, type SocialMetaFix, type SummarizerOptions, type TFIDFResult, TIER_LIMITS, type ToolFeasibilityScore, type ToolFunction, type ToolResult, type TopicClusterResult, type TopicModel, type TrackedKeyword, type TrackerConfig, type TrackingOptions, type TrendDirection, type UncertaintyAssessment, type WizardQuestion, type WizardResponse, type WizardResult, type WizardSession, type WorkflowConfig, addTrackingResult, analyzeAnchorText, analyzeCanonicalAdvanced, analyzeClientRendering, analyzeContentFreshness, analyzeDOMStructure, analyzeFeaturedSnippetPotential, analyzeHeadings, analyzeHeadline, analyzeHreflang, analyzeImages$1 as analyzeImages, analyzeKeywordDensity, analyzeKeywords, analyzeLinks, analyzeLocalSEO, analyzeMobile, analyzeModernImages, analyzeOnPage, analyzePagination, analyzePerformance, analyzeReadability, analyzeRedirectChain, analyzeRedirects, analyzeResponsiveImages, analyzeSERPPreview, analyzeSecurity, analyzeSecurityHeaders$1 as analyzeSecurityHeaders, analyzeSocialMeta, analyzeStructuredData$1 as analyzeStructuredData, analyzeTrackerBloat, analyzeUrl, analyzeUrlSafety, index$1 as analyzers, applyFixes, buildDeterministicFixes, buildGSCApiRequest, buildGSCRequest, calculateAIVisibilityScore, calculateBM25, calculateTFIDF$1 as calculateKeywordTFIDF, calculateNextRun, calculateTFIDF, checkAIBotBlocking, checkAMP, checkAdsTxt, checkAppleTouchIcon, checkBalance, checkCertificate, checkDMARC, checkGitHubCLI, checkInternalRedirects, checkJSRenderingRatio, checkLLMCitations, checkLlmsTxt, checkMobileResources, checkPlaintextEmails, checkRedirects, checkRobots, checkRobotsTxt, checkSPF, checkSitemap, classifyIntent, classifyIntents, clusterKeywordsByEmbedding, compareCompetitorVisibility, comparePeriods, completeWizard, crawlSite, crawlUrl, createAuditPR, createFallbackSummary, createGEOHistory, createPullRequest, createSEOCommit, createSEOCommits, detectDuplicates, detectFramework
|
|
5692
|
+
export { type AIContentConfig, type AIKeywordResearchOptions, type AgentDefinition, type AgentTool, type AlertChannel, type AlertConfig, type AlertMessage, type AlertResult, type AlertSeverity, type AlertType, type AuditAlertPayload, type AuditIssue, type AuditIssueData, type AuditOptions, type AuditPRResult, type AuditReport, type AuditReportData, type AuditRunnerOptions, type AuditRunnerResult, type AuditSchedule, type BlogPostConfig, type BrandConfig, type CIAction, type CIKeywordOptions, type CIKeywordResult, COMMIT_TYPES, type ChangelogConfig, type ChangelogResult, type CitationCheckOptions, type CommitConfig, type ComparisonConfig, type ComparisonRow, type CompetitiveInsight, type CompetitiveSearchOptions, type CompetitiveSearchResult, type CompetitorComparison, type CompetitorKeywordResult, type CompetitorOverlap, type CompetitorTool, type CompetitorUrl, type ContentElements, type ContentGeneratorOptions, type ContentRecommendation, type ConventionalCommit, type CrawlResult, type CrawlStats, type CrawledPage, type CreateAuditPROptions, type CreatePROptions, type DataForSEOCredentials, type DeterministicFixInput, type DeterministicFixes, type DiscoveredPage, type EnhancedToolIdea, type ExecOptions, type ExecuteOptions, type ExecutionResult, type FAQItem, type FAQSchemaOptions, type FeaturedSnippetAnalysis, type Fix, type FixFile, type FixGeneratorOptions, type FixResult, type FrameworkInfo$1 as FrameworkInfo, type FreeKeywordResult, type FreeToolIdea, type GA4Config, type GEOAlert, type GEOAlertType, type GEOHistory, type GEOHistoryOptions, type GEOQuery, type GEOReport, type GEOResult, type GEOTrend, type GSCConfig, type GSCCredentials, type GSCPerformanceData, type GSCQueryData, type GSCQueryResult, type GeneratedCode, type GeneratedContent, type GeneratedFix, type HeadingStructure, type HeadlineAnalysis, type HealthScore, ISSUE_DEFINITIONS, type ImageInfo$2 as ImageInfo, type InjectionResult, type IntentAnalysis, type IssueCategory, type IssueDefinition, type IssueSeverity, type KeyFact, type KeyFactsOptions, type KeywordAction, type KeywordCluster, type KeywordData, type KeywordDensityAnalysis, type KeywordLLM, type KeywordOpportunity, type KeywordRecommendation, type KeywordResearchOptions, type KeywordResearchResult, type KeywordStats, type KeywordTopic, type KeywordTrend, type LLMCitationResult, type LLMJudgeOptions, type LLMProvider, LOCATION_CODES, type LSIKeyword, type LinkInfo$1 as LinkInfo, type Mention, type MentionType, type MetaData, type MetaFixOptions, type NGram, type NLPAnalysisResult, OG_IMAGE_SPECS, type OptimizeOptions, type PRConfig, type PRDescription, PRIORITY_WEIGHTS, type PRResult, type PageAudit, type PageData, type PageMeta, type PaidKeywordResult, type ParsedResponse, type PlanTier, type ProviderStats, type QuickWin, type RankCheckOptions, type RankCheckResult, type RankHistory, RankTracker, type RankingResult, type RankingTierLimits, type ReadabilityResult, type ReadmeConfig, type ReadmeResult, type ReportBranding, type ReportConfig, type ReportData, type ReportPageData, type RouteInfo, type SEOAnalysisResult, type SEOFixCommit, type SEOFixSummary, type SEOIssue, type SEORecommendation, type SEOScore, SEO_SCOPES, SITE_PROFILE_QUESTIONS, type ScheduledAuditConfig, type ScheduledAuditResult, type SchemaData, Schemas, type SearchIntent, type Sentiment, type SerpApiConfig, SerpClient, type SerpClientConfig, type SerpFeature, type SiteCrawlResult, type SiteProfile, type SiteSummary, type SnippetRecommendation, type SnippetType, type SocialMetaConfig, type SocialMetaFix, type SummarizerOptions, type TFIDFResult, TIER_LIMITS, type ToolFeasibilityScore, type ToolFunction, type ToolResult, type TopicClusterResult, type TopicModel, type TrackedKeyword, type TrackerConfig, type TrackingOptions, type TrendDirection, type UncertaintyAssessment, type WizardQuestion, type WizardResponse, type WizardResult, type WizardSession, type WorkflowConfig, addTrackingResult, analyzeAnchorText, analyzeCanonicalAdvanced, analyzeClientRendering, analyzeContentFreshness, analyzeDOMStructure, analyzeFeaturedSnippetPotential, analyzeHeadings, analyzeHeadline, analyzeHreflang, analyzeImages$1 as analyzeImages, analyzeKeywordDensity, analyzeKeywords, analyzeLinks, analyzeLocalSEO, analyzeMobile, analyzeModernImages, analyzeOnPage, analyzePagination, analyzePerformance, analyzeReadability, analyzeRedirectChain, analyzeRedirects, analyzeResponsiveImages, analyzeSERPPreview, analyzeSecurity, analyzeSecurityHeaders$1 as analyzeSecurityHeaders, analyzeSocialMeta, analyzeStructuredData$1 as analyzeStructuredData, analyzeTrackerBloat, analyzeUrl, analyzeUrlSafety, index$1 as analyzers, applyFixes, assessReplacement, buildDeterministicFixes, buildFrameworkGuidance, buildGSCApiRequest, buildGSCRequest, calculateAIVisibilityScore, calculateBM25, calculateTFIDF$1 as calculateKeywordTFIDF, calculateNextRun, calculateTFIDF, checkAIBotBlocking, checkAMP, checkAdsTxt, checkAppleTouchIcon, checkBalance, checkCertificate, checkDMARC, checkGitHubCLI, checkInternalRedirects, checkJSRenderingRatio, checkLLMCitations, checkLlmsTxt, checkMobileResources, checkPlaintextEmails, checkRedirects, checkRobots, checkRobotsTxt, checkSPF, checkSitemap, classifyIntent, classifyIntents, clusterKeywordsByEmbedding, compareCompetitorVisibility, comparePeriods, completeWizard, crawlSite, crawlUrl, createAuditPR, createFallbackSummary, createGEOHistory, createPullRequest, createSEOCommit, createSEOCommits, describeConcerns, detectDuplicates, detectFramework, detectGitHubPages, detectMentions, detectSoft404, detectTechnologies, detectVisibilityChanges, discoverCompetitorKeywords, discoverPagesFromLinks, discoverRoutesFromRepo, enhanceSummaryWithCompetitors, enhanceToolIdea, enrichKeywordsWithEstimates, ensureGitRepo, evaluateAndEnhanceToolIdeas, evaluateToolFeasibility, executeAgent, extractContentHash, extractEntityPhrases, extractImages, extractKeyPhrases, extractLinks, extractMeta, extractNgrams, extractSchema, extractSeedKeywords, extractTopics, fetchCoreWebVitals, findAlmostPage1Keywords, findAppRoot, findCTROpportunities, findHtmlEntry, findLSIKeywords, findPageFiles, findTopPerformers, formatAlertMessage, formatCIResult, formatCompetitorReport, formatConventionalCommit, formatFeaturedSnippetReport, formatHeadlineReport, formatIntentReport, formatKeywordDensityReport, formatKeywordReport, formatPRBody, formatPRTitle, formatReadabilityReport, formatReport, formatSEOCommitMessage, formatTopicReport, formatWizardProgress, index as frameworks, generateAICitableContent, generateAllFixes, generateAngularSEOService, generateAspNetCoreSEO, generateAstroBaseHead, generateAstroMeta, generateBlogPost, generateBranchName, generateChangelog, generateCommitSummary, generateComparisonTable, generateCompleteSocialMetaSetup, generateDjangoSEOHelper, generateDuplicateIssues, generateEleventySEO, generateFAQSchema, generateFixes, generateGA4EnvTemplate, generateGA4ReactComponent, generateGA4Script, generateGA4ViteScript, generateGEOReport, generateGSCVerificationTag, generateGitHubActionSetup, generateGoSEO, generateHTMLReport, generateHTMLSocialMeta, generateHTMXSEO, generateHeadlineVariations, generateHugoSEO, generateJekyllSEO, generateJsonReport, generateKeyFacts, generateLaravelSEOHelper, generateMarkdownReport, generateNextAppMetadata, generateNextJsAppRouterMetadata, generateNextJsPagesRouterHead, generateNextPagesHead, generateNuxtSEOHead, generatePDFReport, generatePRDescription, generatePhoenixSEO, generateRailsSEOHelper, generateReactHelmetSocialMeta, generateReactSEOHead, generateRecommendationQueries, generateRemixMeta, generateRemixSEO, generateSecretsDoc, generateSocialMetaFix, generateSpringBootSEO, generateSvelteKitMeta, generateSvelteKitSEOHead, generateUncertaintyQuestions, generateVueSEOHead, generateWizardQuestions, generateWorkflow, getAIVisibilitySummary, getAutocompleteSuggestions, getDateRange, getExpandedSuggestions, getFrameworkSpecificFix, getFrameworkSpecificFixExtended, getGSCSetupInstructions, getGitUser, getKeywordData, getKeywordSuggestions, getMaxKdThreshold, getNextQuestion, getRelatedKeywords, getVisibilityTrend, groupKeywordsByTopic, identifyQuickWins, injectGA4, injectGSCVerification, interpolatePrompt, isGitRepo, keywordLLM, listFiles, loadAgent, loadAgentByName, mergePages, openAIKeywordLLM, optimizeForAI, optimizeReadme, parseGEOResponse, parseGSCResponse, parseJsonReply, parseSitemap, prioritizeKeywords, processWizardResponse, readFile, routesToUrls, runAIKeywordResearch, runAIReadinessChecks, runAdditionalChecks, runAuditWithFixes, runCIKeywordResearch, runCrawlabilityChecks, runDirectAnalysis, runFullAudit, runKeywordResearch, runNLPAnalysis, runScheduledAudit, scoreContentSEO, scoreMention, searchCompetitors, searchFormatConverters, searchHackerNews, sendAlert, sendAlerts, sendDiscordAlert, sendSlackAlert, shouldRunAudit, shouldSendAlert, startWizardSession, suggestSchemaTypes, summarizeSite, tokenize, tools, trackLLMVisibility, transformGSCData, urlSafetyDatabase, wizardResponsesToContext, writeFile, writeGitHubActionFiles };
|