@lynxflow/seo-engine 2.2.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,7 +4,7 @@ High-Performance Universal Programmatic SEO & Structured Data Engine for Modern
4
4
 
5
5
  [![TypeScript](https://img.shields.io/badge/TypeScript-Ready-blue.svg)](https://www.typescriptlang.org/)
6
6
  [![License](https://img.shields.io/badge/License-Proprietary-green.svg)](LICENSE)
7
- [![Version](https://img.shields.io/badge/Version-2.2.0-orange.svg)](https://www.npmjs.com/package/@lynxflow/seo-engine)
7
+ [![Version](https://img.shields.io/badge/Version-2.4.0-orange.svg)](https://www.npmjs.com/package/@lynxflow/seo-engine)
8
8
 
9
9
  ---
10
10
 
@@ -0,0 +1,41 @@
1
+ /**
2
+ * 🎯 Above-The-Fold & Landing Page CRO Auditor
3
+ * Evaluates hero sections and landing page conversion architecture (0-100 Score).
4
+ * Analyzes Value Proposition clarity, CTA strength, Trust signals, and Friction points.
5
+ */
6
+ export interface AboveFoldAuditInput {
7
+ h1: string;
8
+ subheadline?: string;
9
+ primaryCtaText: string;
10
+ primaryCtaUrl?: string;
11
+ hasTestimonialsOrStars?: boolean;
12
+ hasRiskReversalOrGuarantee?: boolean;
13
+ hasCustomerLogos?: boolean;
14
+ pageContentSnippet?: string;
15
+ }
16
+ export interface CroCriterionResult {
17
+ name: string;
18
+ passed: boolean;
19
+ score: number;
20
+ feedback: string;
21
+ }
22
+ export interface AboveFoldCroReport {
23
+ croScore: number;
24
+ rating: "high_converting" | "solid" | "high_friction";
25
+ criteria: CroCriterionResult[];
26
+ recommendedFixes: string[];
27
+ suggestedHeroVariant: {
28
+ h1: string;
29
+ subheadline: string;
30
+ ctaText: string;
31
+ reassuranceBadge: string;
32
+ };
33
+ }
34
+ export declare class AboveFoldCroAuditor {
35
+ private static readonly STRONG_ACTION_VERBS;
36
+ private static readonly WEAK_ACTION_VERBS;
37
+ /**
38
+ * Audits hero section and returns a comprehensive CRO report.
39
+ */
40
+ static auditHero(input: AboveFoldAuditInput): AboveFoldCroReport;
41
+ }
@@ -0,0 +1,27 @@
1
+ /**
2
+ * 📁 Context Templates Generator for AI Coding Agents
3
+ * Automatically generates production-ready markdown configuration templates
4
+ * (.claude/ and context/ directories) for Claude Code, Cursor, and Antigravity.
5
+ */
6
+ export interface BrandContextInput {
7
+ brandName: string;
8
+ domain: string;
9
+ industry: string;
10
+ coreFeatures: string[];
11
+ targetAudience: string;
12
+ primaryKeywords: string[];
13
+ }
14
+ export declare class ContextTemplatesGenerator {
15
+ /**
16
+ * Generates a complete bundle of 8 context markdown files tailored to a brand.
17
+ */
18
+ static generateAllContextFiles(input: BrandContextInput): Record<string, string>;
19
+ static generateBrandVoice(input: BrandContextInput): string;
20
+ static generateFeatures(input: BrandContextInput): string;
21
+ static generateInternalLinksMap(input: BrandContextInput): string;
22
+ static generateStyleGuide(input: BrandContextInput): string;
23
+ static generateTargetKeywords(input: BrandContextInput): string;
24
+ static generateCompetitorAnalysis(input: BrandContextInput): string;
25
+ static generateSeoGuidelines(input: BrandContextInput): string;
26
+ static generateCroBestPractices(input: BrandContextInput): string;
27
+ }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * 🧹 Humanity AI Scrubber & Anti-AI Watermark Engine
3
+ * Detects and removes robotic LLM patterns, clichés, em-dash abuses, and filler phrases.
4
+ * Computes a rigorous Humanity Score (0-100) and produces humanized copy.
5
+ */
6
+ export interface AiClichéMatch {
7
+ pattern: string;
8
+ count: number;
9
+ category: "filler_word" | "robotic_intro" | "excessive_punctuation" | "overused_transition";
10
+ suggestion: string;
11
+ }
12
+ export interface HumanityScrubReport {
13
+ humanityScore: number;
14
+ aiProbabilityScore: number;
15
+ totalWords: number;
16
+ clichésDetectedCount: number;
17
+ clichés: AiClichéMatch[];
18
+ isHumanSounding: boolean;
19
+ scrubbedText: string;
20
+ improvementRecommendations: string[];
21
+ }
22
+ export declare class HumanityAiScrubber {
23
+ private static readonly BANNED_AI_WORDS;
24
+ private static readonly ROBOTIC_INTROS;
25
+ /**
26
+ * Analyzes text and returns a comprehensive Humanity Score and scrubbed output.
27
+ */
28
+ static analyzeAndScrub(text: string, language?: string): HumanityScrubReport;
29
+ }
package/dist/index.d.ts CHANGED
@@ -114,6 +114,14 @@ import { PageRegenerationTracker } from "./generation-tracker";
114
114
  import { GoogleIndexingClient } from "./google-indexing-client";
115
115
  import { AeoSnippetSynthesizer } from "./aeo-snippet-synthesizer";
116
116
  import { SemanticCannibalizationDetector } from "./semantic-cannibalization";
117
+ import { HumanityAiScrubber } from "./humanity-ai-scrubber";
118
+ import { SerpLengthComparator } from "./serp-length-comparator";
119
+ import { PassiveVoiceComplexityAnalyzer } from "./passive-voice-complexity";
120
+ import { AboveFoldCroAuditor } from "./above-fold-cro-auditor";
121
+ import { ContextTemplatesGenerator } from "./context-templates-generator";
122
+ import { SearchIntentClassifier } from "./search-intent-classifier";
123
+ import { SeoOpportunityPrioritizer } from "./seo-opportunity-prioritizer";
124
+ import { TrustSignalsExtractor } from "./trust-signals-extractor";
117
125
  export declare function createLynxSeoEngine(config: EngineConfig): LynxSeoEngine;
118
126
  export declare const LynxSeo: {
119
127
  createEngine: typeof createLynxSeoEngine;
@@ -125,6 +133,14 @@ export declare const LynxSeo: {
125
133
  googleIndexing: typeof GoogleIndexingClient;
126
134
  aeoSnippet: typeof AeoSnippetSynthesizer;
127
135
  cannibalization: typeof SemanticCannibalizationDetector;
136
+ humanityScrubber: typeof HumanityAiScrubber;
137
+ serpLength: typeof SerpLengthComparator;
138
+ readabilityComplexity: typeof PassiveVoiceComplexityAnalyzer;
139
+ aboveFoldCro: typeof AboveFoldCroAuditor;
140
+ contextTemplates: typeof ContextTemplatesGenerator;
141
+ searchIntent: typeof SearchIntentClassifier;
142
+ opportunityPrioritizer: typeof SeoOpportunityPrioritizer;
143
+ trustSignals: typeof TrustSignalsExtractor;
128
144
  inspectMeta: typeof SiteAuditor.inspectMeta;
129
145
  crawlDomain: typeof DeepCrawlerAuditor.crawlAndAuditDomain;
130
146
  inspectHtmlSnapshot: typeof DeepCrawlerAuditor.inspectHtmlSnapshot;
@@ -166,6 +182,14 @@ export declare const LynxSeo: {
166
182
  marketingSkills: typeof MarketingSkillsEngine;
167
183
  regenerationTracker: typeof PageRegenerationTracker;
168
184
  };
185
+ export * from "./search-intent-classifier";
186
+ export * from "./seo-opportunity-prioritizer";
187
+ export * from "./trust-signals-extractor";
188
+ export * from "./humanity-ai-scrubber";
189
+ export * from "./serp-length-comparator";
190
+ export * from "./passive-voice-complexity";
191
+ export * from "./above-fold-cro-auditor";
192
+ export * from "./context-templates-generator";
169
193
  export * from "./google-indexing-client";
170
194
  export * from "./aeo-snippet-synthesizer";
171
195
  export * from "./semantic-cannibalization";