Expand description
Legacy Wind Service Adapters.
§Wind service adapters
Mountain → Wind bridge: takes Mountain’s sandbox config
and runtime providers, exposes them in Wind’s expected
shape (WindDesktopConfiguration::Struct,
WindFileService::Struct, WindStorageService::Struct,
WindConfigurationService::Struct,
WindEnvironmentService::Struct). The
WindServiceAdapter::Struct factory holds the runtime
handle and produces the per-domain wrappers on demand.
Modules§
- File
ToDiff - Single diff target URI used by Wind’s
--difflaunch flag. Mirrorsvscode.IDiffEditorInput::resource. - File
ToOpen OrCreate - One file URI scheduled for open / create. Carried inside
WindDesktopConfiguration::Struct::files_to_open_or_create. - Files
ToWait --waitpayload: marker file URI plus the path list whose close events the launcher is blocked on.- Logger
- Single registered logger - resource URI inside Wind’s log registry payload.
- Mountain
Sandbox Configuration - Mountain’s own sandbox-config payload (input to
WindServiceAdapter::convert_to_wind_configuration). Private to this module; the trio of nested DTOs (Versions,NLSConfiguration,ProductConfiguration) lives inline because they’re consumed only here and never constructed externally. - OsInfo
- Minimal OS slice surfaced to Wind - just the release / OS identifier string.
- Profiles
- Wind profile-state slice: every known profile, the home directory, and the active profile descriptor.
- Wind
Configuration Service - Wind-shaped configuration service - read / write of
configuration values via the injected
ConfigurationProvidertrait. Defaults to user-target writes;ConfigurationOverridesDTO::default()resolves to the active scope. - Wind
Desktop Configuration - Mirror of Wind’s
IDesktopConfigurationinterface - the shape Sky deserialises on boot. Built byWindServiceAdapter::convert_to_wind_configurationfrom Mountain’s sandbox config. - Wind
Environment Service - Wind-shaped environment-variable accessor. Reads
APP_ROOT/USER_DATA_PATHfrom the process env so Wind’s desktop bootstrap can stay agnostic to the Tauri side. - Wind
File Service - Wind-shaped file service: read / write / stat over the
injected
FileSystemReader/FileSystemWritertraits. - Wind
Service Adapter - Bridge between Mountain’s runtime and Wind’s expected
service interfaces.
convert_to_wind_configurationturns Mountain’s sandbox config into theWindDesktopConfiguration::StructSky deserialises;get_*_servicefactories produce the per-domain wrappers (env, file, storage, configuration) Wind needs. - Wind
Storage Service - Wind-shaped storage service: get / set against the
injected
StorageProvidertrait.