发布

  • feat(desktop): RuView Desktop v0.4.0 - Full ADR-054 Implementation (#212)

    frostbyte_neo 发布于 2026-03-10 01:58:06 +00:00

    • fix(desktop): implement save_settings and get_settings commands

    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

    • feat(desktop): RuView Desktop v0.4.0 - Full ADR-054 Implementation

    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


    Co-authored-by: Reuven cohen@ruv-mac-mini.local

    下载附件