@rankcli/agent-runtime 0.0.16 → 0.0.18

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
@@ -85,17 +85,18 @@ pnpm add @rankcli/agent-runtime
85
85
  ### Full Audit
86
86
 
87
87
  ```typescript
88
- import { runAudit, generateFixes } from '@rankcli/agent-runtime';
88
+ import { runFullAudit, generateFixes } from '@rankcli/agent-runtime';
89
89
 
90
- const audit = await runAudit({
90
+ const audit = await runFullAudit({
91
91
  url: 'https://example.com',
92
92
  maxPages: 5,
93
- options: { geo: true }
94
93
  });
95
94
 
96
- const fixes = await generateFixes(audit.issues);
95
+ const fixes = await generateFixes(audit.issues, { cwd: process.cwd(), url: 'https://example.com' });
97
96
  ```
98
97
 
98
+ GEO/AI-readiness checks (crawler access, LLM content signals, citation readiness) run as part of every full audit — no separate flag needed.
99
+
99
100
  ### Generate AI-Friendly robots.txt
100
101
 
101
102
  ```typescript
package/dist/index.d.mts CHANGED
@@ -644,6 +644,7 @@ interface AIBotBlockingResult {
644
644
  blockedBots: string[];
645
645
  allowedBots: string[];
646
646
  allBlocked: boolean;
647
+ contentSignal: string | null;
647
648
  }
648
649
  interface CloudflareAICrawlerGateResult {
649
650
  behindCloudflare: boolean;
@@ -2751,12 +2752,11 @@ interface WorkflowConfig {
2751
2752
  siteUrl: string;
2752
2753
  features: {
2753
2754
  audit: boolean;
2754
- tracking: boolean;
2755
2755
  autoFix: boolean;
2756
2756
  createIssues: boolean;
2757
2757
  createPRs: boolean;
2758
2758
  };
2759
- apiKey?: string;
2759
+ syncToDashboard?: boolean;
2760
2760
  }
2761
2761
  /**
2762
2762
  * Generate GitHub Action workflow YAML
@@ -5341,6 +5341,7 @@ interface FrameworkCheck {
5341
5341
  impact?: string;
5342
5342
  detection?: {
5343
5343
  html_patterns?: string[];
5344
+ html_missing_patterns?: string[];
5344
5345
  missing_content?: boolean;
5345
5346
  title_in_js?: boolean;
5346
5347
  title_not_in_html?: boolean;
package/dist/index.d.ts CHANGED
@@ -644,6 +644,7 @@ interface AIBotBlockingResult {
644
644
  blockedBots: string[];
645
645
  allowedBots: string[];
646
646
  allBlocked: boolean;
647
+ contentSignal: string | null;
647
648
  }
648
649
  interface CloudflareAICrawlerGateResult {
649
650
  behindCloudflare: boolean;
@@ -2751,12 +2752,11 @@ interface WorkflowConfig {
2751
2752
  siteUrl: string;
2752
2753
  features: {
2753
2754
  audit: boolean;
2754
- tracking: boolean;
2755
2755
  autoFix: boolean;
2756
2756
  createIssues: boolean;
2757
2757
  createPRs: boolean;
2758
2758
  };
2759
- apiKey?: string;
2759
+ syncToDashboard?: boolean;
2760
2760
  }
2761
2761
  /**
2762
2762
  * Generate GitHub Action workflow YAML
@@ -5341,6 +5341,7 @@ interface FrameworkCheck {
5341
5341
  impact?: string;
5342
5342
  detection?: {
5343
5343
  html_patterns?: string[];
5344
+ html_missing_patterns?: string[];
5344
5345
  missing_content?: boolean;
5345
5346
  title_in_js?: boolean;
5346
5347
  title_not_in_html?: boolean;