opencode-codex-multi-account 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -0
- package/dist/index.js +3233 -0
- package/package.json +66 -0
package/README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# opencode-codex-multi-account
|
|
2
|
+
|
|
3
|
+
OpenCode plugin for multi-account OpenAI (ChatGPT Codex) OAuth management with automatic rate limit switching.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
Add to `opencode.json`:
|
|
8
|
+
|
|
9
|
+
```jsonc
|
|
10
|
+
{
|
|
11
|
+
"plugin": ["opencode-codex-multi-account@latest"]
|
|
12
|
+
}
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Features
|
|
16
|
+
|
|
17
|
+
- Automatic account rotation on 429 responses
|
|
18
|
+
- Three selection strategies: sticky, round-robin, and hybrid
|
|
19
|
+
- Cross-process coordination for parallel sessions
|
|
20
|
+
- Background token refresh before expiry
|
|
21
|
+
- Browser OAuth (PKCE) and Device Code authentication flows
|
|
22
|
+
|
|
23
|
+
## Architecture
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
opencode-codex-multi-account ← you are here
|
|
27
|
+
│
|
|
28
|
+
opencode-multi-account-core
|
|
29
|
+
│
|
|
30
|
+
opencode-oauth-adapters
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
See the [root README](../../README.md) for full documentation.
|