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
{{ message }}
Repository navigation
Commit c00206b
Browse filesBrowse the repository at this point in the historyBrowse files
fix(core): move global config to ~/.red/redcode/config.json[c] (#46)
Closes#27. The XDG config directory was renamed to redcode but the
file inside stayed opencode.json[c], which makes the live config read
like a leftover and traps users editing the wrong file.
- Primary config directory moves from ~/.config/redcode/ to
~/.red/redcode/, joining redskilled under the RedDB family. Data,
cache, and state directories follow.
- Primary file name becomes config.jsonc (config.json as alias). The
transitional redcode.json[c] and the legacy opencode.json[c] are
still read, with config.* winning the merge. The XDG directory is
also still searched as a fallback so existing installs keep working
without manual migration.
- Customize-opencode skill, README, and mcp default-creation all
point at the new paths; OPENCODE_* env vars still override.
Co-authored-by: Claude Opus 4.6 <[email protected]>
Move the global config directory from `~/.config/redcode/` to the RedDB family at `~/.red/redcode/` and rename the global config file to `config.jsonc` (with `config.json` as an alias). The XDG directory is still read as a fallback so existing installs keep working without manual migration; the transitional `redcode.json` / `redcode.jsonc` and the legacy `opencode.json` / `opencode.jsonc` names are still read everywhere the primary `config.*` name is, and the primary file always wins on merge.
0 commit comments