- Prototype and validate a persistent-session stdio worker bridge inside the hot supervisor.
- Replace the previously failing reconnect-per-call stdio idea with the persistent-session design that already passed experiment probes.
WorkerSupervisornow defaults hot mode toWMCP_HOT_WORKER_TRANSPORT=stdio-persistent.- Added
PersistentStdioWorkerBridgeinsrc/windows_mcp/dev_hot.py. WorkerSupervisor.call_tool_sync()now routes forwarded worker calls through the persistent stdio bridge when hot mode uses the new default.WorkerSupervisor.health_snapshot()now exposesactive_worker_transport.- Added unit coverage for:
- persistent stdio bridge dispatch
- persistent stdio bridge shutdown
- Targeted tests:
tests/test_dev_hot.pypassed. - Local hot shell via
build_shell_mcp(...):Clipboard(get): pass- long forwarded
PowerShellwithStart-Sleep -Seconds 8: pass DevServer(mode="health"): pass and reportedactive_worker_transport = "stdio-persistent"
- Full suite:
168 passed in 5.58s
- The earlier stdio failure was a session-lifecycle bug, not a transport dead end.
- Persistent-session stdio is now the best-supported local replacement for the unreliable internal worker
streamable-httpbridge. - Live verification still requires one more host reconnect because the currently attached shell was started before this transport default changed.