The "files" field in package.json listed "hooks/dist" instead of "hooks", which excluded gsd-session-state.sh, gsd-validate-commit.sh, and gsd-phase-boundary.sh from the npm tarball. Any fresh install from the registry produced broken shell hook registrations. Fix: replace "hooks/dist" with "hooks" so the full hooks/ directory is bundled, covering both the compiled .js files (in hooks/dist/) and the .sh source hooks at the top of hooks/. Adds regression test in tests/package-manifest.test.cjs. Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
"commands",
|
||||
"get-shit-done",
|
||||
"agents",
|
||||
"hooks/dist",
|
||||
"hooks",
|
||||
"scripts"
|
||||
],
|
||||
"keywords": [
|
||||
|
||||
Reference in New Issue
Block a user