Expand description
Legacy Wind Air Commands.
§Wind ↔ Air delegation commands
Tauri commands the Wind frontend invokes to delegate
background work (updates, downloads, auth, indexing,
search, metrics) to the Air gRPC daemon. Each command +
DTO lives in its own sibling file; the wire-bound names
(CheckForUpdates, DownloadUpdate, etc.) are preserved
so the front-end invoke() calls don’t change.
Modules§
- AirClient
Wrapper - gRPC client wrapper around
Air::AirClient::AirClient- adds reconnect support and PascalCase logging consistent with the WindAirCommands surface. - AirMetricsDTO
- Air daemon resource metrics DTO returned by
GetAirMetrics. - AirService
StatusDTO - Air daemon status DTO returned by
GetAirStatus. - Apply
Update ApplyUpdateTauri command - tell Air to install a previously downloaded update package.- Auth
ResponseDTO - Authentication response DTO returned by
AuthenticateUser. - Authenticate
User AuthenticateUserTauri command - delegate sign-in to Air’s auth service for the named provider (GitHub / GitLab / Microsoft / etc).- Check
ForUpdates CheckForUpdatesTauri command - delegate the update probe to Air’s gRPC service and shape the response intoUpdateInfoDTO::Struct.- Download
File DownloadFileTauri command - generic URL download routed through Air’s download service.- Download
ResultDTO - Download-completion DTO returned by
DownloadUpdateandDownloadFile. - Download
Update DownloadUpdateTauri command - hand off update-package download to Air, returning aDownloadResultDTO::Struct.- File
ResultDTO - Single search hit returned inside
SearchResultsDTO::Struct. - GetAir
Address - Resolve the Air daemon’s gRPC address. Currently hard-coded
to
DEFAULT_AIR_SERVER_ADDRESS; future revisions will read a runtime config slot. - GetAir
Metrics GetAirMetricsTauri command - pull memory / CPU / disk / network counters from Air, optionally filtered by metric type (“performance”, “resources”, “requests”).- GetAir
Status GetAirStatusTauri command - call Air’s status RPC and its health probe, fold both into anAirServiceStatusDTO::Struct.- GetOr
Create AirClient - Connect-on-each-call helper. TODO: replace with a state- managed singleton once Air-side connection pooling lands.
- Index
Files IndexFilesTauri command - kick off a directory index pass on the Air daemon, with include / exclude globs and a depth cap.- Index
ResultDTO - File-indexing summary DTO returned by
IndexFiles. - Register
Wind AirCommands - Wire all 9
WindAirCommandsTauri commands into a TauriBuilder. The dispatcher itself is kept here so the command list stays a single source of truth. Each command is referenced by its full path so thetauri::commandaccessor macro resolves in its own module. - Search
Files SearchFilesTauri command - query Air’s full-text index and shape hits intoSearchResultsDTO::Struct.- Search
ResultsDTO - Search-results envelope returned by
SearchFiles. - Update
InfoDTO - Update-availability DTO returned by
CheckForUpdates.