Skip to main content

Module WindServiceHandlers

Module WindServiceHandlers 

Source
Expand description

Wind Service Handlers - dispatcher for every MountainIPCInvoke Tauri call from Wind/Output/Sky. The mod.rs inside is the central match that routes wire strings to per-domain atoms or handler files. Atoms live under WindServiceHandlers/<Domain>/<Atom>.rs following the one-export-per-file convention.

The previous WindServiceHandler (singular) sibling was merged here on 2026-04-23: of its 24 files, only 3 functions were live (extensions install/uninstall, nativeHost showOpenDialog) and those now live as atoms under WindServiceHandlers/Extension/ and WindServiceHandlers/NativeDialog/. The remaining 21 files were dead-code duplicates of plural-side implementations. Wind Service Handlers - dispatcher and sub-module aggregator. Domain files handle the individual handler implementations.

Modules§

Commands
Command registry handlers - execute and list all registered commands.
Configuration
Configuration, environment, and workbench-configuration handlers.
Extension
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.
Extensions
Extension management handlers
FileSystem
FileSystem atoms - two tiers:
Git
Local Git subprocess handlers
Model
Text Model registry + TextFile handlers
NativeDialog
Native dialog (open / save) handler atoms.
NativeHost
NativeHost atoms - native OS-layer handlers.
Navigation
Navigation history + URI labels
Output
Output channel handlers
Search
Search handlers - find in files, find files by glob.
Storage
Persistent Storage handlers
Terminal
Terminal handlers
UI
UI-layer IPC handlers grouped by domain, one file per domain. Before the 2026-04-23 split this was a single UI.rs (~670 LoC, 32 handler fns); now each domain lives in its own file so grep pub async fn against one file tells you exactly which wire methods it owns.
Utilities
Utilities for Wind handlers, grouped by purpose. Sub-module helpers (hex_digit, percent_decode, normalize_uri_path, etc.) stay co- located with their single public entry point - splitting by strict one- fn-per-file would fragment tightly coupled internals for no readability gain.

Functions§

mountain_ipc_invoke
Internal dispatcher for the single front-end Tauri command MountainIPCInvoke (registered in Binary/Main/Entry.rs::invoke_handler!, implemented in Binary/IPC/InvokeCommand.rs). The outer Tauri command receives (method: String, params: Value), unwraps params into a Vec<Value>, then delegates here.
register_wind_ipc_handlers

Type Aliases§

ConfigurationOverridesDTO 🔒
ConfigurationTarget 🔒