You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- subdirectory detection: walks up directory tree to find project root for per-project accounts
- countdown timer: shows live countdown during rate limit waits (every 5s)
- auto-remove: removes accounts after 3 consecutive auth failures with notification
- openai-accounts-refresh: new tool to manually refresh all OAuth tokens
Copy file name to clipboardExpand all lines: README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -252,19 +252,21 @@ opencode auth login # run again to add more accounts
252
252
-`openai-accounts` — list all accounts
253
253
-`openai-accounts-switch` — switch active account
254
254
-`openai-accounts-status` — show rate limit status
255
-
-`openai-accounts-remove` — remove an account by index (new in v4.10.0)
255
+
-`openai-accounts-remove` — remove an account by index
256
256
-`openai-accounts-health` — check health of all accounts
257
+
-`openai-accounts-refresh` — manually refresh all tokens (new in v4.11.0)
257
258
258
259
**how rotation works:**
259
260
- health scoring tracks success/failure per account
260
261
- token bucket prevents hitting rate limits
261
262
- hybrid selection prefers healthy accounts with available tokens
262
-
- always retries when all accounts are rate-limited (waits for reset)
263
+
- always retries when all accounts are rate-limited (waits for reset with live countdown)
263
264
- 20% jitter on retry delays to avoid thundering herd
265
+
- auto-removes accounts after 3 consecutive auth failures (new in v4.11.0)
264
266
265
267
**per-project accounts (v4.10.0+):**
266
268
267
-
by default, each project directory gets its own account storage. this means you can have different active accounts per project. disable with `perProjectAccounts: false` in your config.
269
+
by default, each project directory gets its own account storage. this means you can have different active accounts per project. works from subdirectories too — the plugin walks up to find the project root (v4.11.0). disable with `perProjectAccounts: false` in your config.
0 commit comments