Repository navigation
0.2.1
Added
geo-ai-cli (new package — v0.1.0)
A new standalone CLI package for the GEO AI ecosystem.
npm install -g geo-ai-cli
# or per-project:
npm install --save-dev geo-ai-cliCommands:
geo-ai init— scaffolds ageo-ai.config.tsstarter file in the current directory with placeholder values forsiteName,siteUrl,siteDescription,crawlers, and aprovidersection. Exits safely if a config already exists.geo-ai generate— loads config (auto-discoversgeo-ai.config.ts→.js→.json), callsgeo-ai-coreto generate content, and writesllms.txt+llms-full.txtto./public(or--out <path>). Creates the output directory if missing.geo-ai validate— checks thatllms.txtandllms-full.txtare present and have valid content. Supports local files (--path <dir>) and remote URLs (--url <url>). Reportspass/warn/fail/not_foundper file with actionable recommendations. Exits1on anyfailornot_found.geo-ai inspect— previews your config: site name, URL, description, crawler rules, output directory, and resource sections with item counts. With--url, fetches and displays remotellms.txt/llms-full.txtcontent.
Flags:
--config <path>— override config file path--out <path>— override output directory (generate)--path <dir>— local directory to validate--url <url>— remote base URL for validate/inspect--help/-h— show help (global or per-command)--version/-v— show version
Error handling:
- Typed error classes with exit codes:
ConfigNotFoundError,ConfigParseError,ConfigValidationError,FsWriteError,NetworkError→ exit1;InternalError→ exit2 DEBUG=geo-aienv var prints stack traces to stderr- No raw stack traces on stdout
Technical:
- Zero runtime dependencies beyond
geo-ai-core - ESM-only build (
dist/cli.mjs) with#!/usr/bin/env nodeshebang - Programmatic API via
dist/index.mjswith full TypeScript declarations - Node.js >= 20 required
Docs
- Added
geo-ai-clito ecosystem tables and installation sections ingeo-ai-coreand root README - Added
descriptionfield togeo-ai-coreandgeo-ai-nextpackage.jsonfor npm listing - Added
README.mdandCHANGELOG.mdtofilesin all three packages geo-ai-core/README.md: new Ecosystem section with package comparison table