Skip to content

Commit c564946

Browse files
committed
Merge origin/main into feat/workspace-disabled-auto-rotate
2 parents 6a73862 + 11073f3 commit c564946

23 files changed

Lines changed: 7240 additions & 1257 deletions

README.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ Codex CLI-first multi-account OAuth manager for the official `@openai/codex` CLI
5050
### Option A: Standard install
5151

5252
```bash
53-
npm i -g @openai/codex
5453
npm i -g codex-multi-auth
5554
```
5655

@@ -75,18 +74,16 @@ codex auth status
7574

7675
### Step-by-step
7776

78-
1. Install global packages:
79-
- `npm i -g @openai/codex`
77+
1. Install global package:
8078
- `npm i -g codex-multi-auth`
8179
2. Run first login flow with `codex auth login`
82-
3. Validate state with `codex auth list` and `codex auth check`
80+
3. Validate state with `codex auth status` and `codex auth check`
8381
4. Confirm routing with `codex auth forecast --live`
8482

8583
### Verification
8684

8785
```bash
8886
codex auth status
89-
codex auth list
9087
codex auth check
9188
```
9289

@@ -98,7 +95,7 @@ codex auth check
9895

9996
```bash
10097
codex auth login
101-
codex auth list
98+
codex auth status
10299
codex auth check
103100
codex auth forecast --live
104101
```
@@ -278,9 +275,9 @@ codex auth doctor --json
278275

279276
## Release Notes
280277

281-
- Current stable: [docs/releases/v0.1.5.md](docs/releases/v0.1.5.md)
282-
- Previous stable: [docs/releases/v0.1.4.md](docs/releases/v0.1.4.md)
283-
- Earlier stable: [docs/releases/v0.1.3.md](docs/releases/v0.1.3.md)
278+
- Current stable: [docs/releases/v1.1.10.md](docs/releases/v1.1.10.md)
279+
- Previous stable: [docs/releases/v0.1.9.md](docs/releases/v0.1.9.md)
280+
- Earlier stable: [docs/releases/v0.1.8.md](docs/releases/v0.1.8.md)
284281
- Archived prerelease: [docs/releases/v0.1.0-beta.0.md](docs/releases/v0.1.0-beta.0.md)
285282

286283
## License

docs/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@ Public documentation for `codex-multi-auth`.
2626
| [troubleshooting.md](troubleshooting.md) | Recovery playbooks for install, login, switching, and stale state |
2727
| [privacy.md](privacy.md) | Data handling and local storage behavior |
2828
| [upgrade.md](upgrade.md) | Migration from legacy package and path history |
29-
| [releases/v0.1.8.md](releases/v0.1.8.md) | Stable release notes |
30-
| [releases/v0.1.7.md](releases/v0.1.7.md) | Previous stable release notes |
31-
| [releases/v0.1.6.md](releases/v0.1.6.md) | Earlier stable release notes |
29+
| [releases/v1.1.10.md](releases/v1.1.10.md) | Stable release notes |
30+
| [releases/v0.1.9.md](releases/v0.1.9.md) | Previous stable release notes |
31+
| [releases/v0.1.8.md](releases/v0.1.8.md) | Earlier stable release notes |
32+
| [releases/v0.1.7.md](releases/v0.1.7.md) | Archived stable release notes |
33+
| [releases/v0.1.6.md](releases/v0.1.6.md) | Archived stable release notes |
3234
| [releases/v0.1.5.md](releases/v0.1.5.md) | Archived stable release notes |
3335
| [releases/v0.1.0-beta.0.md](releases/v0.1.0-beta.0.md) | Archived prerelease notes |
3436

@@ -43,7 +45,7 @@ Public documentation for `codex-multi-auth`.
4345
| [reference/storage-paths.md](reference/storage-paths.md) | Canonical and compatibility storage paths |
4446
| [reference/public-api.md](reference/public-api.md) | Public API stability and semver contract |
4547
| [reference/error-contracts.md](reference/error-contracts.md) | CLI, JSON, and helper error semantics |
46-
| [releases/v0.1.8.md](releases/v0.1.8.md) | Current stable release notes |
48+
| [releases/v1.1.10.md](releases/v1.1.10.md) | Current stable release notes |
4749
| [releases/v0.1.0-beta.0.md](releases/v0.1.0-beta.0.md) | Archived prerelease reference |
4850
| [User Guides release notes](#user-guides) | Stable, previous, and archived release notes |
4951
| [releases/legacy-pre-0.1-history.md](releases/legacy-pre-0.1-history.md) | Archived pre-0.1 changelog history |

docs/development/IA_FINDABILITY_AUDIT_2026-03-01.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Near-miss to remediation traceability:
105105
- "How to run commands": `docs/reference/commands.md`
106106
- "Fallback routing or alias recovery": `docs/troubleshooting.md`
107107
- "Migration from legacy package/path": `docs/upgrade.md`
108-
- "Current stable release": `docs/releases/v0.1.1.md`
108+
- "Current stable release": `docs/releases/v1.1.10.md`
109109

110110
### Labeling model
111111

docs/releases/v0.1.9.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# Release v0.1.9
2+
3+
Release date: 2026-03-13
4+
Channel: `latest`
5+
6+
## Highlights
7+
8+
- Preserved distinct business accounts that share a workspace `accountId` so no-email login, refresh, and restore paths stop overwriting sibling seats.
9+
- Aligned guarded identity matching across runtime login, CLI recovery, storage normalization, import preview/apply, and entitlement tracking.
10+
- Hardened rollback and regression coverage for concurrent persistence, flagged-account recovery, malformed-token rows, and shared-workspace edge cases.
11+
12+
## Install
13+
14+
```bash
15+
npm i -g @openai/codex
16+
npm i -g codex-multi-auth
17+
```
18+
19+
## Core Operations
20+
21+
```bash
22+
codex auth login
23+
codex auth list
24+
codex auth status
25+
codex auth check
26+
codex auth forecast --live
27+
```
28+
29+
## Validation Snapshot
30+
31+
Release gate commands:
32+
33+
- `npm run clean:repo:check`
34+
- `npm run audit:ci`
35+
- `npm run lint`
36+
- `npm test -- test/documentation.test.ts`
37+
- `npm test -- test/accounts.test.ts test/oc-chatgpt-import-adapter.test.ts test/index.test.ts test/storage.test.ts test/codex-manager-cli.test.ts test/entitlement-cache.test.ts`
38+
39+
Broad validation result:
40+
41+
- `repo-hygiene check passed`
42+
- `npm run audit:ci` passed at the configured high-severity threshold; the remaining `hono` advisory stayed below that gate
43+
- `npm run lint` passed
44+
- `19/19` documentation integrity tests passed after promoting the new stable release notes
45+
- `6/6` targeted shared-account regression suites passed (`405/405` tests)
46+
47+
Known baseline blockers observed during release validation:
48+
49+
- `npm run typecheck` fails on both `origin/main` and this release branch because the workspace cannot currently resolve `@codex-ai/plugin/tool` and already carries unrelated TypeScript errors outside `#90`
50+
- `npm run build` remains blocked by the same pre-existing typecheck baseline
51+
52+
## Merged PRs
53+
54+
- `#90` `fix: preserve business accounts that share a workspace accountId`
55+
56+
## Commits
57+
58+
- PR `#90` carries the guarded account-identity matching fixes and regression coverage that preserve shared-workspace business accounts across login, import, flagged recovery, storage normalization, and entitlement tracking.
59+
- The release bump in this branch promotes `0.1.9` in package metadata and refreshes the stable release-note links in the root docs surfaces.
60+
61+
## Notes
62+
63+
- Bare `accountId` fallback now only applies when the no-email case is unambiguous.
64+
- Entitlement cache identity now prefers the fresh email resolved from the latest token material and avoids refresh-token-derived keys.
65+
- CLI and runtime persistence paths now share the same guarded account matching behavior for shared-workspace business accounts.
66+
67+
## Related
68+
69+
- [../getting-started.md](../getting-started.md)
70+
- [../upgrade.md](../upgrade.md)
71+
- [../reference/commands.md](../reference/commands.md)

docs/releases/v1.1.10.md

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# Release v1.1.10
2+
3+
Release date: 2026-03-18
4+
Channel: `latest`
5+
6+
## Highlights
7+
8+
- Added `codex auth best` for forecast-driven active-account switching from the CLI.
9+
- Hardened live probe refresh handling so rotated access, refresh, and ID tokens stay aligned through the already-best and switch paths.
10+
- Tightened `auth best` CLI validation and JSON output coverage for help, malformed flags, null storage, concurrency, and sync-state edge cases.
11+
12+
## Install
13+
14+
```bash
15+
npm i -g @openai/codex
16+
npm i -g codex-multi-auth
17+
```
18+
19+
## Core Operations
20+
21+
```bash
22+
codex auth login
23+
codex auth list
24+
codex auth status
25+
codex auth best --live
26+
codex auth forecast --live
27+
```
28+
29+
## Validation Snapshot
30+
31+
Release gate commands:
32+
33+
- `npm run clean:repo:check`
34+
- `npm run typecheck`
35+
- `npm run build`
36+
- `npm run lint`
37+
- `npm test -- test/documentation.test.ts`
38+
- `npm test`
39+
40+
Broad validation result:
41+
42+
- `repo-hygiene check passed`
43+
- `npm run typecheck` passed
44+
- `npm run build` passed
45+
- `npm run lint` passed
46+
- `19/19` documentation integrity tests passed
47+
- `105/105` test files passed on two consecutive full-suite runs
48+
- `2513/2513` tests passed on two consecutive full-suite runs
49+
50+
## Merged PRs
51+
52+
- `#120` `feat(cli): add codex auth best account switching`
53+
54+
## Commits
55+
56+
- PR `#120` adds the new `codex auth best` command and the probe/sync hardening required for safe forecast-driven switching.
57+
- The release bump in this branch promotes `1.1.10` in package metadata and refreshes the stable release-note links in the root docs surfaces.
58+
59+
## Notes
60+
61+
- `codex auth best --live` now refreshes probe credentials before reuse and keeps Codex CLI sync state explicit when the current account is already the best account.
62+
- `auth best --json` now covers the already-best sync result and null-storage handling without mutating account state on help or malformed invocations.
63+
- Concurrent live-best runs continue to reuse the queued refresh network call while preserving the documented two-save behavior in the current contract.
64+
65+
## Related
66+
67+
- [../getting-started.md](../getting-started.md)
68+
- [../upgrade.md](../upgrade.md)
69+
- [../reference/commands.md](../reference/commands.md)

0 commit comments

Comments
 (0)