claude-depester 1.2.0 → 1.2.1
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/lib/hooks.js +6 -1
- package/package.json +1 -1
package/lib/hooks.js
CHANGED
|
@@ -7,8 +7,13 @@ const path = require('path');
|
|
|
7
7
|
const os = require('os');
|
|
8
8
|
|
|
9
9
|
const HOME = os.homedir();
|
|
10
|
+
|
|
11
|
+
// Claude Code user settings path is ~/.claude/settings.json on all platforms
|
|
12
|
+
// (on Windows, ~ expands to %USERPROFILE%)
|
|
10
13
|
const SETTINGS_PATH = path.join(HOME, '.claude', 'settings.json');
|
|
11
|
-
|
|
14
|
+
|
|
15
|
+
// Use --all to patch all installations (CLI + VS Code binary + webview)
|
|
16
|
+
const HOOK_COMMAND = 'npx claude-depester --all --silent';
|
|
12
17
|
|
|
13
18
|
/**
|
|
14
19
|
* Read Claude Code settings
|