Skip to content

Commit 4ac9aa5

Browse files
committed
chore(release): v6.1.0
1 parent e19c645 commit 4ac9aa5

3 files changed

Lines changed: 52 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,55 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Added
1111
- (placeholder for next release)
1212

13+
## [6.1.0] - 2026-04-17
14+
15+
### Added
16+
- `codex-keychain` opt-in OS-keychain credential backend via `CODEX_KEYCHAIN=1` (macOS Keychain / Windows Credential Manager / Linux libsecret) (#132, #133, #134)
17+
- `codex-diag` redacted diagnostics snapshot tool for bug reports (#126)
18+
- `codex-diff` redacted config/account comparator (#129)
19+
- `NO_COLOR` and `FORCE_COLOR` environment-variable support in UI rendering (#126)
20+
- Multi-worktree collision detection with non-blocking warning (#130)
21+
- Circuit-breaker half-open gate wired into request pipeline (#123)
22+
- 20-scenario chaos fault-injection test suite (#128)
23+
- Contract tests pinning OpenAI OAuth, Codex chat, and Codex SSE response shapes (#131)
24+
- Dependabot, OpenSSF Scorecard, commit-msg hook, and release-please automation (#125, #127)
25+
- CI matrix: Node 18/20/22 on Ubuntu + Node 20 on Windows (#111)
26+
- Typed error hierarchy (BaseError + domain classes) in `lib/errors.ts` (#120)
27+
28+
### Changed
29+
- Refactor: `index.ts` reduced from 5975 to 3425 lines; all 18 tools extracted to `lib/tools/*` (#115, #121)
30+
- Refactor: `lib/storage.ts` split from 1419 to 79 lines across 12 submodules under `lib/storage/` (#116)
31+
- Refactor: `AccountManager` split into 4 domain services (state, persistence, rotation, recovery) (#122)
32+
- Refactor: `lib/recovery.ts` consolidated to barrel pattern (#117)
33+
- Refactor: renamed `lib/runtime-contracts.ts` into `lib/oauth-constants.ts` + `lib/error-sentinels.ts` (#118)
34+
- Refactor: Zod-validate remaining process boundaries (#119)
35+
- Removed dead modules `lib/auth-rate-limit.ts` and `lib/audit.ts` (854 lines total) (#109)
36+
37+
### Fixed
38+
- **CRITICAL**: Serialize `incrementAuthFailures` via per-refresh-token promise chain to prevent lost auth-failure counts across shared refresh tokens (#108)
39+
- Destructive defaults: `importAccounts` defaults to timestamped backup; `exportAccounts` defaults to `force: false`; `codex-remove` tool requires explicit `confirm: true` (#108)
40+
- Shutdown SIGINT/SIGTERM now awaits debounced `flushPendingSave`, preventing lost rotations (#110)
41+
- `schemaVersion > 3` now throws `StorageError(UNSUPPORTED_SCHEMA_VERSION)` instead of silently nulling data (#110)
42+
- V2 storage files are detected and either migrated or rejected explicitly (no more silent drop) (#113)
43+
- Credential merge: `||``??` prevents empty-string tokens resurrecting stale older values (#112)
44+
- `REDIRECT_URI` uses `127.0.0.1` literal for RFC 8252 compliance (#112)
45+
- Codex-CLI cross-process JSON now Zod-validated before merging (#112)
46+
- Logger `TOKEN_PATTERNS` extended to cover OpenAI opaque refresh/access/id tokens (#112, #126)
47+
- Installer `scripts/install-oc-codex-multi-auth-core.js` deep-merges `provider.openai` instead of clobbering user customizations; added `--dry-run` (#114)
48+
- F1 keychain post-merge: partial-migration staleness + `clearAccounts` ordering + rollback silent-clobber + lexicographic-sort bug (#133, #134)
49+
50+
### Documentation
51+
- Full-repository audit delivered in `docs/audits/` (#107)
52+
- README: added CI, Node, Scorecard, npm, license badges; new `Credential Storage` section (#124, #132)
53+
- CONTRIBUTING: local development, contract-fixture update, real-keychain testing sections (#124, #131, #132)
54+
- SECURITY: backend threat-model update (#132)
55+
- ARCHITECTURE.md refreshed to reflect v6 module layout (#124)
56+
- CHANGELOG: restructured to Keep-a-Changelog v1.1.0 (#124)
57+
58+
### Internal
59+
- Per-file coverage floor (70%) for `lib/**` and `index.ts` in `vitest.config.ts` (#125)
60+
- Test count: 2088 → 2234 (+146 regression + chaos + contract tests)
61+
1362
## [6.0.0] - 2026-04-06
1463

1564
### Added

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oc-codex-multi-auth",
3-
"version": "6.0.0",
3+
"version": "6.1.0",
44
"description": "OpenCode plugin for Codex-first GPT-5 workflows with ChatGPT Plus/Pro OAuth, multi-account rotation, and guided setup",
55
"main": "./dist/index.js",
66
"types": "./dist/index.d.ts",

0 commit comments

Comments
 (0)