claude-code-autoconfig 1.0.129 → 1.0.130

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 +11 -0
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -154,6 +154,17 @@ if (process.argv.includes('--pull-updates')) {
154
154
 
155
155
  const forceMode = process.argv.includes('--force');
156
156
 
157
+ // Block interactive install from inside Claude Code sessions
158
+ if (process.env.CLAUDECODE === '1') {
159
+ console.log();
160
+ console.log('\x1b[33m%s\x1b[0m', '⚠️ This command must be run in a regular terminal, not inside Claude Code.');
161
+ console.log();
162
+ console.log(' Open a separate terminal and run:');
163
+ console.log('\x1b[36m%s\x1b[0m', ' npx claude-code-autoconfig@latest');
164
+ console.log();
165
+ process.exit(1);
166
+ }
167
+
157
168
  console.log('\x1b[36m%s\x1b[0m', '🚀 Claude Code Autoconfig');
158
169
  console.log();
159
170
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-autoconfig",
3
- "version": "1.0.129",
3
+ "version": "1.0.130",
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",