claude-all-config 3.5.3 → 3.5.4
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/package.json +2 -2
- package/postinstall.js +13 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-all-config",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.4",
|
|
4
4
|
"description": "🦾 MONSTER ENGINEER - Ultimate AI CLI with 55 Skills, Multi-Expert System (Software, Security, DevOps, Cloud, Mobile & More)",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -126,4 +126,4 @@
|
|
|
126
126
|
},
|
|
127
127
|
"dependencies": {},
|
|
128
128
|
"devDependencies": {}
|
|
129
|
-
}
|
|
129
|
+
}
|
package/postinstall.js
CHANGED
|
@@ -108,20 +108,27 @@ function installClaude() {
|
|
|
108
108
|
console.log(` 🔧 MCP config (7 servers)`);
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
// Settings
|
|
112
|
-
const settingsPath = path.join(CLAUDE_DIR, 'settings.local.json');
|
|
111
|
+
// Settings - create both settings.json AND settings.local.json
|
|
113
112
|
const settings = {
|
|
113
|
+
agent: "proactive-mode",
|
|
114
114
|
permissions: {
|
|
115
115
|
allow: [
|
|
116
116
|
"Bash(*)", "Read(*)", "Write(*)", "Edit(*)", "Glob(*)", "Grep(*)",
|
|
117
117
|
"WebFetch(*)", "WebSearch(*)", "TodoWrite(*)", "NotebookEdit(*)", "mcp__*"
|
|
118
118
|
],
|
|
119
119
|
deny: []
|
|
120
|
-
}
|
|
121
|
-
agent: "proactive-mode"
|
|
120
|
+
}
|
|
122
121
|
};
|
|
123
|
-
|
|
124
|
-
|
|
122
|
+
|
|
123
|
+
// Write settings.json (main config - Claude reads this)
|
|
124
|
+
const settingsJsonPath = path.join(CLAUDE_DIR, 'settings.json');
|
|
125
|
+
fs.writeFileSync(settingsJsonPath, JSON.stringify(settings, null, 2));
|
|
126
|
+
|
|
127
|
+
// Write settings.local.json (backup/local overrides)
|
|
128
|
+
const settingsLocalPath = path.join(CLAUDE_DIR, 'settings.local.json');
|
|
129
|
+
fs.writeFileSync(settingsLocalPath, JSON.stringify(settings, null, 2));
|
|
130
|
+
|
|
131
|
+
console.log(` ⚙️ settings.json + settings.local.json (@proactive-mode enabled)`);
|
|
125
132
|
|
|
126
133
|
// Copy CLAUDE.md (global instructions)
|
|
127
134
|
const claudeMdSrc = path.join(PKG_DIR, 'CLAUDE.md');
|