mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-26 11:49:36 +00:00
The browser MCP tool no longer requires a human to have started zapd. ZapdConsumer.connect() now dials the router and, on failure, auto-starts the shared singleton (locate the zapd binary, spawn it detached, wait for the socket) then dials once more — mirroring zapd's own host-mode connect-or-spawn. No consumer-side lock: the singleton invariant lives in zapd (advisory-lock bind), so concurrent spawns are safe. The OS unit is the primary starter; this is the bare-machine fallback so the tool just works.