Daemon cold start takes ~25s but hooks have short timeouts, causing retain to time out on first use. Fix by firing daemon startup as a detached background process in SessionStart so it warms up before the first recall/retain hook fires. Also bumps the daemon start timeout in _ensure_daemon_running from 10s to 30s as a fallback for when retain fires before pre-start completes. |
||
|---|---|---|
| .. | ||
| lib | ||
| recall.py | ||
| retain.py | ||
| session_end.py | ||
| session_start.py | ||