{"endpoints": [{"method": "GET", "path": "/", "auth": false, "description": "List all endpoints (self-describing)"}, {"method": "GET", "path": "/health", "auth": false, "description": "Daemon health probe"}, {"method": "GET", "path": "/version", "auth": false, "description": "Daemon version"}, {"method": "GET", "path": "/agents", "auth": true, "description": "List registered agents"}, {"method": "POST", "path": "/agents", "auth": true, "description": "Register an agent from manifest body"}, {"method": "GET", "path": "/agents/{name}", "auth": true, "description": "Get one agent record"}, {"method": "DELETE", "path": "/agents/{name}", "auth": true, "description": "Stop and unregister an agent"}, {"method": "POST", "path": "/agents/{name}/messages", "auth": true, "description": "Send a message to an agent"}, {"method": "POST", "path": "/builds", "auth": true, "description": "Start a build"}, {"method": "GET", "path": "/builds/{id}", "auth": true, "description": "Build status (polling fallback)"}, {"method": "WS", "path": "/ws/agents/{name}/events", "auth": true, "description": "Live agent event stream"}, {"method": "WS", "path": "/ws/builds/{id}/progress", "auth": true, "description": "Live build progress stream"}, {"method": "WS", "path": "/ws/logs", "auth": true, "description": "Aggregated daemon log stream"}]}