Skip to content

feat(config): rename .opencode config dirs to .codev - #36

Closed
quickbeard wants to merge 3 commits into
config-file-renamefrom
config-dir-rename
Closed

quickbeard wants to merge 3 commits into
config-file-renamefrom
config-dir-rename

Conversation

@quickbeard

Copy link
Copy Markdown
Owner

Summary

Phase 2 of the config rebrand, stacked on #35 (retarget to main after #35 merges). Hard rename — old locations are no longer read.

.opencode/ → .codev/

  • Project walk-up and ~/.codev discovery in both config subsystems (packages/opencode/src/config/paths.ts, packages/core/src/config.ts)
  • Config-dir gates and TUI config dir filters, TUI theme discovery, plugin install root, TUI plugin theme install, codev agent create, codev mcp add candidates, session plan directory (.codev/plans), and the plan-file permission patterns
  • UI tips, skill descriptions, bundled customize-opencode skill content, specs, and docs (EN + ES)

XDG app dir codev-code → codev (packages/core/src/global.ts)

  • Global config is now ~/.config/codev/; data/cache/state/log/tmp dirs follow (~/.local/share/codev, etc.). Existing installs will re-seed; old codev-code dirs are abandoned by design.
  • Docs' global-path mentions updated to ~/.config/codev/

Deliberately kept: ~/.opencode/bin install/uninstall paths (binary location, not config), the ai.opencode.managed MDM plist domain, opencode.ai URLs, @opencode-ai/* package names, and identifier names like ProviderV2.ID.opencode / theme asset keys.

Test plan

  • bun typecheck in packages/core, packages/opencode, packages/tui, packages/app, packages/desktop, packages/session-ui (pre-push turbo typecheck green)
  • Full bun test in packages/core (1075 pass) and packages/app; test/config, test/plugin, test/skill, test/server, test/tool, test/agent, test/cli, test/provider in packages/opencode — green (two known-flaky tui epilogue tests also fail on main)
  • Smoke: scratch project with .codev/agents/smokey.md + codev.jsonc and a decoy .opencode/agents/ — codev agent list shows only the .codev agent, config loads, and ~/.config/codev/ + ~/.local/share/codev/ are created

🤖 Generated with Claude Code

quickbeard and others added 2 commits July 10, 2026 22:13
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>
@quickbeard
quickbeard deleted the branch config-file-rename July 10, 2026 15:17
@quickbeard quickbeard closed this Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant