9 lines
427 B
Bash
9 lines
427 B
Bash
|
|
#!/usr/bin/env bash
|
||
|
|
# Test-only adapter: session-end is split into TWO Python entries in production
|
||
|
|
# (session_end.py + memsearch_sync.py, two SessionEnd registrations). The harness
|
||
|
|
# captures a single combined golden, so we drive both from one stdin here.
|
||
|
|
HOOKS="$(cd "$(dirname "$0")/../../hooks" && pwd)"
|
||
|
|
IN="$(cat)"
|
||
|
|
printf '%s' "$IN" | python3 "$HOOKS/session_end.py"
|
||
|
|
printf '%s' "$IN" | python3 "$HOOKS/memsearch_sync.py"
|