mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-11 03:38:07 +00:00
With CLAUDE_CONFIG_DIR set, Claude Code reads its user-scope MCP servers from $CLAUDE_CONFIG_DIR/.claude.json and its settings, skills and hooks from $CLAUDE_CONFIG_DIR. setup and uninstall hardcoded ~/.claude.json and ~/.claude/, so on a relocated install the MCP entry, skills and hooks landed where Claude Code never looks, or setup reported Claude Code as "not installed" when ~/.claude did not exist. Add claudeConfigPaths() to editor-targets and route every Claude path the factory builds through it; setup's two presence gates use the same root. uninstall only goes through the factory, so it follows automatically. Empty means unset; a relative value resolves against the cwd. vitest pins CLAUDE_CONFIG_DIR to '' so a developer's own value cannot point the HOME-sandboxed setup tests at their real Claude config. |
||
|---|---|---|
| .. | ||
| fixtures | ||
| helpers | ||
| integration | ||
| unit | ||
| utils | ||