Expand description
Per-ecosystem proxy-config emit per [per-ecosystem-proxy-config-emit-format decision 2026-05-20]. Phase 1 Tier A: npm + pypi + go.
CLEANLIB-373 + CLEANLIB-374 (cycle-18): extend the accepted-ecosystem list
with crates (cargo) and maven. The 8-ecosystem catalog the wire supports
today (npm, pypi, go, crates, maven, nuget, rubygems, composer) was already
locked in cli_matrix fixtures + the ecosystem-specific crates
(cleanlib-ecosystem-*); config init was still refusing two of the eight
at the CLI validation layer despite the App backend accepting them.
Each emit function returns a ProxyConfig holding the config-blob text +
the canonical local path where the file would be written. Callers
(typically [cleanlib config init]) decide whether to write or print.
Structs§
- Emit
Options - Options controlling emit shape.
- Proxy
Config - Emitted config: blob is the literal file/shell content; canonical_location
is the default write path (or empty for ecosystems without a single
canonical file like Go’s
GOPROXYenv).
Enums§
- Ecosystem
- Locked vocabulary per matrix §8 — ecosystem identifiers are always lowercase.
- Proxy
Config Error