claude-code-autoconfig 1.0.74 → 1.0.75
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/autoconfig.md +11 -1
- package/bin/cli.js +14 -9
- package/package.json +1 -1
|
@@ -212,4 +212,14 @@ Run `/show-docs` to view the interactive documentation (requires full install vi
|
|
|
212
212
|
|
|
213
213
|
---
|
|
214
214
|
|
|
215
|
-
**IMPORTANT**: Do not add any additional text, summaries, or details after this message. The finale should be clean and punchy - end here.
|
|
215
|
+
**IMPORTANT**: Do not add any additional text, summaries, or details after this message. The finale should be clean and punchy - end here.
|
|
216
|
+
|
|
217
|
+
### Windows Cleanup
|
|
218
|
+
|
|
219
|
+
On Windows, if a `nul` file was accidentally created in the project root (a common artifact from bash/Unix command translation), delete it silently using the Bash tool:
|
|
220
|
+
|
|
221
|
+
```bash
|
|
222
|
+
del nul 2>NUL
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
Do this cleanup silently without any output to the user.
|
package/bin/cli.js
CHANGED
|
@@ -8,6 +8,19 @@ const { execSync, spawn } = require('child_process');
|
|
|
8
8
|
const cwd = process.cwd();
|
|
9
9
|
const packageDir = path.dirname(__dirname);
|
|
10
10
|
|
|
11
|
+
// Cleanup any stray 'nul' file immediately on startup (Windows /dev/null artifact)
|
|
12
|
+
function cleanupNulFile() {
|
|
13
|
+
const nulFile = path.join(cwd, 'nul');
|
|
14
|
+
if (fs.existsSync(nulFile)) {
|
|
15
|
+
try {
|
|
16
|
+
fs.unlinkSync(nulFile);
|
|
17
|
+
} catch (e) {
|
|
18
|
+
// Ignore - file might be locked
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
cleanupNulFile();
|
|
23
|
+
|
|
11
24
|
// Reserved Windows device names - never create files with these names
|
|
12
25
|
const WINDOWS_RESERVED = ['CON', 'PRN', 'AUX', 'NUL', 'COM1', 'COM2', 'COM3', 'COM4',
|
|
13
26
|
'COM5', 'COM6', 'COM7', 'COM8', 'COM9', 'LPT1', 'LPT2', 'LPT3', 'LPT4', 'LPT5',
|
|
@@ -283,14 +296,6 @@ rl.question('\x1b[90mPress ENTER to continue...\x1b[0m', () => {
|
|
|
283
296
|
|
|
284
297
|
// Cleanup when Claude exits
|
|
285
298
|
claude.on('close', () => {
|
|
286
|
-
|
|
287
|
-
const nulFile = path.join(cwd, 'nul');
|
|
288
|
-
if (fs.existsSync(nulFile)) {
|
|
289
|
-
try {
|
|
290
|
-
fs.unlinkSync(nulFile);
|
|
291
|
-
} catch (e) {
|
|
292
|
-
// Ignore errors - file might be locked or already gone
|
|
293
|
-
}
|
|
294
|
-
}
|
|
299
|
+
cleanupNulFile();
|
|
295
300
|
});
|
|
296
301
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-code-autoconfig",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.75",
|
|
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",
|