@rankcli/agent-runtime 0.0.16 → 0.0.17
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 +5 -4
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +29667 -27480
- package/dist/index.mjs +29539 -27352
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -85,17 +85,18 @@ pnpm add @rankcli/agent-runtime
|
|
|
85
85
|
### Full Audit
|
|
86
86
|
|
|
87
87
|
```typescript
|
|
88
|
-
import {
|
|
88
|
+
import { runFullAudit, generateFixes } from '@rankcli/agent-runtime';
|
|
89
89
|
|
|
90
|
-
const audit = await
|
|
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
package/dist/index.d.ts
CHANGED