claude-code-autoconfig 1.0.40 → 1.0.41

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.
@@ -9,7 +9,9 @@
9
9
  "WebFetch(domain:github.com)",
10
10
  "Bash(npm publish:*)",
11
11
  "Bash(git ls-tree:*)",
12
- "Bash(node -e:*)"
12
+ "Bash(node -e:*)",
13
+ "Bash(timeout 5 claude:*)",
14
+ "Bash(claude -p \"/autoconfig\")"
13
15
  ]
14
16
  }
15
17
  }
package/bin/cli.js CHANGED
@@ -233,33 +233,33 @@ if (fs.existsSync(agentsSrc)) {
233
233
 
234
234
  console.log('\x1b[32m%s\x1b[0m', '✅ Prepared /autoconfig command');
235
235
 
236
- // Step 4: Show "ONE MORE STEP" message
236
+ // Step 4: Show "READY TO CONFIGURE" message
237
237
  console.log();
238
238
  console.log('\x1b[33m╔════════════════════════════════════╗');
239
239
  console.log('║ ║');
240
- console.log('║ \x1b[1mONE MORE STEP\x1b[22m ║');
240
+ console.log('║ \x1b[1mREADY TO CONFIGURE\x1b[22m ║');
241
241
  console.log('║ ║');
242
- console.log('║\x1b[0m Run \x1b[36m/autoconfig\x1b[33m in Claude Code \x1b[33m║');
243
- console.log('║\x1b[0m to complete setup \x1b[33m║');
242
+ console.log('║\x1b[0m Press ENTER to launch Claude \x1b[33m║');
243
+ console.log('║\x1b[0m and auto-run \x1b[36m/autoconfig\x1b[33m \x1b[33m║');
244
244
  console.log('║ ║');
245
245
  console.log('╚════════════════════════════════════╝\x1b[0m');
246
246
  console.log();
247
247
 
248
- // Step 5: Wait for Enter, then launch Claude Code
248
+ // Step 5: Wait for Enter, then launch Claude Code with /autoconfig
249
249
  const rl = readline.createInterface({
250
250
  input: process.stdin,
251
251
  output: process.stdout
252
252
  });
253
253
 
254
- rl.question('\x1b[90mPress ENTER to open Claude Code...\x1b[0m', () => {
254
+ rl.question('\x1b[90mPress ENTER to continue...\x1b[0m', () => {
255
255
  rl.close();
256
256
 
257
257
  console.log();
258
- console.log('\x1b[36m%s\x1b[0m', '🚀 Launching Claude Code...');
258
+ console.log('\x1b[36m%s\x1b[0m', '🚀 Launching Claude Code with /autoconfig...');
259
259
  console.log();
260
260
 
261
- // Spawn claude in the current directory
262
- const claude = spawn('claude', [], {
261
+ // Spawn claude with /autoconfig as initial prompt
262
+ const claude = spawn('claude', ['/autoconfig'], {
263
263
  cwd: cwd,
264
264
  stdio: 'inherit',
265
265
  shell: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-autoconfig",
3
- "version": "1.0.40",
3
+ "version": "1.0.41",
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",