Ran 4 stop hooks (ctrl+o to expand)
⎿ Stop hook error: [export PATH="$($SHELL -lc 'echo $PATH' 2>/dev/null):$PATH";
_C="${CLAUDE_CONFIG_DIR:-$HOME/.claude}"; _E="${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}"; _P=$({ [ -n "$_E" ] &&
printf '%s\n' "$_E"; ls -dt "$_C/plugins/cache/thedotmack/claude-mem"/[0-9]*/ 2>/dev/null; printf '%s\n'
"$_C/plugins/marketplaces/thedotmack/plugin"; } | while IFS= read -r _R; do _R="${_R%/}"; [ -d
"$_R/plugin/scripts" ] && _Q="$_R/plugin" || _Q="$_R"; [ -f "$_Q/scripts/bun-runner.js" ] && [ -f
"$_Q/scripts/worker-service.cjs" ] && { printf '%s\n' "$_Q"; break; }; done); [ -n "$_P" ] || { echo "claude-mem:
plugin scripts not found" >&2; exit 1; }; command -v cygpath >/dev/null 2>&1 && { _W=$(cygpath -w "$_P"
2>/dev/null); [ -n "$_W" ] && _P="$_W"; }; node "$_P/scripts/bun-runner.js" "$_P/scripts/worker-service.cjs" hook
claude-code summarize]: /usr/bin/bash: line 1: printf: write error: Permission denied
claude-mem worker unreachable for 85 consecutive hooks.
每次更新总是会导致hook出错,让claude自己修复也没修好。
Ran 4 stop hooks (ctrl+o to expand)
⎿ Stop hook error: [export PATH="$($SHELL -lc 'echo $PATH' 2>/dev/null):$PATH";
_C="${CLAUDE_CONFIG_DIR:-$HOME/.claude}"; _E="${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}"; _P=$({ [ -n "$_E" ] &&
printf '%s\n' "$_E"; ls -dt "$_C/plugins/cache/thedotmack/claude-mem"/[0-9]*/ 2>/dev/null; printf '%s\n'
"$_C/plugins/marketplaces/thedotmack/plugin"; } | while IFS= read -r _R; do _R="${_R%/}"; [ -d
"$_R/plugin/scripts" ] && _Q="$_R/plugin" || _Q="$_R"; [ -f "$_Q/scripts/bun-runner.js" ] && [ -f
"$_Q/scripts/worker-service.cjs" ] && { printf '%s\n' "$_Q"; break; }; done); [ -n "$_P" ] || { echo "claude-mem:
plugin scripts not found" >&2; exit 1; }; command -v cygpath >/dev/null 2>&1 && { _W=$(cygpath -w "$_P"
2>/dev/null); [ -n "$_W" ] && _P="$_W"; }; node "$_P/scripts/bun-runner.js" "$_P/scripts/worker-service.cjs" hook
claude-code summarize]: /usr/bin/bash: line 1: printf: write error: Permission denied
claude-mem worker unreachable for 85 consecutive hooks.
每次更新总是会导致hook出错,让claude自己修复也没修好。