sinapse-ai 7.7.0 → 7.7.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.
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
# - SHA256 hashes for change detection
|
|
8
8
|
# - File types for categorization
|
|
9
9
|
#
|
|
10
|
-
version: 7.7.
|
|
11
|
-
generated_at: "2026-04-
|
|
10
|
+
version: 7.7.1
|
|
11
|
+
generated_at: "2026-04-01T21:15:14.671Z"
|
|
12
12
|
generator: scripts/generate-install-manifest.js
|
|
13
13
|
file_count: 1107
|
|
14
14
|
files:
|
package/package.json
CHANGED
|
@@ -676,11 +676,17 @@ async function copyClaudeHooksFolder(projectRoot) {
|
|
|
676
676
|
|
|
677
677
|
await fs.ensureDir(targetDir);
|
|
678
678
|
|
|
679
|
-
//
|
|
679
|
+
// Copy CJS hooks that work standalone (no Python/shell deps)
|
|
680
680
|
const HOOKS_TO_COPY = [
|
|
681
681
|
'synapse-engine.cjs',
|
|
682
682
|
'code-intel-pretool.cjs',
|
|
683
683
|
'precompact-session-digest.cjs',
|
|
684
|
+
// v7.6.0 Constitutional enforcement hooks
|
|
685
|
+
'enforce-architecture-first.cjs',
|
|
686
|
+
'enforce-delegation.cjs',
|
|
687
|
+
'enforce-story-gate.cjs',
|
|
688
|
+
'secret-scanning.cjs',
|
|
689
|
+
'write-path-validation.cjs',
|
|
684
690
|
'README.md',
|
|
685
691
|
];
|
|
686
692
|
|
|
@@ -728,6 +734,32 @@ const HOOK_EVENT_MAP = {
|
|
|
728
734
|
matcher: null,
|
|
729
735
|
timeout: 10,
|
|
730
736
|
},
|
|
737
|
+
// v7.6.0 Constitutional enforcement hooks
|
|
738
|
+
'enforce-architecture-first.cjs': {
|
|
739
|
+
event: 'PreToolUse',
|
|
740
|
+
matcher: 'Write|Edit',
|
|
741
|
+
timeout: 5,
|
|
742
|
+
},
|
|
743
|
+
'enforce-story-gate.cjs': {
|
|
744
|
+
event: 'PreToolUse',
|
|
745
|
+
matcher: 'Write|Edit',
|
|
746
|
+
timeout: 5,
|
|
747
|
+
},
|
|
748
|
+
'write-path-validation.cjs': {
|
|
749
|
+
event: 'PreToolUse',
|
|
750
|
+
matcher: 'Write|Edit',
|
|
751
|
+
timeout: 5,
|
|
752
|
+
},
|
|
753
|
+
'enforce-delegation.cjs': {
|
|
754
|
+
event: 'PreToolUse',
|
|
755
|
+
matcher: 'Write|Edit|Bash',
|
|
756
|
+
timeout: 5,
|
|
757
|
+
},
|
|
758
|
+
'secret-scanning.cjs': {
|
|
759
|
+
event: 'PreToolUse',
|
|
760
|
+
matcher: 'Write|Edit',
|
|
761
|
+
timeout: 5,
|
|
762
|
+
},
|
|
731
763
|
};
|
|
732
764
|
|
|
733
765
|
/** Default event config for unmapped hooks (backwards compatible). */
|