Config and environment
@cogs/env-doctor
Render env-var quoted-secret diagnosis and single-key fix — never bulk-replace.
Ships the cogs-env-doctor CLI, which the env-doctor Skill describes. Private: not on npm.
More packages
All packages →- 01
@cogs/config
Framework-agnostic layered-dotenv loader — resolves the canonical .env file chain, expands ${VAR} references, and folds values into process.env with deploy-injected variables staying authoritative. Dual ESM+CJS so it works from an ESM --import preload or a CJS --require hook (dd-trace and other one-offs)
- 02
@cogs/environment
Typed env registry machinery — a generic factory that turns a per-app variable catalog into a Zod runtime schema, startup validators, and a public-only client snapshot. Ships the framework, not the variable list
- 03
@cogs/supabase-sync
Supabase Management-API config sync tool + sites-registry harvester/driver. Never published — see .changeset/config.json ignore list.