pub fn deprecated_alias(name: &str) -> Option<DeprecatedAlias>Expand description
Single source of truth for read-cluster deprecations (#509). Returns the
replacement + migration hint when name is a deprecated alias, else None.
Used by crate::server::tool_visibility::is_tool_visible to hide the alias
from tools/list, and by the dispatch layer to prepend a one-line
deprecation notice to the alias’s output. Keeping both behaviours keyed off
this one function guarantees “hidden” and “warned” can never drift apart.