fix(plugin): hook cleanup + identity + compact-summary flow (#5076)

This commit is contained in:
Mragank Shekhar
2026-05-09 19:19:30 +05:30
committed by GitHub
parent a623cfaf76
commit e95de4ca50
17 changed files with 604 additions and 26 deletions
+4
View File
@@ -9,6 +9,10 @@
set -euo pipefail
if [ -n "${MEM0_DEBUG:-}" ]; then
mkdir -p "$HOME/.mem0" && exec 2>>"$HOME/.mem0/hooks.log"
fi
INPUT=$(cat)
TASK_SUBJECT=$(echo "$INPUT" | jq -r '.task_subject // "unknown task"' 2>/dev/null || echo "unknown task")