new-era-auto
v0.3.2
Published
New Era one-step API configuration for Claude Code and Codex.
Downloads
50
Readme
New Era Auto
One-step local setup for New Era API access.
npx new-era-autoThe setup flow asks for the client's New Era API key. It does not ask for or display provider URLs during the normal flow.
Menu
The interactive menu supports:
- configure all supported tools
- configure Claude Code
- configure Codex
- check current configuration
Direct commands
npx new-era-auto configure --tool=all
npx new-era-auto configure --tool=claude
npx new-era-auto configure --tool=codex
npx new-era-auto check
npx new-era-auto doctor
npx new-era-auto test claudedoctor checks both local configuration and TCP reachability for the New Era
endpoints. It does not send the API key.
test claude runs Claude Code in non-interactive mode and checks for a real
response using the local ~/.claude/settings.json configuration.
Files written
Claude Code:
~/.claude.json~/.claude/settings.json
Codex:
~/.codex/config.toml~/.codex/auth.json
Existing files are copied to .bak.<timestamp> before edits.
Security note
This hides provider URLs from the setup flow, not from the local machine. Advanced users can still inspect their own config files or the package source.
