feat(desktop): RuView Desktop v0.4.0 - Full ADR-054 Implementation#212
Merged
feat(desktop): RuView Desktop v0.4.0 - Full ADR-054 Implementation#212
Conversation
Fixes #206 - Settings can now be saved and loaded in Desktop v0.3.0 - Add commands/settings.rs with get_settings and save_settings Tauri commands - Settings persisted to app data directory as settings.json - Supports all AppSettings fields: ports, bind address, OTA PSK, discovery, theme - Add unit tests for serialization and defaults Settings are stored at: - macOS: ~/Library/Application Support/net.ruv.ruview/settings.json - Windows: %APPDATA%/net.ruv.ruview/settings.json - Linux: ~/.config/net.ruv.ruview/settings.json Co-Authored-By: claude-flow <ruv@ruv.net>
This release completes all 14 Tauri commands specified in ADR-054, making the desktop app fully production-ready for ESP32 node management. ## New Features ### Discovery Module - Real mDNS discovery (_ruview._udp.local) - UDP broadcast probe on port 5006 - Serial port enumeration with ESP32 chip detection ### Flash Module - Full espflash CLI integration - Real-time progress streaming via Tauri events - SHA-256 firmware verification - Support for ESP32, S2, S3, C3, C6 chips ### OTA Module - HTTP multipart firmware upload - HMAC-SHA256 signature with PSK authentication - Sequential and parallel batch update strategies - Reboot confirmation polling ### WASM Module - 67 edge modules across 14 categories - App-store style module library with ratings/downloads - Full module lifecycle (upload/start/stop/unload) - RVF format deployment paths ### Server Module - Child process spawn with config - Graceful SIGTERM + SIGKILL fallback - Memory/CPU monitoring via sysinfo ### Provision Module - NVS binary serial protocol - Read/write/erase operations - Mesh config generation for multi-node setup ## Security - Input validation (IP, port, path) - Binary validation (ESP/WASM magic bytes) - PSK authentication for OTA ## Breaking Changes None - backwards compatible with v0.3.0 Co-Authored-By: claude-flow <ruv@ruv.net>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR completes the full implementation of ADR-054, making RuView Desktop v0.4.0 production-ready for ESP32 node management.
Changes
Backend (Rust)
discovery.rs: Real mDNS + UDP broadcast discoveryflash.rs: espflash CLI integration with progress eventsota.rs: HTTP multipart + HMAC-SHA256 + PSK authwasm.rs: Full WASM module lifecycle managementserver.rs: Child process spawn with graceful shutdownprovision.rs: NVS binary serial protocolFrontend (React/TypeScript)
EdgeModules.tsx: 67 modules, app-store UI with ratings/downloadsNetworkDiscovery.tsx: New discovery pagetauri.conf.json,package.json,App.tsxDocumentation
ADR-054-desktop-full-implementation.md: Full specificationBuild Output
Test plan
cargo test --workspace- 18 tests passnpm run build- TypeScript compilescargo tauri build --bundles dmg- DMG buildsRelated
🤖 Generated with claude-flow