@rankcli/agent-runtime 0.0.29 → 0.0.30
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 +190 -163
- package/dist/index.d.ts +190 -163
- package/dist/index.js +177 -13
- package/dist/index.mjs +174 -13
- package/package.json +1 -1
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' | '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: {
|
|
@@ -5381,164 +5567,6 @@ declare namespace index$1 {
|
|
|
5381
5567
|
export { type index$1_AIAccessResult as AIAccessResult, index$1_AI_CRAWLERS_INFO as AI_CRAWLERS_INFO, type index$1_AnchorTextStats as AnchorTextStats, type index$1_CitationResult as CitationResult, type index$1_ComprehensiveSEOResult as ComprehensiveSEOResult, type index$1_ContentStructureResult as ContentStructureResult, type index$1_ContentWidthAnalysis as ContentWidthAnalysis, type index$1_CoreWebVitalsEstimate as CoreWebVitalsEstimate, type index$1_EntityResult as EntityResult, type index$1_FontSizeAnalysis as FontSizeAnalysis, type index$1_GEOAnalysisResult as GEOAnalysisResult, type index$1_ImageAnalysisResult as ImageAnalysisResult, type index$1_ImageInfo as ImageInfo, type index$1_InternalLinkingResult as InternalLinkingResult, type index$1_LLMSignalResult as LLMSignalResult, type index$1_LinkInfo as LinkInfo, type index$1_MobileSEOResult as MobileSEOResult, type index$1_MobileSpecificAnalysis as MobileSpecificAnalysis, type index$1_SchemaItem as SchemaItem, type index$1_SecurityHeadersResult as SecurityHeadersResult, type index$1_StructuredDataResult as StructuredDataResult, type index$1_TouchTargetAnalysis as TouchTargetAnalysis, type index$1_ViewportAnalysis as ViewportAnalysis, index$1_analyzeCitationReadiness as analyzeCitationReadiness, index$1_analyzeComprehensive as analyzeComprehensive, index$1_analyzeContentStructure as analyzeContentStructure, index$1_analyzeCoreWebVitals as analyzeCoreWebVitals, index$1_analyzeEntityExtraction as analyzeEntityExtraction, index$1_analyzeGEO as analyzeGEO, index$1_analyzeImages as analyzeImages, index$1_analyzeInternalLinking as analyzeInternalLinking, index$1_analyzeMobileSEO as analyzeMobileSEO, index$1_analyzeRobotsTxtForAI as analyzeRobotsTxtForAI, index$1_analyzeSecurityHeaders as analyzeSecurityHeaders, index$1_analyzeStructuredData as analyzeStructuredData, index$1_calculateLLMSignals as calculateLLMSignals, index$1_detectRenderingMode as detectRenderingMode, index$1_generateAIFriendlyRobotsTxt as generateAIFriendlyRobotsTxt, index$1_generateResponsiveImage as generateResponsiveImage, index$1_generateSchemaTemplate as generateSchemaTemplate, index$1_generateSecurityHeaders as generateSecurityHeaders, index$1_suggestInternalLinks as suggestInternalLinks };
|
|
5382
5568
|
}
|
|
5383
5569
|
|
|
5384
|
-
/**
|
|
5385
|
-
* Framework Detection
|
|
5386
|
-
*
|
|
5387
|
-
* Detects web frameworks from:
|
|
5388
|
-
* 1. HTML signatures (data attributes, meta tags, scripts)
|
|
5389
|
-
* 2. package.json / Gemfile / requirements.txt / composer.json / etc.
|
|
5390
|
-
* 3. File structure patterns
|
|
5391
|
-
* 4. HTTP response headers
|
|
5392
|
-
*
|
|
5393
|
-
* Supports 25+ frameworks across JavaScript, Ruby, Python, PHP, Java, C#, Go, and Elixir.
|
|
5394
|
-
*/
|
|
5395
|
-
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' | 'unknown';
|
|
5396
|
-
type Language = 'javascript' | 'typescript' | 'ruby' | 'python' | 'php' | 'java' | 'csharp' | 'go' | 'elixir' | 'rust' | 'unknown';
|
|
5397
|
-
interface FrameworkInfo {
|
|
5398
|
-
framework: Framework;
|
|
5399
|
-
version?: string;
|
|
5400
|
-
language: Language;
|
|
5401
|
-
confidence: 'high' | 'medium' | 'low';
|
|
5402
|
-
detected_from: 'html' | 'package.json' | 'files' | 'headers' | 'gemfile' | 'requirements' | 'composer' | 'pom' | 'csproj' | 'go.mod' | 'mix.exs';
|
|
5403
|
-
meta_framework?: Framework;
|
|
5404
|
-
}
|
|
5405
|
-
/**
|
|
5406
|
-
* Detect framework from HTML content
|
|
5407
|
-
*/
|
|
5408
|
-
declare function detectFromHtml(html: string): FrameworkInfo | null;
|
|
5409
|
-
/**
|
|
5410
|
-
* Detect framework from package.json content (JavaScript/TypeScript)
|
|
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;
|
|
5470
|
-
}
|
|
5471
|
-
interface FrameworkRecipe {
|
|
5472
|
-
framework: Framework;
|
|
5473
|
-
display_name: string;
|
|
5474
|
-
category: string;
|
|
5475
|
-
base_framework?: Framework;
|
|
5476
|
-
ssr_default: boolean;
|
|
5477
|
-
seo_challenges?: string[];
|
|
5478
|
-
seo_strengths?: string[];
|
|
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[];
|
|
5489
|
-
}
|
|
5490
|
-
/**
|
|
5491
|
-
* Load a recipe from embedded content or file system
|
|
5492
|
-
*/
|
|
5493
|
-
declare function loadRecipe(framework: Framework): Promise<FrameworkRecipe | null>;
|
|
5494
|
-
/**
|
|
5495
|
-
* Get framework-specific issues based on HTML analysis
|
|
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)
|
|
5539
|
-
*/
|
|
5540
|
-
declare function embedRecipe(framework: Framework, content: string): void;
|
|
5541
|
-
|
|
5542
5570
|
/**
|
|
5543
5571
|
* Framework Detection and SEO Recipes
|
|
5544
5572
|
*
|
|
@@ -5565,14 +5593,13 @@ declare function embedRecipe(framework: Framework, content: string): void;
|
|
|
5565
5593
|
* ```
|
|
5566
5594
|
*/
|
|
5567
5595
|
|
|
5568
|
-
declare const SUPPORTED_FRAMEWORKS: readonly ["
|
|
5596
|
+
declare const SUPPORTED_FRAMEWORKS: readonly ["angular", "astro", "django", "laravel", "nextjs", "nuxt", "rails", "react", "sveltekit", "vue", "wordpress"];
|
|
5569
5597
|
|
|
5570
5598
|
type index_Framework = Framework;
|
|
5571
5599
|
type index_FrameworkCheck = FrameworkCheck;
|
|
5572
5600
|
type index_FrameworkInfo = FrameworkInfo;
|
|
5573
5601
|
type index_FrameworkRecipe = FrameworkRecipe;
|
|
5574
5602
|
declare const index_SUPPORTED_FRAMEWORKS: typeof SUPPORTED_FRAMEWORKS;
|
|
5575
|
-
declare const index_detectFramework: typeof detectFramework;
|
|
5576
5603
|
declare const index_detectFromHeaders: typeof detectFromHeaders;
|
|
5577
5604
|
declare const index_detectFromHtml: typeof detectFromHtml;
|
|
5578
5605
|
declare const index_detectFromPackageJson: typeof detectFromPackageJson;
|
|
@@ -5588,7 +5615,7 @@ declare const index_getSeoChallenges: typeof getSeoChallenges;
|
|
|
5588
5615
|
declare const index_getTotalFrameworkChecks: typeof getTotalFrameworkChecks;
|
|
5589
5616
|
declare const index_loadRecipe: typeof loadRecipe;
|
|
5590
5617
|
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,
|
|
5618
|
+
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, detectFramework$1 as detectFramework, 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
5619
|
}
|
|
5593
5620
|
|
|
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
|
|
5621
|
+
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 };
|