claude-code-autoconfig 1.0.23 → 1.0.25

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.
@@ -42,7 +42,7 @@
42
42
  "hooks": [
43
43
  {
44
44
  "type": "command",
45
- "command": "printf '\\033]0;claude\\007' || true"
45
+ "command": "case \"$OSTYPE\" in msys*|cygwin*) cmd.exe /c \"title claude\" 2>/dev/null;; *) printf '\\033]0;claude\\007';; esac"
46
46
  }
47
47
  ]
48
48
  }
package/bin/cli.js CHANGED
@@ -269,4 +269,17 @@ rl.question('\x1b[90mPress ENTER to open Claude Code...\x1b[0m', () => {
269
269
  console.log('\x1b[31m%s\x1b[0m', '❌ Failed to launch Claude Code');
270
270
  console.log(' Run "claude" manually, then run /autoconfig');
271
271
  });
272
+
273
+ // Cleanup when Claude exits
274
+ claude.on('close', () => {
275
+ // Remove 'nul' file if accidentally created on Windows
276
+ const nulFile = path.join(cwd, 'nul');
277
+ if (fs.existsSync(nulFile)) {
278
+ try {
279
+ fs.unlinkSync(nulFile);
280
+ } catch (e) {
281
+ // Ignore errors - file might be locked or already gone
282
+ }
283
+ }
284
+ });
272
285
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-autoconfig",
3
- "version": "1.0.23",
3
+ "version": "1.0.25",
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",