Send the owner its outstanding mutation offer over v10
Session protocol v10 adds type 26: the life's earned offer with its unranked candidates in operator order and each successor's capability value, maintenance and total mass. The cellular bridge sends it when the offer or the owner's session changes and clears a consumed offer; the client keeps the latest one for the maintainer's choice UI (ADR-0121, 11.4d server half). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -95,6 +95,9 @@ class RegionSessionClient {
|
||||
// Newest owner-filtered cellular sensor view (v8), cleared when no owned life exists.
|
||||
[[nodiscard]] const std::optional<network::CellularPerception>&
|
||||
cellular_perception() const noexcept;
|
||||
// The owned life's outstanding mutation offer (v10), cleared when consumed or absent.
|
||||
[[nodiscard]] const std::optional<network::CellularMutationOffer>&
|
||||
mutation_offer() const noexcept;
|
||||
[[nodiscard]] std::expected<client::EnvironmentPresentation, client::ViewError>
|
||||
environment() const;
|
||||
[[nodiscard]] std::expected<client::OrganismPresentation, client::ViewError> organisms() const;
|
||||
|
||||
Reference in New Issue
Block a user