//! Wait-for-ready support for URL-targeted MCP servers.
//!
//! Preview deploys, container starts, and `kubectl rollout` need a small grace
//! window before the server accepts an `initialize` call. The CLI flag
//! `--wait-for-ready <DURATION>` polls the target until it succeeds or the
//! budget expires. The polling logic is transport-free so it can be unit
//! tested without standing up a real HTTP server; the runner plugs
//! in a real HTTP probe at the call site.

mod wait;

pub use wait::{wait_for_ready, ReadinessFailFast, ReadinessOutcome, ReadyProbe};
