fix: Correct hooks format - add nested hooks array

SessionEnd hooks require { hooks: [...] } format, not direct type/command.
Fixed install-hooks.sh script and setup.md command.
Bump version to 2.1.3

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Claude Agent
2026-01-07 00:01:56 +00:00
parent f08704af5e
commit b9284a59f7
4 changed files with 24 additions and 14 deletions

View File

@@ -11,7 +11,7 @@
"name": "learn",
"source": "./plugins/learn",
"description": "Domain-based memory with selective saving, signal detection, and memory hygiene",
"version": "2.1.2",
"version": "2.1.3",
"keywords": ["learn", "memory", "patterns", "gotchas", "domains", "cleanup", "hygiene"]
}
]