@rankcli/agent-runtime 0.0.13 → 0.0.14
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 +181 -1
- package/dist/index.d.ts +181 -1
- package/dist/index.js +578 -15
- package/dist/index.mjs +575 -15
- package/package.json +2 -1
- package/src/audit/checks/client-rendering.ts +10 -10
- package/src/audit/checks/security-headers.ts +18 -2
- package/src/audit/engine.ts +12 -5
- package/src/index.ts +3 -0
- package/src/ranking/index.ts +5 -0
- package/src/ranking/serp-client.ts +348 -0
- package/src/ranking/tracker.ts +380 -0
- package/src/ranking/types.ts +123 -0
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import OpenAI from 'openai';
|
|
2
2
|
import { exec } from 'child_process';
|
|
3
|
+
import { SupabaseClient } from '@supabase/supabase-js';
|
|
3
4
|
|
|
4
5
|
interface AgentDefinition {
|
|
5
6
|
name: string;
|
|
@@ -4808,6 +4809,185 @@ declare function getAIVisibilitySummary(results: LLMCitationResult[]): {
|
|
|
4808
4809
|
overallSentiment: 'positive' | 'neutral' | 'negative' | 'mixed' | null;
|
|
4809
4810
|
};
|
|
4810
4811
|
|
|
4812
|
+
interface TrackedKeyword {
|
|
4813
|
+
id: string;
|
|
4814
|
+
projectId: string;
|
|
4815
|
+
keyword: string;
|
|
4816
|
+
searchEngine: 'google' | 'bing' | 'duckduckgo';
|
|
4817
|
+
country: string;
|
|
4818
|
+
language: string;
|
|
4819
|
+
currentPosition: number | null;
|
|
4820
|
+
previousPosition: number | null;
|
|
4821
|
+
bestPosition: number | null;
|
|
4822
|
+
trackUrl?: string;
|
|
4823
|
+
isActive: boolean;
|
|
4824
|
+
lastChecked: Date | null;
|
|
4825
|
+
createdAt: Date;
|
|
4826
|
+
}
|
|
4827
|
+
interface RankingResult {
|
|
4828
|
+
keywordId: string;
|
|
4829
|
+
keyword: string;
|
|
4830
|
+
position: number | null;
|
|
4831
|
+
url: string | null;
|
|
4832
|
+
serpFeatures: SerpFeature[];
|
|
4833
|
+
competitorUrls: CompetitorUrl[];
|
|
4834
|
+
checkedAt: Date;
|
|
4835
|
+
}
|
|
4836
|
+
interface SerpFeature {
|
|
4837
|
+
type: 'featured_snippet' | 'people_also_ask' | 'local_pack' | 'knowledge_panel' | 'image_pack' | 'video_carousel' | 'top_stories' | 'shopping_results' | 'site_links' | 'faq_rich_result';
|
|
4838
|
+
position?: number;
|
|
4839
|
+
hasOwnSite?: boolean;
|
|
4840
|
+
}
|
|
4841
|
+
interface CompetitorUrl {
|
|
4842
|
+
position: number;
|
|
4843
|
+
url: string;
|
|
4844
|
+
domain: string;
|
|
4845
|
+
title?: string;
|
|
4846
|
+
}
|
|
4847
|
+
interface RankHistory {
|
|
4848
|
+
position: number | null;
|
|
4849
|
+
url: string | null;
|
|
4850
|
+
serpFeatures: SerpFeature[];
|
|
4851
|
+
recordedAt: Date;
|
|
4852
|
+
}
|
|
4853
|
+
interface KeywordTrend {
|
|
4854
|
+
keywordId: string;
|
|
4855
|
+
keyword: string;
|
|
4856
|
+
currentPosition: number | null;
|
|
4857
|
+
bestPosition: number | null;
|
|
4858
|
+
positionChange: number;
|
|
4859
|
+
avgPosition: number;
|
|
4860
|
+
dataPoints: number;
|
|
4861
|
+
}
|
|
4862
|
+
interface SerpApiConfig {
|
|
4863
|
+
provider: 'valueserp' | 'serpapi' | 'scraper';
|
|
4864
|
+
apiKey?: string;
|
|
4865
|
+
rateLimit?: number;
|
|
4866
|
+
}
|
|
4867
|
+
interface RankCheckOptions {
|
|
4868
|
+
keywords: string[];
|
|
4869
|
+
domain: string;
|
|
4870
|
+
searchEngine?: 'google' | 'bing';
|
|
4871
|
+
country?: string;
|
|
4872
|
+
language?: string;
|
|
4873
|
+
device?: 'desktop' | 'mobile';
|
|
4874
|
+
}
|
|
4875
|
+
interface RankCheckResult {
|
|
4876
|
+
keyword: string;
|
|
4877
|
+
position: number | null;
|
|
4878
|
+
url: string | null;
|
|
4879
|
+
serpFeatures: SerpFeature[];
|
|
4880
|
+
topResults: CompetitorUrl[];
|
|
4881
|
+
checkedAt: Date;
|
|
4882
|
+
}
|
|
4883
|
+
interface RankingTierLimits {
|
|
4884
|
+
maxKeywords: number;
|
|
4885
|
+
checksPerDay: number;
|
|
4886
|
+
serpFeatures: boolean;
|
|
4887
|
+
competitorTracking: boolean;
|
|
4888
|
+
historyDays: number;
|
|
4889
|
+
}
|
|
4890
|
+
declare const TIER_LIMITS: Record<string, RankingTierLimits>;
|
|
4891
|
+
|
|
4892
|
+
interface SerpClientConfig {
|
|
4893
|
+
provider: 'valueserp' | 'serpapi' | 'direct';
|
|
4894
|
+
apiKey?: string;
|
|
4895
|
+
proxyUrl?: string;
|
|
4896
|
+
}
|
|
4897
|
+
declare class SerpClient {
|
|
4898
|
+
private config;
|
|
4899
|
+
constructor(config: SerpClientConfig);
|
|
4900
|
+
/**
|
|
4901
|
+
* Check ranking for a single keyword
|
|
4902
|
+
*/
|
|
4903
|
+
checkRank(options: RankCheckOptions): Promise<RankCheckResult[]>;
|
|
4904
|
+
private checkSingleKeyword;
|
|
4905
|
+
/**
|
|
4906
|
+
* ValueSERP API implementation
|
|
4907
|
+
* Docs: https://www.valueserp.com/docs
|
|
4908
|
+
*/
|
|
4909
|
+
private checkViaValueSerp;
|
|
4910
|
+
/**
|
|
4911
|
+
* SerpAPI implementation (alternative)
|
|
4912
|
+
* Docs: https://serpapi.com/search-api
|
|
4913
|
+
*/
|
|
4914
|
+
private checkViaSerpApi;
|
|
4915
|
+
/**
|
|
4916
|
+
* Direct scraping fallback (rate-limited, use with caution)
|
|
4917
|
+
*/
|
|
4918
|
+
private checkViaDirect;
|
|
4919
|
+
private parseValueSerpResponse;
|
|
4920
|
+
private parseSerpApiResponse;
|
|
4921
|
+
private parseDirectSearchResults;
|
|
4922
|
+
private extractDomain;
|
|
4923
|
+
private domainMatches;
|
|
4924
|
+
}
|
|
4925
|
+
|
|
4926
|
+
interface TrackerConfig {
|
|
4927
|
+
supabase: SupabaseClient;
|
|
4928
|
+
serpConfig: SerpClientConfig;
|
|
4929
|
+
}
|
|
4930
|
+
declare class RankTracker {
|
|
4931
|
+
private supabase;
|
|
4932
|
+
private serpClient;
|
|
4933
|
+
constructor(config: TrackerConfig);
|
|
4934
|
+
/**
|
|
4935
|
+
* Add keywords to track for a project
|
|
4936
|
+
*/
|
|
4937
|
+
addKeywords(projectId: string, keywords: string[], options?: {
|
|
4938
|
+
searchEngine?: 'google' | 'bing';
|
|
4939
|
+
country?: string;
|
|
4940
|
+
language?: string;
|
|
4941
|
+
trackUrl?: string;
|
|
4942
|
+
}): Promise<TrackedKeyword[]>;
|
|
4943
|
+
/**
|
|
4944
|
+
* Remove keywords from tracking
|
|
4945
|
+
*/
|
|
4946
|
+
removeKeywords(projectId: string, keywords: string[]): Promise<void>;
|
|
4947
|
+
/**
|
|
4948
|
+
* Get all tracked keywords for a project
|
|
4949
|
+
*/
|
|
4950
|
+
getKeywords(projectId: string, includeInactive?: boolean): Promise<TrackedKeyword[]>;
|
|
4951
|
+
/**
|
|
4952
|
+
* Check rankings for all active keywords in a project
|
|
4953
|
+
*/
|
|
4954
|
+
checkRankings(projectId: string, domain: string): Promise<RankingResult[]>;
|
|
4955
|
+
/**
|
|
4956
|
+
* Save a ranking result to the database
|
|
4957
|
+
*/
|
|
4958
|
+
private saveRanking;
|
|
4959
|
+
/**
|
|
4960
|
+
* Get ranking history for a keyword
|
|
4961
|
+
* Note: Full history requires keyword_ranking_history table with keyword_ranking_id
|
|
4962
|
+
* For now, returns current state as single history entry
|
|
4963
|
+
*/
|
|
4964
|
+
getHistory(keywordId: string, _days?: number): Promise<RankHistory[]>;
|
|
4965
|
+
/**
|
|
4966
|
+
* Get keyword trends for a project
|
|
4967
|
+
*/
|
|
4968
|
+
getTrends(projectId: string): Promise<KeywordTrend[]>;
|
|
4969
|
+
/**
|
|
4970
|
+
* Manual trend calculation fallback
|
|
4971
|
+
*/
|
|
4972
|
+
private calculateTrends;
|
|
4973
|
+
/**
|
|
4974
|
+
* Export ranking data as CSV
|
|
4975
|
+
*/
|
|
4976
|
+
exportCSV(projectId: string, days?: number): Promise<string>;
|
|
4977
|
+
/**
|
|
4978
|
+
* Calculate position trend from history
|
|
4979
|
+
*/
|
|
4980
|
+
private calculatePositionTrend;
|
|
4981
|
+
/**
|
|
4982
|
+
* Group keywords by search engine and country
|
|
4983
|
+
*/
|
|
4984
|
+
private groupKeywords;
|
|
4985
|
+
/**
|
|
4986
|
+
* Map database row to TrackedKeyword
|
|
4987
|
+
*/
|
|
4988
|
+
private mapKeyword;
|
|
4989
|
+
}
|
|
4990
|
+
|
|
4811
4991
|
/**
|
|
4812
4992
|
* Mobile SEO Analyzer
|
|
4813
4993
|
*
|
|
@@ -5607,4 +5787,4 @@ interface SyncAuditResult {
|
|
|
5607
5787
|
*/
|
|
5608
5788
|
declare function runSyncAudit(url: string, html: string, checksLimit: number): SyncAuditResult;
|
|
5609
5789
|
|
|
5610
|
-
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 ContentElements, type ContentGeneratorOptions, type ContentRecommendation, type ConventionalCommit, type CrawlResult, type CrawlStats, type CrawledPage, type CreateAuditPROptions, type CreatePROptions, type DataForSEOCredentials, 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 KeywordOpportunity, type KeywordRecommendation, type KeywordResearchOptions, type KeywordResearchResult, type KeywordStats, type KeywordTopic, 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 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 SiteCrawlResult, type SiteProfile, type SiteSummary, type SnippetRecommendation, type SnippetType, type SocialMetaConfig, type SocialMetaFix, type SummarizerOptions, type TFIDFResult, type ToolFeasibilityScore, type ToolFunction, type ToolResult, type TopicClusterResult, type TopicModel, type TrackingOptions, type TrendDirection, type UncertaintyAssessment, type WizardQuestion, type WizardResponse, type WizardResult, type WizardSession, type WorkflowConfig, addTrackingResult, analyzeAnchorText, analyzeCanonicalAdvanced, analyzeClientRendering, analyzeContentFreshness, analyzeConversionElements, analyzeDOMStructure, analyzeEntitySEO, analyzeFeaturedSnippetPotential, analyzeFreshnessSignals, analyzeFunnelIntent, analyzeHeadings, analyzeHeadline, analyzeHreflang, analyzeImages$1 as analyzeImages, analyzeInteractiveTools, analyzeKeywordDensity, analyzeKeywordPlacement, analyzeKeywords, analyzeLinks, analyzeLocalSEO, analyzeMobile, analyzeModernImages, analyzeNavBoostSignals, analyzeOnPage, analyzePagination, analyzePerformance, analyzePlatformPresence, analyzeReadability, analyzeRedirectChain, analyzeRedirects, analyzeResponsiveImages, analyzeSERPPreview, analyzeSecurity, analyzeSecurityHeaders$1 as analyzeSecurityHeaders, analyzeSocialMeta, analyzeStructuredData$1 as analyzeStructuredData, analyzeTopicalClusters, analyzeTrackerBloat, analyzeUrl, analyzeUrlSafety, index$1 as analyzers, applyFixes, 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$1 as 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, 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, listFiles, loadAgent, loadAgentByName, mergePages, optimizeForAI, optimizeReadme, parseGEOResponse, parseGSCResponse, parseSitemap, prioritizeKeywords, processWizardResponse, readFile, routesToUrls, runAIKeywordResearch, runAIReadinessChecks, runAdditionalChecks, runAuditWithFixes, runCIKeywordResearch, runCrawlabilityChecks, runDirectAnalysis, runFullAudit, runKeywordResearch, runNLPAnalysis, runScheduledAudit, runSyncAudit, scoreContentSEO, scoreMention, searchCompetitors, searchFormatConverters, searchHackerNews, sendAlert, sendAlerts, sendDiscordAlert, sendSlackAlert, shouldRunAudit, shouldSendAlert, startWizardSession, suggestSchemaTypes, summarizeSite, tokenize, tools, trackLLMVisibility, transformGSCData, urlSafetyDatabase, wizardResponsesToContext, writeFile, writeGitHubActionFiles };
|
|
5790
|
+
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 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 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, analyzeConversionElements, analyzeDOMStructure, analyzeEntitySEO, analyzeFeaturedSnippetPotential, analyzeFreshnessSignals, analyzeFunnelIntent, analyzeHeadings, analyzeHeadline, analyzeHreflang, analyzeImages$1 as analyzeImages, analyzeInteractiveTools, analyzeKeywordDensity, analyzeKeywordPlacement, analyzeKeywords, analyzeLinks, analyzeLocalSEO, analyzeMobile, analyzeModernImages, analyzeNavBoostSignals, analyzeOnPage, analyzePagination, analyzePerformance, analyzePlatformPresence, analyzeReadability, analyzeRedirectChain, analyzeRedirects, analyzeResponsiveImages, analyzeSERPPreview, analyzeSecurity, analyzeSecurityHeaders$1 as analyzeSecurityHeaders, analyzeSocialMeta, analyzeStructuredData$1 as analyzeStructuredData, analyzeTopicalClusters, analyzeTrackerBloat, analyzeUrl, analyzeUrlSafety, index$1 as analyzers, applyFixes, 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$1 as 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, 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, listFiles, loadAgent, loadAgentByName, mergePages, optimizeForAI, optimizeReadme, parseGEOResponse, parseGSCResponse, parseSitemap, prioritizeKeywords, processWizardResponse, readFile, routesToUrls, runAIKeywordResearch, runAIReadinessChecks, runAdditionalChecks, runAuditWithFixes, runCIKeywordResearch, runCrawlabilityChecks, runDirectAnalysis, runFullAudit, runKeywordResearch, runNLPAnalysis, runScheduledAudit, runSyncAudit, scoreContentSEO, scoreMention, searchCompetitors, searchFormatConverters, searchHackerNews, sendAlert, sendAlerts, sendDiscordAlert, sendSlackAlert, shouldRunAudit, shouldSendAlert, startWizardSession, suggestSchemaTypes, summarizeSite, tokenize, tools, trackLLMVisibility, transformGSCData, urlSafetyDatabase, wizardResponsesToContext, writeFile, writeGitHubActionFiles };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import OpenAI from 'openai';
|
|
2
2
|
import { exec } from 'child_process';
|
|
3
|
+
import { SupabaseClient } from '@supabase/supabase-js';
|
|
3
4
|
|
|
4
5
|
interface AgentDefinition {
|
|
5
6
|
name: string;
|
|
@@ -4808,6 +4809,185 @@ declare function getAIVisibilitySummary(results: LLMCitationResult[]): {
|
|
|
4808
4809
|
overallSentiment: 'positive' | 'neutral' | 'negative' | 'mixed' | null;
|
|
4809
4810
|
};
|
|
4810
4811
|
|
|
4812
|
+
interface TrackedKeyword {
|
|
4813
|
+
id: string;
|
|
4814
|
+
projectId: string;
|
|
4815
|
+
keyword: string;
|
|
4816
|
+
searchEngine: 'google' | 'bing' | 'duckduckgo';
|
|
4817
|
+
country: string;
|
|
4818
|
+
language: string;
|
|
4819
|
+
currentPosition: number | null;
|
|
4820
|
+
previousPosition: number | null;
|
|
4821
|
+
bestPosition: number | null;
|
|
4822
|
+
trackUrl?: string;
|
|
4823
|
+
isActive: boolean;
|
|
4824
|
+
lastChecked: Date | null;
|
|
4825
|
+
createdAt: Date;
|
|
4826
|
+
}
|
|
4827
|
+
interface RankingResult {
|
|
4828
|
+
keywordId: string;
|
|
4829
|
+
keyword: string;
|
|
4830
|
+
position: number | null;
|
|
4831
|
+
url: string | null;
|
|
4832
|
+
serpFeatures: SerpFeature[];
|
|
4833
|
+
competitorUrls: CompetitorUrl[];
|
|
4834
|
+
checkedAt: Date;
|
|
4835
|
+
}
|
|
4836
|
+
interface SerpFeature {
|
|
4837
|
+
type: 'featured_snippet' | 'people_also_ask' | 'local_pack' | 'knowledge_panel' | 'image_pack' | 'video_carousel' | 'top_stories' | 'shopping_results' | 'site_links' | 'faq_rich_result';
|
|
4838
|
+
position?: number;
|
|
4839
|
+
hasOwnSite?: boolean;
|
|
4840
|
+
}
|
|
4841
|
+
interface CompetitorUrl {
|
|
4842
|
+
position: number;
|
|
4843
|
+
url: string;
|
|
4844
|
+
domain: string;
|
|
4845
|
+
title?: string;
|
|
4846
|
+
}
|
|
4847
|
+
interface RankHistory {
|
|
4848
|
+
position: number | null;
|
|
4849
|
+
url: string | null;
|
|
4850
|
+
serpFeatures: SerpFeature[];
|
|
4851
|
+
recordedAt: Date;
|
|
4852
|
+
}
|
|
4853
|
+
interface KeywordTrend {
|
|
4854
|
+
keywordId: string;
|
|
4855
|
+
keyword: string;
|
|
4856
|
+
currentPosition: number | null;
|
|
4857
|
+
bestPosition: number | null;
|
|
4858
|
+
positionChange: number;
|
|
4859
|
+
avgPosition: number;
|
|
4860
|
+
dataPoints: number;
|
|
4861
|
+
}
|
|
4862
|
+
interface SerpApiConfig {
|
|
4863
|
+
provider: 'valueserp' | 'serpapi' | 'scraper';
|
|
4864
|
+
apiKey?: string;
|
|
4865
|
+
rateLimit?: number;
|
|
4866
|
+
}
|
|
4867
|
+
interface RankCheckOptions {
|
|
4868
|
+
keywords: string[];
|
|
4869
|
+
domain: string;
|
|
4870
|
+
searchEngine?: 'google' | 'bing';
|
|
4871
|
+
country?: string;
|
|
4872
|
+
language?: string;
|
|
4873
|
+
device?: 'desktop' | 'mobile';
|
|
4874
|
+
}
|
|
4875
|
+
interface RankCheckResult {
|
|
4876
|
+
keyword: string;
|
|
4877
|
+
position: number | null;
|
|
4878
|
+
url: string | null;
|
|
4879
|
+
serpFeatures: SerpFeature[];
|
|
4880
|
+
topResults: CompetitorUrl[];
|
|
4881
|
+
checkedAt: Date;
|
|
4882
|
+
}
|
|
4883
|
+
interface RankingTierLimits {
|
|
4884
|
+
maxKeywords: number;
|
|
4885
|
+
checksPerDay: number;
|
|
4886
|
+
serpFeatures: boolean;
|
|
4887
|
+
competitorTracking: boolean;
|
|
4888
|
+
historyDays: number;
|
|
4889
|
+
}
|
|
4890
|
+
declare const TIER_LIMITS: Record<string, RankingTierLimits>;
|
|
4891
|
+
|
|
4892
|
+
interface SerpClientConfig {
|
|
4893
|
+
provider: 'valueserp' | 'serpapi' | 'direct';
|
|
4894
|
+
apiKey?: string;
|
|
4895
|
+
proxyUrl?: string;
|
|
4896
|
+
}
|
|
4897
|
+
declare class SerpClient {
|
|
4898
|
+
private config;
|
|
4899
|
+
constructor(config: SerpClientConfig);
|
|
4900
|
+
/**
|
|
4901
|
+
* Check ranking for a single keyword
|
|
4902
|
+
*/
|
|
4903
|
+
checkRank(options: RankCheckOptions): Promise<RankCheckResult[]>;
|
|
4904
|
+
private checkSingleKeyword;
|
|
4905
|
+
/**
|
|
4906
|
+
* ValueSERP API implementation
|
|
4907
|
+
* Docs: https://www.valueserp.com/docs
|
|
4908
|
+
*/
|
|
4909
|
+
private checkViaValueSerp;
|
|
4910
|
+
/**
|
|
4911
|
+
* SerpAPI implementation (alternative)
|
|
4912
|
+
* Docs: https://serpapi.com/search-api
|
|
4913
|
+
*/
|
|
4914
|
+
private checkViaSerpApi;
|
|
4915
|
+
/**
|
|
4916
|
+
* Direct scraping fallback (rate-limited, use with caution)
|
|
4917
|
+
*/
|
|
4918
|
+
private checkViaDirect;
|
|
4919
|
+
private parseValueSerpResponse;
|
|
4920
|
+
private parseSerpApiResponse;
|
|
4921
|
+
private parseDirectSearchResults;
|
|
4922
|
+
private extractDomain;
|
|
4923
|
+
private domainMatches;
|
|
4924
|
+
}
|
|
4925
|
+
|
|
4926
|
+
interface TrackerConfig {
|
|
4927
|
+
supabase: SupabaseClient;
|
|
4928
|
+
serpConfig: SerpClientConfig;
|
|
4929
|
+
}
|
|
4930
|
+
declare class RankTracker {
|
|
4931
|
+
private supabase;
|
|
4932
|
+
private serpClient;
|
|
4933
|
+
constructor(config: TrackerConfig);
|
|
4934
|
+
/**
|
|
4935
|
+
* Add keywords to track for a project
|
|
4936
|
+
*/
|
|
4937
|
+
addKeywords(projectId: string, keywords: string[], options?: {
|
|
4938
|
+
searchEngine?: 'google' | 'bing';
|
|
4939
|
+
country?: string;
|
|
4940
|
+
language?: string;
|
|
4941
|
+
trackUrl?: string;
|
|
4942
|
+
}): Promise<TrackedKeyword[]>;
|
|
4943
|
+
/**
|
|
4944
|
+
* Remove keywords from tracking
|
|
4945
|
+
*/
|
|
4946
|
+
removeKeywords(projectId: string, keywords: string[]): Promise<void>;
|
|
4947
|
+
/**
|
|
4948
|
+
* Get all tracked keywords for a project
|
|
4949
|
+
*/
|
|
4950
|
+
getKeywords(projectId: string, includeInactive?: boolean): Promise<TrackedKeyword[]>;
|
|
4951
|
+
/**
|
|
4952
|
+
* Check rankings for all active keywords in a project
|
|
4953
|
+
*/
|
|
4954
|
+
checkRankings(projectId: string, domain: string): Promise<RankingResult[]>;
|
|
4955
|
+
/**
|
|
4956
|
+
* Save a ranking result to the database
|
|
4957
|
+
*/
|
|
4958
|
+
private saveRanking;
|
|
4959
|
+
/**
|
|
4960
|
+
* Get ranking history for a keyword
|
|
4961
|
+
* Note: Full history requires keyword_ranking_history table with keyword_ranking_id
|
|
4962
|
+
* For now, returns current state as single history entry
|
|
4963
|
+
*/
|
|
4964
|
+
getHistory(keywordId: string, _days?: number): Promise<RankHistory[]>;
|
|
4965
|
+
/**
|
|
4966
|
+
* Get keyword trends for a project
|
|
4967
|
+
*/
|
|
4968
|
+
getTrends(projectId: string): Promise<KeywordTrend[]>;
|
|
4969
|
+
/**
|
|
4970
|
+
* Manual trend calculation fallback
|
|
4971
|
+
*/
|
|
4972
|
+
private calculateTrends;
|
|
4973
|
+
/**
|
|
4974
|
+
* Export ranking data as CSV
|
|
4975
|
+
*/
|
|
4976
|
+
exportCSV(projectId: string, days?: number): Promise<string>;
|
|
4977
|
+
/**
|
|
4978
|
+
* Calculate position trend from history
|
|
4979
|
+
*/
|
|
4980
|
+
private calculatePositionTrend;
|
|
4981
|
+
/**
|
|
4982
|
+
* Group keywords by search engine and country
|
|
4983
|
+
*/
|
|
4984
|
+
private groupKeywords;
|
|
4985
|
+
/**
|
|
4986
|
+
* Map database row to TrackedKeyword
|
|
4987
|
+
*/
|
|
4988
|
+
private mapKeyword;
|
|
4989
|
+
}
|
|
4990
|
+
|
|
4811
4991
|
/**
|
|
4812
4992
|
* Mobile SEO Analyzer
|
|
4813
4993
|
*
|
|
@@ -5607,4 +5787,4 @@ interface SyncAuditResult {
|
|
|
5607
5787
|
*/
|
|
5608
5788
|
declare function runSyncAudit(url: string, html: string, checksLimit: number): SyncAuditResult;
|
|
5609
5789
|
|
|
5610
|
-
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 ContentElements, type ContentGeneratorOptions, type ContentRecommendation, type ConventionalCommit, type CrawlResult, type CrawlStats, type CrawledPage, type CreateAuditPROptions, type CreatePROptions, type DataForSEOCredentials, 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 KeywordOpportunity, type KeywordRecommendation, type KeywordResearchOptions, type KeywordResearchResult, type KeywordStats, type KeywordTopic, 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 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 SiteCrawlResult, type SiteProfile, type SiteSummary, type SnippetRecommendation, type SnippetType, type SocialMetaConfig, type SocialMetaFix, type SummarizerOptions, type TFIDFResult, type ToolFeasibilityScore, type ToolFunction, type ToolResult, type TopicClusterResult, type TopicModel, type TrackingOptions, type TrendDirection, type UncertaintyAssessment, type WizardQuestion, type WizardResponse, type WizardResult, type WizardSession, type WorkflowConfig, addTrackingResult, analyzeAnchorText, analyzeCanonicalAdvanced, analyzeClientRendering, analyzeContentFreshness, analyzeConversionElements, analyzeDOMStructure, analyzeEntitySEO, analyzeFeaturedSnippetPotential, analyzeFreshnessSignals, analyzeFunnelIntent, analyzeHeadings, analyzeHeadline, analyzeHreflang, analyzeImages$1 as analyzeImages, analyzeInteractiveTools, analyzeKeywordDensity, analyzeKeywordPlacement, analyzeKeywords, analyzeLinks, analyzeLocalSEO, analyzeMobile, analyzeModernImages, analyzeNavBoostSignals, analyzeOnPage, analyzePagination, analyzePerformance, analyzePlatformPresence, analyzeReadability, analyzeRedirectChain, analyzeRedirects, analyzeResponsiveImages, analyzeSERPPreview, analyzeSecurity, analyzeSecurityHeaders$1 as analyzeSecurityHeaders, analyzeSocialMeta, analyzeStructuredData$1 as analyzeStructuredData, analyzeTopicalClusters, analyzeTrackerBloat, analyzeUrl, analyzeUrlSafety, index$1 as analyzers, applyFixes, 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$1 as 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, 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, listFiles, loadAgent, loadAgentByName, mergePages, optimizeForAI, optimizeReadme, parseGEOResponse, parseGSCResponse, parseSitemap, prioritizeKeywords, processWizardResponse, readFile, routesToUrls, runAIKeywordResearch, runAIReadinessChecks, runAdditionalChecks, runAuditWithFixes, runCIKeywordResearch, runCrawlabilityChecks, runDirectAnalysis, runFullAudit, runKeywordResearch, runNLPAnalysis, runScheduledAudit, runSyncAudit, scoreContentSEO, scoreMention, searchCompetitors, searchFormatConverters, searchHackerNews, sendAlert, sendAlerts, sendDiscordAlert, sendSlackAlert, shouldRunAudit, shouldSendAlert, startWizardSession, suggestSchemaTypes, summarizeSite, tokenize, tools, trackLLMVisibility, transformGSCData, urlSafetyDatabase, wizardResponsesToContext, writeFile, writeGitHubActionFiles };
|
|
5790
|
+
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 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 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, analyzeConversionElements, analyzeDOMStructure, analyzeEntitySEO, analyzeFeaturedSnippetPotential, analyzeFreshnessSignals, analyzeFunnelIntent, analyzeHeadings, analyzeHeadline, analyzeHreflang, analyzeImages$1 as analyzeImages, analyzeInteractiveTools, analyzeKeywordDensity, analyzeKeywordPlacement, analyzeKeywords, analyzeLinks, analyzeLocalSEO, analyzeMobile, analyzeModernImages, analyzeNavBoostSignals, analyzeOnPage, analyzePagination, analyzePerformance, analyzePlatformPresence, analyzeReadability, analyzeRedirectChain, analyzeRedirects, analyzeResponsiveImages, analyzeSERPPreview, analyzeSecurity, analyzeSecurityHeaders$1 as analyzeSecurityHeaders, analyzeSocialMeta, analyzeStructuredData$1 as analyzeStructuredData, analyzeTopicalClusters, analyzeTrackerBloat, analyzeUrl, analyzeUrlSafety, index$1 as analyzers, applyFixes, 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$1 as 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, 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, listFiles, loadAgent, loadAgentByName, mergePages, optimizeForAI, optimizeReadme, parseGEOResponse, parseGSCResponse, parseSitemap, prioritizeKeywords, processWizardResponse, readFile, routesToUrls, runAIKeywordResearch, runAIReadinessChecks, runAdditionalChecks, runAuditWithFixes, runCIKeywordResearch, runCrawlabilityChecks, runDirectAnalysis, runFullAudit, runKeywordResearch, runNLPAnalysis, runScheduledAudit, runSyncAudit, scoreContentSEO, scoreMention, searchCompetitors, searchFormatConverters, searchHackerNews, sendAlert, sendAlerts, sendDiscordAlert, sendSlackAlert, shouldRunAudit, shouldSendAlert, startWizardSession, suggestSchemaTypes, summarizeSite, tokenize, tools, trackLLMVisibility, transformGSCData, urlSafetyDatabase, wizardResponsesToContext, writeFile, writeGitHubActionFiles };
|