Documentation
¶
Overview ¶
Package runner wires the crawl engine, analyzer registry, and report builder into a single entry point used by both the CLI and the MCP server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildRegistry ¶
func BuildRegistry(fetcher crawler.Fetcher, opts RegistryOptions) *analyze.Registry
BuildRegistry constructs the default analyzer registry. The fetcher is used by analyzers that retrieve additional resources (e.g. the sitemap analyzer). opts turns on the opt-in analyzer modes; the zero value leaves every one of them off.
Types ¶
type AnalyzerInfo ¶
AnalyzerInfo describes one registered analyzer.
func ListAnalyzers ¶
func ListAnalyzers() []AnalyzerInfo
ListAnalyzers returns metadata for every registered analyzer.
type RegistryOptions ¶ added in v0.5.0
type RegistryOptions struct {
// Specialized enables the lower-confidence AI-search heuristics (AEO direct-answer-lead,
// GEO quotable-density) and the WordPress analyzer's active endpoint probes.
Specialized bool
// SecurityAudit enables the security analyzer's TLS, certificate, and cookie audit.
SecurityAudit bool
}
RegistryOptions turns on the analyzer modes that are off by default. Each corresponds to a config flag under `analyzers`; they are grouped here so adding one doesn't grow BuildRegistry's parameter list into a row of anonymous booleans.