Repository navigation
feat(config): rename .opencode config dirs to .codev - #37
Merged
Merged
Conversation
Hard rename of config directories from .opencode to .codev: project walk-up and ~/.codev discovery in both config subsystems, TUI config and theme discovery, plugin install root and TUI plugin theme paths, agent create, mcp add candidates, session plan paths, and permission patterns. Also renames the XDG app dir from codev-code to codev, so the global config lives at ~/.config/codev/ (data, cache, state, log, and tmp dirs follow). Old .opencode/ dirs and codev-code XDG dirs are no longer read. Out of scope: ~/.opencode/bin install paths (binary location) and the ai.opencode.managed MDM plist domain. UI tips, skill descriptions, bundled skill/command content, specs, and docs (EN + ES) updated to match. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The dogfooding config dir must follow the discovery rename or the repo's local agents, commands, skills, and tools stop loading. Inner opencode.jsonc becomes codev.jsonc, internal path mentions updated, and the opencode-local reference now points at ~/.local/share/codev. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This was referenced Jul 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Phase 2 of the config rebrand (follows #35; replaces #36, which GitHub auto-closed when its stacked base branch was deleted on merge). Hard rename — old locations are no longer read.
.opencode/→.codev/~/.codevdiscovery in both config subsystems (packages/opencode/src/config/paths.ts,packages/core/src/config.ts)codev agent create,codev mcp addcandidates, session plan directory (.codev/plans), and the plan-file permission patternscustomize-opencodeskill content, specs, and docs (EN + ES)XDG app dir
codev-code→codev(packages/core/src/global.ts)~/.config/codev/; data/cache/state/log/tmp dirs follow (~/.local/share/codev, etc.). Existing installs will re-seed; oldcodev-codedirs are abandoned by design.~/.config/codev/Docs/policy
global.tsand exercise-environment rows, added a config-dir rename row, and fixed the known-gaps note (~/.local/share/codev)dev→main, with a DIVERGENCES.md rowDeliberately kept:
~/.opencode/bininstall/uninstall paths (binary location, not config), theai.opencode.managedMDM plist domain,opencode.aiURLs,@opencode-ai/*package names, and identifier names likeProviderV2.ID.opencode/ theme asset keys.Test plan
bun typecheckinpackages/core,packages/opencode,packages/tui,packages/app,packages/desktop,packages/session-ui(pre-push turbo typecheck green)bun testinpackages/core(1075 pass) andpackages/app;test/config,test/plugin,test/skill,test/server,test/tool,test/agent,test/cli,test/providerinpackages/opencode— green (two known-flaky tui epilogue tests also fail onmain).codev/agents/smokey.md+codev.jsoncand a decoy.opencode/agents/—codev agent listshows only the.codevagent, config loads, and~/.config/codev/+~/.local/share/codev/are created🤖 Generated with Claude Code