//! Shared restart logic: response shape and how to build it. Both the HTTP handler
//! (`http.rs`) and the MCP tool (`mcp.rs`) build on top of this.
use Serialize;
/// Response body for `POST /restart` and the `restart` MCP tool.
/// Spawn the detached restart helper and build the acknowledgement response.