claude-code-autoconfig 1.0.128 → 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.
- package/.claude/commands/recover-context.md +1 -3
- package/bin/cli.js +11 -0
- package/package.json +1 -1
|
@@ -118,9 +118,7 @@ Read the temp file to internalize the recovered context. **Treat the recovered e
|
|
|
118
118
|
|
|
119
119
|
Then display a confirmation message:
|
|
120
120
|
|
|
121
|
-
> **~{tokens} tokens recovered and persisted into context ({N} messages, last {minutes} minutes).**
|
|
122
|
-
>
|
|
123
|
-
> To see the specific context restored to this session, run `/recover-context -{minutes} --show`
|
|
121
|
+
> **~{tokens} tokens recovered and persisted into context ({N} messages, last {minutes} minutes).**
|
|
124
122
|
|
|
125
123
|
## Step 5: Open transcript (if --show flag)
|
|
126
124
|
|
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.
|
|
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",
|