What's changed
Fixed
- GIL contention between REM cycles and MCP requests:
_tick_bodynow yields the REM loop whenmcp_socketreports active connections or recent activity, preventingmemory_recalltimeouts during long consolidation runs. INTERRUPT_RECENT_ACTIVITY_WINDOW_SECpromoted to module scope (was duplicated as a local insidemain()).
Added
IAI_MCP_SESSION_CAPTURE_CLIenv var for developer-override of the CLI binary path in the session-capture hook.- 2 regression tests for the MCP-yield branch.
Full changelog: https://github.com/CodeAbra/iai-mcp/blob/main/CHANGELOG.md#041--2026-05-14