Skip to content

MiWarp v1.0.8

Choose a tag to compare

@github-actions github-actions released this 21 Jun 14:02

MiWarp v1.0.8

MiWarp v1.0.8 is a major cross-platform runtime-foundation and reliability release. It introduces the initial MiMo-Code runtime integration, ships Split Workspace with up to four panes, hardens session and WebSocket lifecycle handling, adds bounded UTF-8-safe message chunking across all clients, and improves the chat experience on both iPhone and iPad.

Highlights

Multi-Runtime Foundation

  • Added the initial MiMo-Code runtime abstraction and protocol adapter.
  • Added runtime binary detection and runtime configuration APIs.
  • Added a dedicated Runtimes section in Settings and a runtime selector on the welcome screen.
  • Added synthetic session initialization for MiMo runtimes and MiMo tool-name mappings for tool activity cards.
  • Established the foundation for future third-party and private-network runtimes. The full provider compatibility matrix remains follow-up work.

Split Workspace

  • Added drag-and-drop from sidebar sessions into workspace panes.
  • Added two-, three-, and four-pane layouts, with a maximum of four panes.
  • Added pane headers, active-pane switching, session snapshots, and empty-pane states.
  • Coordinated split mode with the right sidebar to prevent conflicting data loads.
  • Improved first-time drop detection and Tauri WebView drag-and-drop fallback behavior.

Session and Transport Reliability

  • Added an explicit WebSocket connection lifecycle state machine.
  • Added connection-generation isolation so stale socket events cannot affect a newer connection.
  • Added pending RPC request tracking with timeout, disconnect, and disposal cleanup.
  • Added run-subscription ownership and checkpoint handling.
  • Added single-flight session recovery and stronger multi-session isolation.
  • Hardened backend session ownership and WebSocket dispatch behavior.

Cross-Platform Message Chunking

  • Added bounded message assemblers across the web and desktop frontend, Rust backend, iOS, and Android.
  • Added UTF-8-safe handling for Chinese text, emoji, and other multibyte content.
  • Added limits for active messages, message size, chunk count, and assembly timeout.
  • Malformed chunk indexes now invalidate only the affected message.
  • Capacity pressure now rejects a new stream instead of evicting valid in-progress messages.
  • Added focused tests for malformed input, timeout cleanup, capacity, Unicode, and out-of-order chunks.

iPhone and iPad Improvements

  • Added adaptive chat layouts for compact iPhone screens and larger iPad displays.
  • Improved content width, input positioning, spacing, and safe-area behavior.
  • Strengthened iOS WebSocket actor isolation.
  • Split large protocol models and design-system components into focused domain modules.
  • Added protocol, WebSocket decoder, reducer, and chunk-assembler tests.

Android Reliability

  • Added a bounded Android chunk assembler with comprehensive unit tests.
  • Restored the Gradle Wrapper for reproducible builds.
  • Fixed Compose initialization, lifecycle collection, JSON payload, reducer, token-formatting, CameraX, locale, and icon issues.
  • Verified Android unit tests, lint, and debug APK assembly.

Frontend Architecture and Performance

  • Extracted session event handling into dedicated reducer modules by event domain.
  • Centralized timing constants and Tauri command names.
  • Reduced barrel-import cycles and unnecessary static Tauri imports.
  • Lazy-mounted low-frequency desktop overlays.
  • Memoized Intl formatters and expanded black-box test coverage.
  • Improved session recovery and run-connection tests.

Architecture and Quality Gates

  • Added dependency-direction, layer-import, cycle, Tauri contract, iOS WebSocket RPC, cross-platform capability, and file-budget gates.
  • Added BusEvent contract tests and a cross-platform capability matrix.
  • Added ADRs for WebSocket lifecycle, run-subscription ownership, single-flight recovery, and bounded cross-platform chunking.

Version and Release Management

  • Unified version synchronization across npm and package-lock, Tauri, Cargo, iOS project files and Info.plists, and Android Gradle configuration.
  • Added deterministic mobile build numbers.
  • Strengthened version verification and clean-working-tree release validation.

Documentation

  • Rewritten English and Chinese README files with clearer MiWarp positioning.
  • Added MiMo runtime probing documentation.
  • Added Split Workspace, communication-refactor, architecture-lifecycle, capability-matrix, and Core Experience v1 documentation.

Validation

Suite Result
Frontend 1,627 tests passed
Rust 462 library tests passed
iOS 84 SwiftPM tests passed
Android 48 JVM tests passed
Svelte type check 0 errors
Rust formatting and Clippy Passed with -D warnings
iOS simulator tests and build Passed, including the app and Live Activity Extension
Android lint and debug assembly Passed
Architecture gates 0 direction, layer, cycle, or contract violations

Downloads

  • macOS Universal DMG: MiWarp_1.0.8_universal.dmg
  • macOS application archive: MiWarp_universal.app.tar.gz
  • Windows EXE installer: MiWarp_1.0.8_x64-setup.exe
  • Windows MSI installer: MiWarp_1.0.8_x64_en-US.msi
  • Linux DEB: MiWarp_1.0.8_amd64.deb
  • Linux AppImage: MiWarp_1.0.8_amd64.AppImage
  • Linux RPM: MiWarp-1.0.8-1.x86_64.rpm

Contributors

Full Changelog: v1.0.7...v1.0.8