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
> **⚠️ REQUIRED:** You MUST use the config that matches your OpenCode version (`opencode-modern.json` or `opencode-legacy.json`). Minimal configs are NOT supported for GPT 5 models and will fail unpredictably. OpenCode's auto-compaction and usage widgets also require the full config's per-model `limit` metadata.
414
414
415
415
**Your Configs:**
416
-
-`~/.config/opencode/opencode.json` - Global config
416
+
-`~/.config/opencode/opencode.jsonc` - Global config (preferred)
417
+
-`~/.config/opencode/opencode.json` - Global config (fallback)
Copy file name to clipboardExpand all lines: docs/getting-started.md
+10-3Lines changed: 10 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ Works on **Windows, macOS, and Linux**:
28
28
npx -y opencode-openai-codex-auth@latest
29
29
```
30
30
31
-
This writes the **global** config at `~/.config/opencode/opencode.json`, backs it up, and clears the OpenCode plugin cache so the latest version installs.
31
+
This writes the **global** config at `~/.config/opencode/opencode.jsonc` (falls back to `.json` if needed), backs it up, and clears the OpenCode plugin cache so the latest version installs.
- This configuration has been tested and verified to work
56
56
57
-
Add this to `~/.config/opencode/opencode.json`:
57
+
Add this to `~/.config/opencode/opencode.jsonc` (or `.json`):
58
58
59
59
**Tip**: The snippet below is a truncated excerpt. For the complete legacy list, copy `config/opencode-legacy.json`. For the modern variants config (OpenCode v1.0.210+), use `config/opencode-modern.json`.
0 commit comments