memorix 0.9.4 → 0.9.5
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/CHANGELOG.md +5 -0
- package/dist/cli/index.js +9 -14
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +9 -14
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.9.5] — 2026-02-25
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
- **Claude Code hooks `matcher` format** — `matcher` must be a **string** (tool name pattern like `"Bash"`, `"Edit|Write"`), not an object. For hooks that should fire on ALL events, `matcher` is now omitted entirely instead of using `{}`. Fixes `matcher: Expected string, but received object` validation error on Claude Code startup.
|
|
9
|
+
|
|
5
10
|
## [0.9.4] — 2026-02-25
|
|
6
11
|
|
|
7
12
|
### Fixed
|
package/dist/cli/index.js
CHANGED
|
@@ -3700,23 +3700,18 @@ function resolveHookCommand() {
|
|
|
3700
3700
|
}
|
|
3701
3701
|
function generateClaudeConfig() {
|
|
3702
3702
|
const cmd = `${resolveHookCommand()} hook`;
|
|
3703
|
-
const
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
type: "command",
|
|
3708
|
-
command: cmd,
|
|
3709
|
-
timeout: 10
|
|
3710
|
-
}
|
|
3711
|
-
]
|
|
3703
|
+
const hookEntry = {
|
|
3704
|
+
type: "command",
|
|
3705
|
+
command: cmd,
|
|
3706
|
+
timeout: 10
|
|
3712
3707
|
};
|
|
3713
3708
|
return {
|
|
3714
3709
|
hooks: {
|
|
3715
|
-
SessionStart: [
|
|
3716
|
-
PostToolUse: [
|
|
3717
|
-
UserPromptSubmit: [
|
|
3718
|
-
PreCompact: [
|
|
3719
|
-
Stop: [
|
|
3710
|
+
SessionStart: [{ hooks: [hookEntry] }],
|
|
3711
|
+
PostToolUse: [{ hooks: [hookEntry] }],
|
|
3712
|
+
UserPromptSubmit: [{ hooks: [hookEntry] }],
|
|
3713
|
+
PreCompact: [{ hooks: [hookEntry] }],
|
|
3714
|
+
Stop: [{ hooks: [hookEntry] }]
|
|
3720
3715
|
}
|
|
3721
3716
|
};
|
|
3722
3717
|
}
|