#!/usr/bin/env node /** * ContextAtlas binary — entry point. * * Per ADR-12, the binary supports two modes: * * - **Default (no subcommand):** start the MCP server over stdio. * This path is a hard external contract — MCP clients spawn the * binary with no args and expect stdio JSON-RPC. All logging goes * to stderr (see src/mcp/logger.ts); stdout is reserved for the * JSON-RPC protocol stream. * - **`index` subcommand:** run the extraction pipeline and exit. * Produces `key=value` (or `--json`) summary on stdout. * * CLI: * contextatlas # MCP server over stdio * contextatlas --config-root # benchmarks-style: config lives elsewhere * contextatlas --config-root --config # pick one of many configs in * contextatlas --config # same as above but configRoot = cwd * contextatlas --check # staleness probe; exits without starting MCP * contextatlas index # run extraction pipeline * contextatlas index --full # force full re-extract * contextatlas index --json # JSON summary instead of key=value * * See ADR-08 for --config-root / --config / source-root, ADR-11 for * --check staleness semantics, and ADR-12 for the subcommand surface. */ export declare function main(): Promise; //# sourceMappingURL=index.d.ts.map