claude-code-autoconfig 1.0.53 → 1.0.55
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/bin/cli.js +13 -3
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -261,9 +261,19 @@ 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 with
|
|
265
|
-
//
|
|
266
|
-
const
|
|
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
|
+
const claude = spawn('claude', ['-p', '--allowedTools', allowedTools, '/autoconfig'], {
|
|
267
277
|
cwd: cwd,
|
|
268
278
|
stdio: 'inherit',
|
|
269
279
|
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.55",
|
|
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",
|