Builtin Library
README.md
restart
Start a sub-client afresh.
zero client restart
zero client restart p1 --scene 11111111-2222-3333-4444-555555555555
Over MCP: tool_exec { script: "return await tools.use('client', 'restart', 'p1')" }.
The sub-client starts again as a new start: its process, port and world session
are new, the calls running in the old one answer first (at most ten seconds),
and a task handle it issued earlier is refused from then on, naming the
restart. It starts on the world and branch it is on now; name a scene or
profile to start it somewhere else.
profile takes editor, the only profile a sub-client runs. A restart also lets a sub-client that stopped restarting itself (it ended before ready for a reason another start would not change) start again.