Releases: ndycode/oc-chatgpt-multi-auth
Releases · ndycode/oc-chatgpt-multi-auth
v5.4.4
Improvements
- Hardened
codex-limitsusage fetching with AbortController timeouts, capped/redacted upstream error handling, and consistent abort-path coverage. - Fixed credential deduplication so accounts without refresh tokens are preserved instead of collapsing into a single entry.
- Preserved active-account labeling across deduplicated credentials and aligned fetched usage context with the displayed active account.
- Moved refreshed-credential persistence onto fresh storage transactions to avoid stale-write races and improve Windows file-lock resilience.
- Tightened fallback identity matching so same-email accounts from different workspaces cannot be overwritten during refresh recovery.
- Expanded regression coverage for refresh fan-out, transactional fallback identity handling, blank-token refresh rejection, redaction behavior, and multiple abort/read failure paths.
Chores
- Validation: npm run typecheck
- Validation: npm run lint
- Validation: npm test
- Validation: npm run build
Changelog
Full Changelog: v5.4.3...v5.4.4
v5.4.3
Improvements
- Added GPT-5.4 snapshot alias normalization for
gpt-5.4-2026-03-05*andgpt-5.4-pro-2026-03-05*IDs (including effort suffix variants). - Updated legacy GPT-5 aliases (
gpt-5,gpt-5-mini,gpt-5-nano) to normalize togpt-5.4as the default general family. - Split GPT-5.4 Pro prompt-family handling from GPT-5.4 for independent prompt/cache routing while preserving fallback behavior (
gpt-5.4-pro -> gpt-5.4). - Updated OpenCode templates/docs for GPT-5.4 1M context defaults and optional compact-window tuning guidance.
- Expanded regression coverage for snapshot aliases, pro-family separation, and legacy alias normalization.
Chores
- Validation: npm run typecheck
- Validation: npm run lint
- Validation: npm test
- Validation: npm run build
Changelog
Full Changelog: v5.4.2...v5.4.3
v5.4.2
Improvements
- Added GPT-5.4 runtime support as the latest general-purpose family across model normalization/map, prompt-family routing, quota probes, and fallback handling.
- Added optional/manual GPT-5.4 Pro support, including the default fallback edge
gpt-5.4-pro -> gpt-5.4in fallback mode. - Hardened GPT-5.4 family detection with boundary-aware matching to prevent accidental normalization/family routing for nearby version strings (for example
gpt-5.4). - Refreshed config templates and documentation to default to GPT-5.4 and document GPT-5.4 Pro reasoning/coercion behavior.
- Expanded regression coverage for GPT-5.4/GPT-5.4-pro normalization, reasoning, fallback, and edge-case routing.
Chores
- Validation: npm run typecheck
- Validation: npm run lint
- Validation: npm test
- Validation: npm run build
Changelog
Full Changelog: v5.4.1...v5.4.2
v5.4.1
Improvements
- Hardened auth-refresh failure handling for grouped removals by guarding the zero-removal path and applying refresh-token-scoped cooldown to live accounts.
- Cleared stale in-memory auth-failure counters when refresh tokens rotate during auth updates to prevent false-positive removals.
- Added regression coverage for zero grouped-removal handling and rotated refresh-token failure-state cleanup.
Chores
- Validation: npm run typecheck
- Validation: npm run lint
- Validation: npm test
- Validation: npm run build
Changelog
Full Changelog: v5.4.0...v5.4.1
v5.4.0
Improvements
- Preserved distinct org-scoped workspace identities when
organizationIdis shared butaccountIddiffers, across authorize-time matching and refresh-token collision pruning. - Aligned no-org duplicate handling to collapse only true identity-compatible records while keeping active-index remapping stable.
- Hardened id-token organization binding to canonical
idToken['https://api.openai.com/auth'].organizations[0].idsourcing.
Chores
- Validation: npm run lint
- Validation: npm run typecheck
- Validation: npm test
- Validation: npm run build
Changelog
Full Changelog: v5.3.4...v5.4.0
v5.3.4
Improvements
- Added beginner-friendly account management tools and guided UI flows across auth, backup/import/export, and safety guardrails.
- Hardened retry-budget behavior and account selection edge cases to prevent incorrect token accounting and improve failover messaging.
- Improved storage resilience for Windows file-lock scenarios with retry-safe rename paths and bounded pre-import backup writes.
Chores
- Validation: npm run lint
- Validation: npm run typecheck
- Validation: npm test
- Validation: npm run build
- Validation: node scripts/install-opencode-codex-auth.js --modern --dry-run
Changelog
Full Changelog: v5.3.3...v5.3.4
v5.3.3
Improvements
- Collapsed org-scoped and token-fallback duplicates that share refresh tokens into one canonical account, with stable active-index remapping after prune.
- Preserved merge metadata during dedupe, including latest rate-limit reset windows and restrictive enabled/cooldown account state.
- Hardened auth/storage test fixtures by isolating integration storage paths, cleaning temp artifacts, and replacing real-looking emails with reserved
@example.complaceholders.
Chores
- Validation: npm test
- Validation: npm run typecheck
- Validation: npm run build
Changelog
Full Changelog: v5.3.2...v5.3.3
v5.3.2
Improvements
- Preserved runtime patch/apply_patch/edit tool naming by updating Codex prompt rules and OpenCode bridge instructions to use the active schema verbatim.
- Added regression coverage ensuring runtime manifests and developer prompts keep apply_patch, patch, and edit names consistent across tool remap guidance.
Chores
- Validation: npm test
- Validation: npm run typecheck
- Validation: npm run build
Changelog
Full Changelog: v5.3.1...v5.3.2
v5.3.1
Improvements
- Fixed auth loader compatibility so stored Codex accounts are used even when host auth is non-OAuth, preventing fallback to API-key-only behavior.
- Added regression coverage for non-OAuth loader paths (stored accounts present vs empty account storage).
- Normalized proactive refresh exception result typing so strict TypeScript builds pass during release/publish flows.
Chores
- Validation: npm run test -- test/index.test.ts
- Validation: npm run test -- test/auth.test.ts
- Validation: npm run typecheck
- Validation: npm run build
- Publish: npm publish --ignore-scripts
Changelog
Full Changelog: v5.3.0...v5.3.1
v5.3.0
Improvements
- Added workspace-aware account persistence for multi-workspace OAuth candidates.
- Hardened organization/workspace identity reconciliation across refresh and verify-flagged restore flows.
- Refreshed README/docs architecture guidance to match native-vs-legacy request transform behavior and current repo structure.
Chores
- Validation: npm run typecheck
- Validation: npm run lint
- Validation: npm test
- Validation: npm run build
- Validation: npm run audit:ci
Changelog
Full Changelog: v5.2.3...v5.3.0