claude-code-autoconfig 1.0.56 → 1.0.57

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.
Files changed (2) hide show
  1. package/bin/cli.js +3 -15
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -263,22 +263,10 @@ rl.question('\x1b[90mPress ENTER to continue...\x1b[0m', () => {
263
263
 
264
264
  // Spawn claude in print mode with scoped permissions for smooth setup
265
265
  // -p (print mode) skips trust dialog, --allowedTools scopes what's permitted
266
- const allowedTools = [
267
- 'Read(./**)',
268
- 'Edit(./**)',
269
- 'Write(./**)',
270
- 'Glob(./**)',
271
- 'Grep(./**)',
272
- 'Bash(start:*)',
273
- 'Bash(open:*)',
274
- 'Bash(xdg-open:*)'
275
- ].join(' ');
276
- // Build command with proper quoting for shell
277
- const cmd = `claude -p --allowedTools "${allowedTools}" "/autoconfig"`;
278
- const claude = spawn(cmd, [], {
266
+ const allowedTools = 'Read(.**) Edit(.**) Write(.**) Glob(.**) Grep(.**) Bash(start:*) Bash(open:*) Bash(xdg-open:*)';
267
+ const claude = spawn('claude', ['-p', '--allowedTools', allowedTools, '/autoconfig'], {
279
268
  cwd: cwd,
280
- stdio: 'inherit',
281
- shell: true
269
+ stdio: 'inherit'
282
270
  });
283
271
 
284
272
  claude.on('error', (err) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-autoconfig",
3
- "version": "1.0.56",
3
+ "version": "1.0.57",
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",