Stats
Actions
Tags
From awareness-memory
Runs a cache-touch script on Stop, PostToolUse, and UserPromptSubmit to track activity, plus a setup script on SessionStart. Executes bash commands.
4 events · 4 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
node "${CLAUDE_PLUGIN_ROOT}/scripts/capture.js"node "${CLAUDE_PLUGIN_ROOT}/scripts/post-tool.js"node "${CLAUDE_PLUGIN_ROOT}/scripts/ensure-mcp.js" 2>/dev/null; FIRST_RUN=0; if curl -sf http://localhost:37800/healthz > /dev/null 2>&1; then echo '[Awareness Memory] Ready. Dashboard: http://localhost:37800'; elif [ -n "$AWARENESS_API_KEY" ] && [ "$AWARENESS_API_KEY" != "aw_your-api-key-here" ] && [ -n "$AWARENESS_MEMORY_ID" ] && [ "$AWARENESS_MEMORY_ID" != "your-memory-id-here" ]; then echo '[Awareness Memory] Cloud mode ready.'; else FIRST_RUN=1; echo '[Awareness Memory] Installing & starting local daemon (first time may take ~30s)...'; npx -y @awareness-sdk/local start > /dev/null 2>&1 & for i in $(seq 1 30); do sleep 1; if curl -sf http://localhost:37800/healthz > /dev/null 2>&1; then echo '[Awareness Memory] Ready. Dashboard: http://localhost:37800'; break; fi; done; fi; if [ $FIRST_RUN -eq 1 ] && curl -sf http://localhost:37800/healthz > /dev/null 2>&1; then if command -v open > /dev/null 2>&1; then open http://localhost:37800; elif command -v xdg-open > /dev/null 2>&1; then xdg-open http://localhost:37800; fi; finode "${CLAUDE_PLUGIN_ROOT}/scripts/recall.js"npx claudepluginhub edwin-hao-ai/awareness-sdk --plugin awareness-memory