claude-code-autoconfig 1.0.144 → 1.0.146
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 +4 -5
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -616,14 +616,13 @@ const launchCommand = isUpgrade ? '/autoconfig-update' : '/autoconfig';
|
|
|
616
616
|
const bootstrapMode = process.argv.includes('--bootstrap');
|
|
617
617
|
if (bootstrapMode || insideClaude) {
|
|
618
618
|
if (!bootstrapMode) {
|
|
619
|
-
// insideClaude without --bootstrap:
|
|
619
|
+
// insideClaude without --bootstrap: block with clear message
|
|
620
620
|
console.log();
|
|
621
|
-
console.log('\x1b[
|
|
621
|
+
console.log('\x1b[31m%s\x1b[0m', `❌ Cannot run inside an active Claude Code session.`);
|
|
622
622
|
console.log();
|
|
623
|
-
console.log('\x1b[
|
|
623
|
+
console.log('\x1b[32m%s\x1b[0m', `✅ Run from a regular terminal instead:`);
|
|
624
624
|
console.log();
|
|
625
|
-
console.log('\x1b[
|
|
626
|
-
console.log('\x1b[90m%s\x1b[0m', ` Just type "${launchCommand}" at the prompt and Claude will handle the rest.)`);
|
|
625
|
+
console.log('\x1b[33;1m%s\x1b[0m', `👉 npx claude-code-autoconfig@latest`);
|
|
627
626
|
console.log();
|
|
628
627
|
}
|
|
629
628
|
process.exit(0);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-code-autoconfig",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.146",
|
|
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",
|