docsrs-cli 0.1.2

One-shot stdin/stdout CLI that fetches crates.io and docs.rs docs for LLM agents without a daemon
Documentation
# docsrs-cli
> One-shot stdin/stdout CLI for crates.io and docs.rs documentation for LLM agents.

docsrs-cli is a born-execute-finalize-die binary that searches crates, fetches README overviews and typed rustdoc items, and emits stable JSON envelopes on stdout with diagnostics only on stderr. Current release line is 0.1.x with ranked `--match` modes, effective-URL `--page-token` echo, method-scoped `extraction`, non-retryable `kind=budget`, cascade `--suggest`, hyphen path normalize, rustdoc chrome scrub, doctor `ok` parity, timeout-0 fail-closed, and `data.cache_hit`.

## Primary Documentation
- [README](README.md): product landing page, install, commands, env vars
- [How to use](docs/HOW_TO_USE.md): first command in 60 seconds
- [Agents](docs/AGENTS.md): agent integration contract and economy
- [Cookbook](docs/COOKBOOK.md): executable recipes
- [Cross platform](docs/CROSS_PLATFORM.md): OS matrix and XDG paths
- [Migration](docs/MIGRATION.md): 0.1.x / 1.1.x to 0.1.2 migration notes
- [Testing](docs/TESTING.md): how to run categorized tests and smoke-live
- [JSON schemas](docs/schemas/README.md): machine-readable payload contracts
- [Integrations](INTEGRATIONS.md): agents, shells, CI surfaces
- [Changelog](CHANGELOG.md): Keep a Changelog history including 0.1.2
- [Security](SECURITY.md): vulnerability reporting
- [Contributing](CONTRIBUTING.md): contributor workflow
- [English skill](skills/docsrs-cli-en/SKILL.md): imperative agent runbook
- [Portuguese skill](skills/docsrs-cli-pt/SKILL.md): runbook em português
- [Full index](llms-full.txt): expanded documentation map
- [Portuguese discovery](llms.pt-BR.txt): mapa em português
- [gaps.md](gaps.md): closed product gap matrix for 0.1.2

## Optional
- [get-item schema](docs/schemas/get-item.schema.json): item_name, resolved_version, extraction, cache_hit
- [search-in-crate schema](docs/schemas/search-in-crate.schema.json): match_mode, score, cache_hit
- [search-crates schema](docs/schemas/search-crates.schema.json): page tokens, effective echo, cache_hit
- [readme schema](docs/schemas/readme.schema.json): resolved_version and cache_hit
- [schema meta](docs/schemas/schema.schema.json): embedded schema document payload
- [completions schema](docs/schemas/completions.schema.json): shell + script JSON mode
- [error schema](docs/schemas/error.schema.json): budget kind, retryable flag, top-level error envelope
- [dry-run schema](docs/schemas/dry-run.schema.json): planned_url and planned_params.crate_name