Add Remote Release Channel Check

Nucleic-Session: 7D1A5F60-CF2F-44E6-B060-51C4C2EA79D1
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-02 21:40:54 -07:00
co-authored by Nucleic
parent 566135ae89
commit d3515605f7
@@ -17,6 +17,18 @@ enum BuildChannel {
case releaseCandidate
/// The `stable` channel — no banner.
case release
/// The wire projection sent to the host in `hello`, so it can gate the connection on
/// channel compatibility (`ReleaseChannel.isCompatible`).
var releaseChannel: ReleaseChannel {
switch self {
case .local: .local
case .canary: .canary
case .beta: .beta
case .releaseCandidate: .releaseCandidate
case .release: .release
}
}
}
/// Build identity for the running app: which channel it came from and its build label.