coder-config 0.40.10 → 0.40.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config-loader.js +14 -1
- package/lib/constants.js +1 -1
- package/package.json +1 -1
- package/ui/dist/assets/{index-CTytYK0Q.js → index-BEuxBYDG.js} +116 -116
- package/ui/dist/index.html +1 -1
package/config-loader.js
CHANGED
|
@@ -34,7 +34,20 @@ const { runCli } = require('./lib/cli');
|
|
|
34
34
|
|
|
35
35
|
class ClaudeConfigManager {
|
|
36
36
|
constructor() {
|
|
37
|
-
|
|
37
|
+
const home = process.env.HOME || '';
|
|
38
|
+
const newDir = path.join(home, '.coder-config');
|
|
39
|
+
const legacyDir = path.join(home, '.claude-config');
|
|
40
|
+
|
|
41
|
+
// Use new location, but fall back to legacy if it has data and new doesn't
|
|
42
|
+
if (process.env.CLAUDE_CONFIG_HOME) {
|
|
43
|
+
this.installDir = process.env.CLAUDE_CONFIG_HOME;
|
|
44
|
+
} else if (fs.existsSync(path.join(legacyDir, 'projects.json')) &&
|
|
45
|
+
!fs.existsSync(path.join(newDir, 'projects.json'))) {
|
|
46
|
+
// Legacy has data, new doesn't - use legacy for backwards compatibility
|
|
47
|
+
this.installDir = legacyDir;
|
|
48
|
+
} else {
|
|
49
|
+
this.installDir = newDir;
|
|
50
|
+
}
|
|
38
51
|
|
|
39
52
|
// Look for registry in multiple places
|
|
40
53
|
const possiblePaths = [
|
package/lib/constants.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "coder-config",
|
|
3
|
-
"version": "0.40.
|
|
3
|
+
"version": "0.40.12",
|
|
4
4
|
"description": "Configuration manager for AI coding tools - Claude Code, Gemini CLI, Codex CLI, Antigravity. Manage MCPs, rules, permissions, memory, and workstreams.",
|
|
5
5
|
"author": "regression.io",
|
|
6
6
|
"main": "config-loader.js",
|