Files
whetstone_DSL/editor/tests
Bill af6fa169b7 Sprint 291: Add HTTP/SSE daemon mode to whetstone_mcp (Steps 1983-1987)
Eliminates the dual-process bug where multiple Claude Code sessions each
spawn their own whetstone_mcp stdio process with split in-memory state.
All sessions now share a single persistent daemon via MCP HTTP+SSE transport.

Changes:
- MCPHttpServer.h: HTTP+SSE transport (cpp-httplib via FetchContent).
  GET /sse streams events per session, POST /message routes JSON-RPC,
  GET /health for status. Thread-safe session map with mutex/cv/queue.
- MCPBridge.h: adds runHttp(port, workspace) method
- mcp_main.cpp: --daemon/--port flags, daemon.pid lockfile, duplicate guard
- CMakeLists.txt: FetchContent for cpp-httplib, step1983-1987 targets
- tools/start-whetstone-daemon.sh: idempotent startup, health-check poll
- 5/5 tests passing (step1987_test)

Note: Documents/.mcp.json switched to SSE transport in working directory
(not tracked in this repo). Daemon must be started before Claude Code sessions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-09 11:18:11 -06:00
..
2026-02-06 21:48:25 -07:00
2026-02-07 10:46:17 -07:00
2026-02-09 09:12:34 -07:00
2026-02-09 09:14:47 -07:00
2026-02-09 09:26:54 -07:00
2026-02-09 09:35:00 -07:00
2026-02-09 09:37:12 -07:00
2026-02-09 09:38:57 -07:00
2026-02-09 09:49:29 -07:00
2026-02-09 09:59:25 -07:00
2026-02-09 10:22:13 -07:00
2026-02-09 10:10:25 -07:00
2026-02-09 12:18:54 -07:00
2026-02-09 12:30:31 -07:00
2026-02-09 12:33:15 -07:00
2026-02-09 12:49:14 -07:00
2026-02-09 12:52:20 -07:00
2026-02-09 12:56:27 -07:00
2026-02-09 13:02:43 -07:00
2026-02-09 13:04:58 -07:00
2026-02-09 17:12:28 -07:00
2026-02-09 17:32:17 -07:00
2026-02-09 17:47:26 -07:00
2026-02-09 21:26:10 -07:00
2026-02-09 21:35:54 -07:00
2026-02-09 21:41:58 -07:00
2026-02-09 21:44:45 -07:00
2026-02-09 21:51:44 -07:00
2026-02-09 22:37:49 -07:00
2026-02-09 22:40:26 -07:00
2026-02-09 22:50:49 -07:00
2026-02-10 05:15:09 -07:00
2026-02-10 08:43:19 -07:00