iivo-cc
v0.2.1
Published
Quick Codex configuration helper for New API
Readme
iivo-cc
iivo-cc is a lightweight CLI package for quickly configuring Codex against a New API deployment.
Features
- Interactive quick setup with a three-step flow: choose or input API key, choose tools, then choose a model for each selected tool
- API keys are cached locally after input and can be cleared from the Step 1 menu
- Uses the default Codex base URL
https://ai.iivo.net/v1without prompting - Uses the default Claude Code base URL
https://ai.iivo.netwithout prompting - Uses the default OpenClaw base URL
https://ai.iivo.net/v1without prompting - Uses built-in defaults for provider config:
model_providers.my_codex, provider nameiivo, reasoning efforthigh - Provider section upsert for
model_providers.<provider_id> - Automatic config backup before overwrite
- Local API key helper written to
~/.config/iivo-cc/env.sh - Backup and restore commands
Local usage
From the repository root:
node ./bin/newapi-cc.js
node ./bin/newapi-cc.js quick
node ./bin/newapi-cc.js showFrom tools/newapi-cc:
node ./bin/newapi-cc.js
node ./bin/newapi-cc.js quick
node ./bin/newapi-cc.js showOr from the repository root without the wrapper:
node ./tools/newapi-cc/bin/newapi-cc.js quick
node ./tools/newapi-cc/bin/newapi-cc.js showIntended published usage
After publishing this package to npm:
npx iivo-ccWhat it writes
The quick setup updates:
~/.codex/config.toml~/.codex/auth.json~/.claude/settings.json~/.openclaw/openclaw.json~/.config/iivo-cc/env.sh
When an API key helper is created, the CLI also appends a source line to the detected shell rc file if needed.
Current tool support
Claude Codeis written to~/.claude/settings.json.Codexis fully written to~/.codex/config.tomland~/.codex/auth.json.OpenClawis written to~/.openclaw/openclaw.json.OpenCodecurrently saves only your selections and chosen models for future support.
Publish
From this directory:
npm publish --access publicNotes
- Codex Responses API uses the built-in default base URL
https://ai.iivo.net/v1. - The CLI does not delete unrelated sections from
~/.codex/config.toml. - Provider defaults are geared toward OpenAI-compatible Responses routing through New API.
