Skip to content

Commit 409c564

Browse files
authored
Merge pull request #104 from ndycode/git-plan/oc-codex-multi-auth-rebrand
feat!: rename oc-chatgpt-multi-auth to oc-codex-multi-auth
2 parents 8544ab5 + ebab222 commit 409c564

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+311
-215
lines changed

.codex-plugin/plugin.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "oc-chatgpt-multi-auth",
2+
"name": "oc-codex-multi-auth",
33
"version": "5.4.9",
4-
"description": "Install and operate oc-chatgpt-multi-auth for OpenCode with ChatGPT Plus/Pro OAuth, GPT-5 and Codex model presets, and multi-account failover.",
4+
"description": "Install and operate oc-codex-multi-auth for OpenCode with Codex-first GPT-5 workflows, ChatGPT Plus/Pro OAuth, and multi-account failover.",
55
"skills": "./skills/"
66
}

AGENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ npm run lint # eslint
6464
## NOTES
6565
- OAuth callback: `http://127.0.0.1:1455/auth/callback`.
6666
- ChatGPT backend requires `store: false`, include `reasoning.encrypted_content`.
67-
- Per-project accounts: `~/.opencode/projects/<project-key>/openai-codex-accounts.json` (walks up to find project root).
68-
- Global accounts: `~/.opencode/openai-codex-accounts.json`.
67+
- Per-project accounts: `~/.opencode/projects/<project-key>/oc-codex-multi-auth-accounts.json` (walks up to find project root).
68+
- Global accounts: `~/.opencode/oc-codex-multi-auth-accounts.json`.
6969
- Prompt templates synced from Codex CLI GitHub releases with ETag caching.
7070
- 5xx server errors trigger account rotation and health penalty (same as network errors).
7171
- API deprecation/sunset headers (RFC 8594) are logged as warnings.

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
all notable changes to this project. dates are ISO format (YYYY-MM-DD).
44

5-
## [unreleased]
5+
## [6.0.0] - 2026-04-06
66

77
### added
88

@@ -12,19 +12,23 @@ all notable changes to this project. dates are ISO format (YYYY-MM-DD).
1212
- **backup/import safety controls**: `codex-export` now supports auto timestamped backup paths; `codex-import` adds `dryRun` preview and automatic pre-import backup on apply.
1313
- **beginner safe mode config**: new `beginnerSafeMode` config key and `CODEX_AUTH_BEGINNER_SAFE_MODE` env override for conservative retry behavior.
1414
- **startup preflight summary**: one-time startup health summary with recommended next action.
15+
- **breaking rebrand migration**: current runtime storage now uses package-aligned files (`oc-codex-multi-auth-accounts.json`, `oc-codex-multi-auth-flagged-accounts.json`) with automatic migration from legacy package-era and pre-package storage names on first load.
1516

1617
### changed
1718

1819
- **account storage schema**: V3 account metadata now includes optional `accountTags` and `accountNote`.
1920
- **docs refresh for operational flows**: README + docs portal/development guides updated to reflect beginner commands, safe mode, interactive picker behavior, and backup/import safeguards.
2021
- **repository presentation refresh**: rewrote the README as a landing page, added a public FAQ and code of conduct, refreshed package metadata, and removed stale CI/test claims from public docs surfaces.
2122
- **test matrix expansion**: coverage now includes beginner UI helpers, safe-fix diagnostics edge cases, tag/note command behavior, and timestamped backup/import preview utilities.
23+
- **package line renamed**: the supported package, repo, plugin entry, installer surface, and docs now use `oc-codex-multi-auth` instead of `oc-chatgpt-multi-auth`.
24+
- **codex-first auth wording**: OAuth options, installer guidance, and onboarding docs now describe the Codex-first flow directly instead of the older MULTI-branded labels.
2225

2326
### fixed
2427

2528
- **non-interactive command guidance**: optional-index commands provide explicit usage guidance when interactive menus are unavailable.
2629
- **doctor safe-fix edge path**: `codex-doctor fix` now reports a clear non-crashing message when no eligible account is available for auto-switch.
2730
- **first-time import flow**: `codex-import` no longer fails with `No accounts to export` when storage is empty; pre-import backup is skipped cleanly in zero-account setups.
31+
- **installer cache hygiene**: the installer now removes both the old and new package names from OpenCode cache metadata so cutover installs do not stay pinned to stale artifacts.
2832

2933
## [5.4.8] - 2026-03-24
3034

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contributing
22

3-
Thank you for contributing to `oc-chatgpt-multi-auth`.
3+
Thank you for contributing to `oc-codex-multi-auth`.
44

55
This project accepts improvements that make the OpenCode plugin clearer, safer, easier to maintain, and more useful for personal development workflows.
66

README.md

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# oc-chatgpt-multi-auth
1+
# oc-codex-multi-auth
22

3-
[![npm version](https://img.shields.io/npm/v/oc-chatgpt-multi-auth.svg)](https://www.npmjs.com/package/oc-chatgpt-multi-auth)
4-
[![npm downloads](https://img.shields.io/npm/dw/oc-chatgpt-multi-auth.svg)](https://www.npmjs.com/package/oc-chatgpt-multi-auth)
3+
[![npm version](https://img.shields.io/npm/v/oc-codex-multi-auth.svg)](https://www.npmjs.com/package/oc-codex-multi-auth)
4+
[![npm downloads](https://img.shields.io/npm/dw/oc-codex-multi-auth.svg)](https://www.npmjs.com/package/oc-codex-multi-auth)
55
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
66

77
Use your ChatGPT Plus/Pro subscription inside OpenCode with OAuth login, GPT-5/Codex model presets, and multi-account failover.
88

9-
`oc-chatgpt-multi-auth` is an OpenCode plugin for developers who want ChatGPT-backed GPT-5 and Codex workflows in OpenCode without switching to separate Platform API credentials for personal use. It uses the same official OAuth flow as the Codex CLI, adds model templates for current GPT-5 families, and can rotate across multiple ChatGPT accounts when one account is rate-limited or unavailable.
9+
`oc-codex-multi-auth` is an OpenCode plugin for developers who want Codex-first GPT-5 workflows in OpenCode without switching to separate Platform API credentials for personal use. It uses the same official OAuth flow as the Codex CLI, adds model templates for current GPT-5 families, and can rotate across multiple ChatGPT accounts when one account is rate-limited or unavailable.
1010

1111
## What This Project Does
1212

@@ -19,7 +19,7 @@ Use your ChatGPT Plus/Pro subscription inside OpenCode with OAuth login, GPT-5/C
1919

2020
```bash
2121
# 1. Install or refresh the plugin config
22-
npx -y oc-chatgpt-multi-auth@latest
22+
npx -y oc-codex-multi-auth@latest
2323

2424
# 2. Sign in with ChatGPT Plus/Pro
2525
opencode auth login
@@ -32,7 +32,7 @@ What the installer does:
3232

3333
- writes `~/.config/opencode/opencode.json`
3434
- backs up an existing config before changing it
35-
- normalizes the plugin entry to `"oc-chatgpt-multi-auth"`
35+
- normalizes the plugin entry to `"oc-codex-multi-auth"`
3636
- clears the cached plugin copy so OpenCode reinstalls the latest package
3737

3838
By default, the installer now writes a full catalog config that includes both:
@@ -103,7 +103,7 @@ Use the quick-start path above for the fastest setup. For full setup, local deve
103103
If you prefer the compact variant-only config on OpenCode `v1.0.210+`, use:
104104

105105
```bash
106-
npx -y oc-chatgpt-multi-auth@latest --modern
106+
npx -y oc-codex-multi-auth@latest --modern
107107
```
108108

109109
## Configuration
@@ -125,7 +125,16 @@ Start here if the plugin does not load or authenticate correctly:
125125

126126
Common first checks:
127127

128-
- confirm `"plugin": ["oc-chatgpt-multi-auth"]` is present in your OpenCode config
128+
- confirm `"plugin": ["oc-codex-multi-auth"]` is present in your OpenCode config
129+
130+
## 6.0.0 Cutover
131+
132+
This release intentionally breaks the old package line and moves the runtime to package-aligned storage names.
133+
134+
- Rename the GitHub repository to `ndycode/oc-codex-multi-auth`
135+
- Publish `oc-codex-multi-auth@6.0.0`
136+
- Deprecate `oc-chatgpt-multi-auth` on npm with a pointer to the new package
137+
- Verify docs, badges, repo links, and OpenCode config examples all resolve to `oc-codex-multi-auth`
129138
- rerun `opencode auth login`
130139
- inspect `~/.opencode/logs/codex-plugin/` after running one request with `ENABLE_PLUGIN_REQUEST_LOGGING=1`
131140

assets/readme-hero.svg

Lines changed: 4 additions & 4 deletions
Loading

config/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Configuration
22

3-
This directory contains the official OpenCode config templates for the ChatGPT Codex OAuth plugin.
3+
This directory contains the official OpenCode config templates for `oc-codex-multi-auth`.
44

55
## Required: choose the right config file
66

config/minimal-opencode.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://opencode.ai/config.json",
3-
"plugin": ["oc-chatgpt-multi-auth"],
3+
"plugin": ["oc-codex-multi-auth"],
44

55
"provider": {
66
"openai": {

config/opencode-legacy.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://opencode.ai/config.json",
33
"plugin": [
4-
"oc-chatgpt-multi-auth"
4+
"oc-codex-multi-auth"
55
],
66
"provider": {
77
"openai": {

config/opencode-modern.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://opencode.ai/config.json",
33
"plugin": [
4-
"oc-chatgpt-multi-auth"
4+
"oc-codex-multi-auth"
55
],
66
"provider": {
77
"openai": {

0 commit comments

Comments
 (0)