Files
ScavengerCoA a43cbbb5e6 fix: use dedicated daemon connection for background MCP indexing (#98)
Background indexing during MCP startup shared the same DaemonClient
(multiprocessing connection) as foreground search requests. Concurrent
sends/recvs on the single pipe corrupted data, causing:

    Query failed: Input data was truncated

_bg_index() now acquires a fresh DaemonClient via ensure_daemon(),
uses it for indexing, and always closes it in finally. Both MCP
startup paths are fixed (cli.py `ccc mcp` and server.py `cocoindex-code`).
2026-03-18 18:12:33 -07:00
..