pub fn cli_version_event(version: &ResolvedVersion) -> EventExpand description
Wrap a resolved version response in a protocol result event.
This delegates to crate::build_cli_version rather than assembling its
own payload. There is one version shape — {code, name, version} plus
display_name/build when the registry carries them — and it is the same
one the Go, Python, and TypeScript SDKs emit.