feat: final consolidated codex multi-auth overhaul (runtime + tui + docs) - #4
Merged
Merged
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR is the single consolidated reset PR for the full Codex multi-auth overhaul.
It includes runtime/backend features, TUI UX refactor, Codex CLI integration updates, storage/config migration work, and complete documentation rewrite aligned to the current codebase.
Complete Detailed Summary
1) CLI and command routing
codex auth ...command surface for multi-account workflows:scripts/codex.jsscripts/codex-multi-auth.js@openai/codexwhen command is outside auth scope.2) TUI and UX refactor
lib/codex-manager.tsandlib/ui/*:3) Runtime resilience and backend logic
lib/capability-policy.tslib/entitlement-cache.tslib/forecast.tslib/quota-probe.tslib/quota-cache.tslib/preemptive-quota-scheduler.tslib/session-affinity.tslib/live-account-sync.tslib/refresh-guardian.tslib/refresh-lease.tslib/request/failure-policy.tslib/request/stream-failover.ts4) Storage, paths, and unified settings
lib/runtime-paths.tslib/unified-settings.tslib/dashboard-settings.tslib/schemas.ts,lib/config.ts) to support expanded settings and runtime controls.5) Codex CLI state sync improvements
lib/codex-cli/state.tslib/codex-cli/sync.tslib/codex-cli/writer.ts6) OAuth and auth flow support
lib/auth/browser.tslib/auth/server.ts7) Request/prompt/runtime integration updates
index.tslib/request/fetch-helpers.tslib/prompts/codex.tslib/prompts/opencode-codex.tslib/auto-update-checker.tslib/logger.tslib/audit.ts8) Documentation overhaul (fully aligned to actual codebase)
README.mddocs/README.mddocs/index.mddocs/features.mddocs/configuration.mddocs/troubleshooting.mddocs/privacy.mddocs/upgrade.mddocs/reference/commands.mddocs/reference/settings.mddocs/reference/storage-paths.mddocs/DOCUMENTATION.mddocs/development/ARCHITECTURE.mddocs/development/CONFIG_FIELDS.mddocs/development/CONFIG_FLOW.mddocs/development/REPOSITORY_SCOPE.mddocs/development/TESTING.mddocs/development/TUI_PARITY_CHECKLIST.mddocs/STYLE_GUIDE.mddocs/OPENCODE_PR_PROPOSAL.md9) Test coverage expansion
File/Change Scale
Validation
npm run lint✅npm run typecheck✅npm test✅ (72 files, 1790 tests)Reset Note