claude-code-autoconfig 1.0.56 → 1.0.58

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 +2 -15
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -261,21 +261,8 @@ rl.question('\x1b[90mPress ENTER to continue...\x1b[0m', () => {
261
261
  console.log('\x1b[90m%s\x1b[0m', ' Please be patient while it loads.');
262
262
  console.log();
263
263
 
264
- // Spawn claude in print mode with scoped permissions for smooth setup
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, [], {
264
+ // Spawn claude with /autoconfig as initial prompt
265
+ const claude = spawn('claude', ['/autoconfig'], {
279
266
  cwd: cwd,
280
267
  stdio: 'inherit',
281
268
  shell: true
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.58",
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",