claude-code-autoconfig 1.0.47 → 1.0.49
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/.claude/settings.json +0 -13
- package/bin/cli.js +1 -12
- package/package.json +1 -1
package/.claude/settings.json
CHANGED
|
@@ -36,18 +36,5 @@
|
|
|
36
36
|
"Bash(curl:*)",
|
|
37
37
|
"Bash(wget:*)"
|
|
38
38
|
]
|
|
39
|
-
},
|
|
40
|
-
"hooks": {
|
|
41
|
-
"SessionStart": [
|
|
42
|
-
{
|
|
43
|
-
"matcher": "",
|
|
44
|
-
"hooks": [
|
|
45
|
-
{
|
|
46
|
-
"type": "command",
|
|
47
|
-
"command": "printf '\\033]0;claude\\007' 2>/dev/null || true"
|
|
48
|
-
}
|
|
49
|
-
]
|
|
50
|
-
}
|
|
51
|
-
]
|
|
52
39
|
}
|
|
53
40
|
}
|
package/bin/cli.js
CHANGED
|
@@ -262,18 +262,7 @@ rl.question('\x1b[90mPress ENTER to continue...\x1b[0m', () => {
|
|
|
262
262
|
console.log();
|
|
263
263
|
|
|
264
264
|
// Spawn claude with /autoconfig as initial prompt
|
|
265
|
-
|
|
266
|
-
const allowedTools = [
|
|
267
|
-
'Read(./**)', // Read any project file (for stack detection)
|
|
268
|
-
'Edit(./**)', // Edit files (CLAUDE.md, settings.json, guide, etc.)
|
|
269
|
-
'Write(./**)', // Create new files
|
|
270
|
-
'Bash(start:*)', // Windows: open browser
|
|
271
|
-
'Bash(open:*)', // macOS: open browser
|
|
272
|
-
'Bash(xdg-open:*)' // Linux: open browser
|
|
273
|
-
].join(' ');
|
|
274
|
-
// Build command string with proper quoting for shell execution
|
|
275
|
-
const cmd = `claude --allowedTools "${allowedTools}" "/autoconfig"`;
|
|
276
|
-
const claude = spawn(cmd, [], {
|
|
265
|
+
const claude = spawn('claude', ['/autoconfig'], {
|
|
277
266
|
cwd: cwd,
|
|
278
267
|
stdio: 'inherit',
|
|
279
268
|
shell: true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-code-autoconfig",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.49",
|
|
4
4
|
"description": "Intelligent, self-configuring setup for Claude Code. One command analyzes your project, configures Claude, and shows you what it did.",
|
|
5
5
|
"author": "ADAC 1001 <info@adac1001.com>",
|
|
6
6
|
"license": "MIT",
|