feat(hooks): session-end-dump calls kei-sleep-sync after ingest
This commit is contained in:
parent
9450ef0b95
commit
7db2328b68
1 changed files with 8 additions and 0 deletions
|
|
@ -41,4 +41,12 @@ if command -v kei-memory >/dev/null 2>&1 && [ -f "$dest" ]; then
|
|||
>/dev/null 2>&1 || true
|
||||
fi
|
||||
|
||||
# v0.11 sleep-sync (RULE 0.15) — push traces to the user's memory-repo so a
|
||||
# cloud agent can consolidate them overnight. Silent no-op when the primitive
|
||||
# is absent or the user hasn't opted in via /sleep-setup.
|
||||
sleep_sync="${HOME}/.claude/agents/_primitives/kei-sleep-sync.sh"
|
||||
if [ -x "$sleep_sync" ]; then
|
||||
"$sleep_sync" >/dev/null 2>&1 || true
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue