Expand description
Extension-management IPC handler atoms. One pub async fn per file;
file name mirrors the exported function name. Dispatcher in
WindServiceHandlers/mod.rs routes extensions:install and
extensions:uninstall into these atoms.
Helpers (NotifyCocoonDeltaExtensions, UserExtensionDirectory,
VsixPathFromArgs) live in their own atoms so the three fns they
support can import them individually and future handlers reuse the
same code without the transitive-import ballooning a parent file.
Modules§
- Extension
Install extensions:installIPC handler - local VSIX only. Gallery installs are declined (Land has no marketplace backend) and returnnull.- Extension
Uninstall extensions:uninstallIPC handler - removes the install directory, clears the registry entry, and notifies Cocoon + Wind. Symmetric withExtensionInstall.- Notify
Cocoon Delta Extensions - Post-install/uninstall Cocoon notification.
- User
Extension Directory - User-scope install destination for VSIX unpacks. Matches the user-scope
scan path in
Binary/Extension/ScanPathConfigure.rsso VSIX-installed extensions are discovered on the next Mountain boot without a sync step. - Vsix
Path From Args - Extract a filesystem path from the first arg of
extensions:install. Wind’s install dialog hands us either a raw string (“file:///…” or absolute path) or a Tauri-serialisedUriComponentsobject; both forms collapse to a singlePathBufhere.Nonewhen the arg is missing, malformed, or carries a non-file scheme.