Stats
Actions
Tags
From vault-sync
Tracks session lifecycle and user prompts with Node.js hooks. Logs session start/end, prompt submissions, and post-tool events for audit or analytics.
5 events · 5 hooks
Safety signals detected in this hook configuration
Where this hook configuration is defined
Defined in hooks/hooks.json
Event handlers and matchers — expand Raw Configuration for the full JSON
_R="${CLAUDE_PLUGIN_ROOT}"; [ -z "$_R" ] && for d in "$HOME/.claude/plugins/cache/lore/vault-sync"/[0-9]* "$HOME/.cursor/plugins/cache/lore/vault-sync"/*; do [ -f "$d/scripts/bun-runner.js" ] && _R="$d"; done; [ -z "$_R" ] && exit 0; node "$_R/scripts/bun-runner.js" "$_R/dist/hooks/stop.cjs"120ms_R="${CLAUDE_PLUGIN_ROOT}"; [ -z "$_R" ] && for d in "$HOME/.claude/plugins/cache/lore/vault-sync"/[0-9]* "$HOME/.cursor/plugins/cache/lore/vault-sync"/*; do [ -f "$d/scripts/bun-runner.js" ] && _R="$d"; done; [ -z "$_R" ] && exit 0; node "$_R/scripts/bun-runner.js" "$_R/dist/hooks/session-end.cjs"30ms*_R="${CLAUDE_PLUGIN_ROOT}"; [ -z "$_R" ] && for d in "$HOME/.claude/plugins/cache/lore/vault-sync"/[0-9]* "$HOME/.cursor/plugins/cache/lore/vault-sync"/*; do [ -f "$d/scripts/bun-runner.js" ] && _R="$d"; done; [ -z "$_R" ] && exit 0; node "$_R/scripts/bun-runner.js" "$_R/dist/hooks/post-tool-use.cjs"30msstartup|clear|compact_R="${CLAUDE_PLUGIN_ROOT}"; [ -z "$_R" ] && for d in "$HOME/.claude/plugins/cache/lore/vault-sync"/[0-9]* "$HOME/.cursor/plugins/cache/lore/vault-sync"/*; do [ -f "$d/scripts/bun-runner.js" ] && _R="$d"; done; [ -z "$_R" ] && exit 0; node "$_R/scripts/bun-runner.js" "$_R/dist/hooks/session-start.cjs"60ms_R="${CLAUDE_PLUGIN_ROOT}"; [ -z "$_R" ] && for d in "$HOME/.claude/plugins/cache/lore/vault-sync"/[0-9]* "$HOME/.cursor/plugins/cache/lore/vault-sync"/*; do [ -f "$d/scripts/bun-runner.js" ] && _R="$d"; done; [ -z "$_R" ] && exit 0; node "$_R/scripts/bun-runner.js" "$_R/dist/hooks/user-prompt-submit.cjs"5msnpx claudepluginhub mahuebel/lore --plugin vault-sync