fix: quiet successful daemon attach logs
Summary
- stop writing successful shared-daemon attach notices to stderr by default
- keep the attach notice available behind
CODEGRAPH_MCP_LOG_ATTACH=1for debugging - update daemon regression tests to assert attach still works without noisy success stderr
Closes #618
Tests
npm run buildnpm test -- __tests__/mcp-daemon.test.ts
Fix documented https://help.instagram.com/512371932629820/?helpref=uf_share
Thanks @mturac — clean, well-targeted fix. 🙏
I've landed it as #725, rebased onto current main: this PR had drifted out of date (#724 and the recent shared-daemon reworks both touched proxy.ts and mcp-daemon.test.ts, so it went conflicting). #725 keeps your exact approach — a logAttachedDaemon() helper gated behind CODEGRAPH_MCP_LOG_ATTACH=1, routing both attach sites (runProxy + connectWithHello) through it — plus a small unit test and a harness opt-in so the existing daemon attach assertions still pass. You're credited in the commit and the CHANGELOG.
Closing in favor of #725. Appreciate you catching this one!