1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//! Platform module — hardware detection, environment management, and OS abstraction.
//!
//! This module provides platform-specific functionality including:
//! - GPU detection with fallback chain (rocminfo → lspci → sysfs)
//! - GPU architecture correction from marketing names
//! - ROCm version detection and path search
//! - Linux distribution detection and package manager identification
//! - Environment normalization, home directory resolution, Python interpreter discovery
//! - Component registry, installed component detection, and version querying
//! - Linux-specific platform operations
//! - Windows build support, WSL2 detection, and backend routing
//! - Windows ↔ WSL2 path translation bridge
//! - Service launch surfaces with localhost-only binding
//! - Windows-native control shell using shared Rust contracts
//!
//! # Platform-Specific Modules
//!
//! - `linux` — Linux-native GPU/ROCm detection (Unix-only internals, cfg-gated)
//! - `windows` — Backend routing model (cross-platform)
//! - `wsl` — WSL2 detection, health checks, provisioning guidance (cross-platform)
//! - `path_bridge` — Windows ↔ WSL2 path translation (cross-platform)
//! - `service` — Service launch with localhost-only binding and health endpoints
//! - `control_shell` — Windows-native control shell using shared Rust contracts
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;