Expand description
§Vine Protocol Implementation (Air)
Air’s Vine surface. Implements the gRPC protocol that runs on Air’s
side of the bus - Air hosts AirVinegRPCService on [::1]:50053 so
callers (Mountain, external clients, integration tests) can reach
Air’s background services (indexing, downloads, updates,
authentication).
§Layout
Generated- Air-local prost output forAir.proto. Air’s own service definitions (UpdateService,IndexingService,DownloaderService,AuthenticationService) live here.Server- Air’s gRPC server implementation (Server::AirVinegRPCService), wiring Air’sApplicationStateinto the generated service traits.Error- re-exports the canonical [VineError] from theVinecrate and exposesError::AirCompatalias constructors.
§Re-exports from the Vine crate
For convenience, the most-used Vine crate items are re-exported at
this module’s root so Air code can write use crate::Vine::{VineHost, IPCProvider}; without spelling out the workspace crate path:
- [
VineHost] / [ApplicationStateAccess] / [IPCProvider] - embedder seam (Air’sApplicationStateimplements these to host theVinenotification handler tree against Air’s runtime). - [
ProtocolVersion] / [DefaultRequestTimeoutMs] / [DefaultMaxMessageSize] / [DefaultAirAddress] - canonical protocol constants.