gsd-cc 1.3.2 → 1.3.3
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/install.js +7 -5
- package/package.json +1 -1
package/bin/install.js
CHANGED
|
@@ -157,19 +157,21 @@ function install(isGlobal) {
|
|
|
157
157
|
|
|
158
158
|
// 5. Install hooks
|
|
159
159
|
const hooksSrc = path.join(__dirname, '..', 'hooks');
|
|
160
|
-
const
|
|
160
|
+
const hooksBase = isGlobal
|
|
161
|
+
? path.join(os.homedir(), '.claude', 'hooks')
|
|
162
|
+
: path.join(process.cwd(), '.claude', 'hooks');
|
|
161
163
|
if (fs.existsSync(hooksSrc)) {
|
|
162
|
-
copyDir(hooksSrc,
|
|
164
|
+
copyDir(hooksSrc, hooksBase);
|
|
163
165
|
// Make hooks executable
|
|
164
|
-
const hookFiles = fs.readdirSync(
|
|
166
|
+
const hookFiles = fs.readdirSync(hooksBase);
|
|
165
167
|
for (const f of hookFiles) {
|
|
166
|
-
fs.chmodSync(path.join(
|
|
168
|
+
fs.chmodSync(path.join(hooksBase, f), 0o755);
|
|
167
169
|
}
|
|
168
170
|
fileCount += hookFiles.length;
|
|
169
171
|
}
|
|
170
172
|
|
|
171
173
|
// 6. Configure hooks in settings.json
|
|
172
|
-
installHooks(isGlobal,
|
|
174
|
+
installHooks(isGlobal, hooksBase);
|
|
173
175
|
|
|
174
176
|
console.log(` ${green}✓${reset} Installed ${fileCount} files to ${label}`);
|
|
175
177
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gsd-cc",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.3",
|
|
4
4
|
"description": "Get Shit Done on Claude Code — structured AI development with your Max plan",
|
|
5
5
|
"author": "Philipp Briese (https://github.com/0ui-labs)",
|
|
6
6
|
"homepage": "https://github.com/0ui-labs/GSD-CC#readme",
|