Skip to content
CAI
Software that uses CAICheck a score

agalwood/Motrix

48.8

Weak · 13 November 2026

263.8k

lines of production code

TypeScript

with JavaScript, Rust

7

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Add Snap packaging configuration for Motrix

Introduced the Snap build infrastructure for Motrix, including a \snapcraft.yaml.in\ template and a desktop entry file. This enables the application to be packaged and distributed as a Snap, with support for strict confinement, GNOME extensions, and native messaging host integration for browser bridges.

build/snap · high confidence

Add glassmorphism visual effect to the toolbar

A new 'ToolbarGlass' component has been introduced to apply a frosted-glass aesthetic to the desktop toolbar. This feature uses a custom displacement map to create a subtle refraction effect along the capsule-shaped rim of the toolbar, while keeping the center neutral. The visual layer is implemented using SVG backdrop filters for Chromium-based environments (like Electron) and falls back to standard CSS backdrop-filter for other browsers. The effect respects user accessibility preferences, disabling the glass effect when reduced transparency, high contrast, or forced colors are enabled.

src/renderer/components/desktop-kit/toolbar-glass · high confidence

Added aria2 configuration template and tray icon asset

The application now includes a base configuration template for aria2 (extra/aria2.conf) which is copied to the user's config directory on first launch, setting defaults for file allocation, HTTP reliability, BitTorrent peer behavior (including seeding detachment and Transmission-like identity), and logging. Additionally, a new SVG tray icon (extra/tray/tray.svg) has been added to the project assets.

extra · high confidence

Added main-process i18n initialization and locale switching

A new i18n module has been introduced in the main process library to handle internationalization. This module initializes the i18next instance using shared locale constants and resources, and exports a function to switch the application language dynamically from the main process, ensuring the translation system is ready before applying locale changes.

src/main/lib · high confidence

AppImage desktop self-integration and platform-specific behaviors

Packaged Linux AppImage builds can now self-integrate into the desktop environment by registering a unique desktop entry, icon, and URL/mime handlers (magnet, torrent, motrix scheme) with user consent, while safely restoring previous defaults on removal. The application also introduces a lightweight desktop mode that releases the main renderer window when hidden (using the Dock on macOS, or forcing a tray on Windows/Linux), and adds a completion-shutdown feature that can power off the system after all downloads finish. Additionally, the default save directory now correctly falls back to the user's home Downloads folder when the system path is unavailable, and auto-launch settings are managed natively on macOS and Windows while skipping Linux.

src/main/platform · high confidence

Downloads page rewritten with new column, toolbar, and filter components

The downloads page has been rebuilt from scratch, introducing a new column definition system with specific width constraints and a grid-based layout for task rows. A new toolbar component manages action visibility and search expansion based on available space, while a dedicated filter search panel allows users to toggle task type filters (HTTP, Magnet, BT, etc.) with live counts. The page also integrates a new 'DownloadsMoreMenu' for the 'Shut down after all downloads finish' feature, an 'EngineBadge' for engine status diagnostics, and an 'EmptyTasks' view featuring a 'CubicGlassGradient' with a motion lab for previewing effects. Comprehensive test coverage has been added for the menu, toolbar, filters, and page logic.

src/renderer/routes/downloads · high confidence

Engine diagnostics dialog with safe report export

Users can now open an Engine Diagnostics dialog that displays the engine's state, binary version, RPC status, and recovery recommendations, with options to force-terminate or retry the engine. The dialog includes a diagnostic report feature that exports a JSON snapshot of the engine's health; this export automatically redacts sensitive information such as passwords, tokens, and home directory paths to prevent accidental data leakage when sharing reports.

src/renderer/features/engine-diagnostics · high confidence

Introduce activity heatmap with calendar model and canvas rendering

Added a new activity heatmap component to the dashboard, including the core \activity-calendar-model\ for computing day boundaries, tracking states, and geometry, the \activity-calendar\ React component for canvas-based rendering and tooltip interactions, and comprehensive test suites for both the model logic and the UI behavior.

src/renderer/routes/dashboard/activity · high confidence

Introduce declarative plugin operation forms and UI

Adds a new declarative runtime for plugin operations in the renderer, including an \OperationDialogHost\ that presents a modal form, an \OperationTaskMenuItems\ component that exposes operations in the task context menu, and an \OperationFields\ component that renders dynamic form inputs (file pickers, switches, selects, textareas) based on the plugin manifest schema. The feature includes an \OperationsBoundary\ for error handling, an \OperationSkeleton\ for loading states, and a Zustand-based store (\useOperationSessions\) to manage operation drafts and jobs, ensuring that user input is preserved across navigation and that operation state is reconciled on IPC events and connection changes.

src/renderer/features/plugin-operations · high confidence

Introduce dedicated finalize-fs service for secure, cross-platform artifact finalization

A new \finalize-fs\ package has been added to handle artifact finalization via a length-prefixed JSON sidecar protocol. This service provides platform-specific filesystem operations (Unix, Windows, and unsupported fallbacks) to ensure safe, atomic, and secure artifact handling. Key capabilities include validating relative paths to prevent traversal, classifying OS-specific errors (including NTFS mount masks and cross-device moves), and performing secure copy, rename, and removal operations using file descriptors to prevent race conditions. The implementation supports cross-platform publication, storage recovery, and durable completion reporting, addressing previous issues with NFS, SMB shares, and exFAT directory roots.

packages/finalize-fs/src · high confidence

Introduce finalize-fs package with cross-platform filesystem hardening

The new finalize-fs package provides a native sidecar for identity-checked file publication and removal, featuring robust filename sanitization that enforces a single cross-platform character set (replacing characters like \< \> : " \| ? \* / \\ with underscores) and strict length limits to ensure compatibility across Windows, macOS, and Linux. It includes specific fallback mechanisms for filesystems that do not support atomic no-replace renames, such as using hard-link publication intents for Linux NFS and NTFS-3G mounts, and a version-3 journaling reservation system for macOS exFAT volumes to handle exclusive rename failures. The package also supports cross-device copy fallbacks for Linux bind mounts and OverlayFS, and includes a build script to compile native binaries for darwin-arm64, darwin-x64, linux-arm64, linux-x64, win32-arm64, and win32-x64 targets.

packages/finalize-fs · high confidence

Introduce manual audio/video media merging and a web-based server directory picker

Users can now manually merge separate audio and video files into a single media file using a new dialog that supports local file selection, output path customization, and plugin-based merging providers. Additionally, a new web-based directory picker has been added for server-side navigation, allowing users to browse, sort, and select directories on remote servers with features like path editing, history navigation, and persistent sort preferences. Also in this area: 1 commit (0 fixes) modifying (repo-wide).

src/renderer/features/web-directory-picker · medium confidence · unverified

Introduce native-host package with Flatpak companion and multi-platform build support

The new packages/native-host directory provides the build and packaging infrastructure for the native messaging host. It adds support for building binaries on Windows arm64 (in addition to existing x64, macOS arm64/x64, and Linux x64/arm64 targets) and introduces a Flatpak companion component that is built and packaged exclusively for Linux. The companion is distributed as a standalone archive containing the executable, bilingual installation instructions, and license files, enabling users to manually install browser integration for Flatpak-based Motrix instances.

packages/native-host · high confidence

Introduce platform-agnostic service abstraction for Electron and Web environments

This change adds a new \src/renderer/platform\ layer that abstracts host-specific capabilities behind a unified \PlatformServices\ interface. It introduces \electron-services.ts\ and \web-services.ts\ implementations, allowing the renderer to handle file operations (such as plugin installation via local paths or uploads), file/directory picking, clipboard access, and window management consistently across both desktop and web contexts. The entry also includes a \sha256File\ utility for plugin integrity checks and a \PathPickerBus\ to manage web-based file picker sessions, along with comprehensive test coverage for these new services. Also in this area: 1 commit (0 fixes) modifying src/main, src/renderer, src/server; 2 commits (1 fix) modifying (repo-wide).

src/renderer/platform · low confidence · unverified

Introduce signed Safari desktop bootstrap service and registration

A new signed macOS helper service and registration tool have been added to enable secure, code-signed communication between the Safari extension and the desktop application. This change introduces a new IPC mechanism using NSXPC with strict code-signing requirements to verify the identity of the desktop bundle, ensuring that only the trusted Motrix.app can be launched or communicate with the extension. The service handles bootstrap requests, validates signatures, and manages the registration of the background agent via SMAppService, providing a secure handoff for pairing and engine diagnostics.

packages/safari-bootstrap · high confidence

Introduces Flatpak Native Messaging companion and core application lifecycle controls

This change adds the \packages/native-host\ directory, which includes the build scripts, packaging logic, and documentation for the \motrix-flatpak-native-host\ companion binary that enables browser integration for the Motrix Flatpak application. It also introduces the \DisclaimerGate\ class to manage onboarding consent persistence and the \QuitController\ to centralize application shutdown logic, including safe handling of termination signals and user confirmation dialogs.

(repo-wide) · high confidence

Introduces Motrix Turbo v2 project scaffolding and documentation

This change establishes the foundational structure for the new Motrix Turbo v2 release. It adds essential repository configuration files including \.dockerignore\, \.gitattributes\, \.gitignore\, and \.npmrc\ to standardize the development and build environment. It also introduces comprehensive documentation files such as \CLAUDE.md\ and \CONTRIBUTING.md\ (with Chinese translations) that define the new architecture, development workflows, and code standards. Additionally, it includes the \Dockerfile\ for the headless server deployment, the \LICENSE\, \CODE\_OF\_CONDUCT.md\, and \SECURITY.md\ to formalize the project's legal and community guidelines.

(repo-wide) · high confidence

Introduces a new shared protocol layer for IPC and bridge communication

This change adds a new \src/shared/protocol\ module that defines the application's internal communication contracts. It establishes a typed RPC envelope system (\ProtocolSuccess\/\ProtocolFailure\) with strict validation, sanitization, and error mapping to ensure robust message handling. The module introduces a comprehensive set of command, query, and event channels covering core features like task management, plugin operations, engine health, and settings. It also defines the bridge protocol for browser extension pairing, including identity primitives, session keys, and approval events, while explicitly listing which events are forwarded to the renderer. This provides a unified, type-safe foundation for all inter-process and extension interactions.

src/shared/protocol · high confidence

Introduces a semantic, tree-shakeable icon system backed by Lucide

The renderer now uses a new icon architecture in \src/renderer/components/icons\ that replaces direct library usage with semantic components (e.g., \DownloadIcon\, \SpeedAutoIcon\). Each icon is created via \createIcon\, which wraps a Lucide glyph and adds Motrix-specific accessibility (titles, ARIA labels) and metadata (\data-icon\, \data-icon-set\). This structure allows business components to import stable semantic names while the underlying glyphs can be swapped without changing callers. The system is designed for tree-shaking: every module uses static imports marked with \/\* @\_\PURE\\_ \*/\, and a test verifies that importing a single icon includes only its specific glyph. Speed modes use distinct Lucide glyphs (Rabbit, Turtle, Squirrel) to visually indicate status.

src/renderer/components/icons · high confidence

Introduces a structured command registry and centralized update service

The application now uses a new \CommandRegistry\ in \src/main/commands\ to manage menu actions (such as opening preferences, checking for updates, and task controls) with context-aware preconditions, replacing ad-hoc wiring. Additionally, a new \AppUpdateService\ and \UpdateManager\ in \src/main/core\ centralize the update lifecycle, providing a consistent state machine (idle, checking, available, downloading, etc.) and handling managed builds (like Windows packages) by preventing update checks when the system is the update authority.

src/main/ipc · high confidence

Introduces comprehensive type definitions for the application's shared domain models

This change establishes a robust, shared TypeScript type system for the application's core features, replacing ad-hoc or missing definitions with explicit interfaces and enums. It introduces types for the engine lifecycle and diagnostics (including failure reasons and recovery actions), download task states and action guards (defining when tasks can be paused, resumed, or retried), and plugin management (covering installation, consent, and runtime status). Additionally, it adds models for system integration (AppImage, Linux default apps), network configuration (GeoIP, DNS resolution, proxies), and UI state (dashboard layout, menu context, notifications). These definitions provide a stable contract between the main process and renderer, ensuring consistent data shapes across IPC boundaries and enabling better type safety for features like engine recovery, plugin security, and download history. Also in this area: 1 commit (0 fixes) modifying (repo-wide); 2 commits (1 fix) modifying (repo-wide); Resume verified legacy HTTP downloads; Plugin security policy enforcement and v1 migration assistant localization; Improved plugin installation feedback and on-demand translation loading.

src/shared/types · medium confidence · unverified

Introduces native-host support for Flatpak and AppImage sandboxed environments

The native-host component now includes dedicated support for running the browser bridge inside Linux sandboxed environments. A new Flatpak companion binary and broker protocol enable the host to install, manage, and communicate with the bridge within the Flatpak sandbox, while a new AppImage configuration module provides secure, owner-only launch validation for AppImage distributions. These additions allow the Motrix browser extension to function correctly when the desktop application is installed via Flatpak or AppImage, ensuring secure native messaging integration in these specific deployment models.

packages/native-host/src · high confidence

Introduces platform abstraction for host-specific services and aria2 binary detection

The platform module now provides a structured way to isolate host-specific logic. It defines a \PlatformServices\ interface and a \RunHost\ enum (supporting Electron and Node) to standardize access to environment details like user data directories and development flags. Additionally, it includes a utility to determine the correct aria2 binary name (\aria2c\ or \aria2c.exe\) based on the operating system, ensuring cross-platform compatibility for download operations.

src/shared/platform · high confidence

Introduces shared application infrastructure for menus, commands, and localization

This change establishes the foundational shared layer for the application by introducing a centralized command catalog and application menu definitions, which standardize how user actions (like creating tasks or opening preferences) are identified and exposed. It implements an on-demand internationalization (i18n) system that loads bundled translations for supported locales (such as German, Spanish, and French) only when needed, improving startup performance. Additionally, it adds a robust error handling framework with specific error codes and user-facing reason resolution, a secure plugin trust mechanism for signed updates, and a centralized registry for external documentation URLs.

src/shared · high confidence

Introduces unified transport layer with Electron and HTTP/WebSocket implementations

The renderer now uses a new transport abstraction in src/renderer/lib/transport that selects between an Electron IPC transport and an HTTP/WebSocket transport based on the build target. The Electron transport wraps window.motrix calls, properly disposes event listeners, and unwraps protocol envelopes for task inspector and file-opening operations. The HTTP/WebSocket transport handles RPC commands via POST, manages WebSocket event streams with bounded reconnect delays, preserves listeners across reconnections, and maps HTTP failures to bounded protocol errors without exposing raw response bodies. A central factory creates the appropriate transport instance, and comprehensive tests verify envelope parsing, error handling, and connection lifecycle behavior.

src/renderer/lib/transport · high confidence

Migration assistant page with error isolation and state retention

The new /migration route provides a dedicated page for the v1 legacy import assistant, featuring a boundary component that isolates rendering errors to prevent application crashes and offers a fallback alert with navigation to the Downloads page. The page retains user selection and invitation state across navigation changes, ensuring that an ongoing import or draft is not lost when switching views, and explicitly dismisses invitations when the user chooses to skip the migration.

src/renderer/routes/migration · high confidence

New CLI tool management service with robust Windows command execution

This change introduces the \CliToolService\ in \src/main/cli\, which handles the discovery, installation, and status reporting of the \@motrix/cli\ package across various package managers (npm, pnpm, Yarn, Bun, Volta). It includes a new \command-runner\ that fixes Windows executable spawning by directly executing batch files (\.cmd\/\.bat\) with proper escaping and without using the shell, ensuring paths with spaces work correctly. The service also features a \ShellEnvironmentResolver\ that dynamically refreshes the Windows PATH from the registry to detect newly installed tools, and includes comprehensive sanitization of diagnostic output to redact sensitive credentials and home directory paths.

src/main/cli · high confidence

New IPC commands for opening and revealing task outputs

This change introduces new IPC command handlers in the main process to safely manage user interactions with downloaded content. The \open-task-file\ handler allows users to open a completed task's output file in the default application, enforcing strict validation to ensure only the task-owned published path is opened while rejecting incomplete, multi-file, or invalid requests. The \reveal-in-folder\ handler exposes the task's output location in the system file explorer, intelligently handling both direct downloads and BitTorrent tasks by revealing the stable final path rather than internal staging directories, and falling back to the containing folder if the output is not yet complete. Both handlers include comprehensive test coverage to verify security constraints, state checks, and error handling. Also in this area: 1 commit (0 fixes) modifying (repo-wide).

src/main/ipc/commands · medium confidence · unverified

New IPC handlers for engine task options, BT tracker, and task files

This change introduces new IPC query handlers in the \src/main/ipc/queries\ directory to expose specific task and engine data to the frontend. The \get-engine-task-options\ handler now retrieves engine-specific configuration (such as directories and headers) for a given task. The \get-task-bt-tracker\ handler provides access to the list of trackers associated with a BitTorrent task. Additionally, the \get-task-files\ handler manages file-level details for tasks, implementing logic to read media segment metadata from external stores for HLS tasks, merge database structures with engine progress data for active downloads, and handle status-specific behaviors (e.g., returning zero completed bytes for paused tasks or size for completed ones). Comprehensive tests are included for these new handlers to verify their delegation to engine adapters and internal logic.

src/main/ipc/queries · high confidence

New Trackers settings page with effective and blacklist management

A new Trackers settings page has been added, allowing users to manage tracker sources and blacklists. The page features two tabs: 'Effective' and 'Blacklist'. The Effective tab displays currently active trackers, their health status (healthy, slow, unreachable), response times, and last probe times, with the ability to enable/disable sources and select specific sources via a combobox. The Blacklist tab shows blocked trackers and allows managing blacklist sources. Both tabs support filtering by URL, display sync status, and provide a 'Sync Now' button to manually trigger tracker list updates. A details dialog offers deeper insights into sync status, source health, and retry options for failed sources.

src/renderer/routes/trackers · high confidence

New UI hooks for compact headers and selectable lists

Added the \useCompactHeader\ hook, which determines if the application header should display in a compact state based on sidebar context and mobile viewport detection, and the \useSelectableList\ hook, which provides a comprehensive selection model for list components. The selection hook supports single, multi, and range selection via mouse and keyboard interactions (including Ctrl/Cmd+Click and Shift+Click), checkbox toggling, and keyboard navigation, while integrating with virtualized lists and respecting platform-specific selection behaviors.

src/renderer/components/desktop-kit/hooks · high confidence

New VirtualList component with accessibility and layout controls

A new VirtualList component has been added to the desktop-kit library, providing a performant, virtualized list implementation. It supports both native and custom scrollbars, allows keeping specific rows (such as an active or focused item) mounted outside the visible range to preserve ARIA accessibility states, and includes a bottomInset prop to reserve scroll space for overlaying UI elements like inspector drawers.

src/renderer/components/desktop-kit/virtual-list · high confidence

New activity tab with detailed download history and speed charts

The download inspector now includes a new Activity tab that provides a visual timeline of task events (such as added, started, paused, resumed, and failed) and a speed chart showing download and upload history. The timeline intelligently clusters dense or repeated events to fit the available width, while the speed chart distinguishes between live session data and durable lifetime observations, handling edge cases like missing data points and malformed inputs gracefully.

src/renderer/routes/downloads/inspector · high confidence

New base UI component library for the renderer

The renderer's UI layer has been replaced with a new set of accessible, theme-aware components (including alert dialogs, autocomplete, avatars, badges, buttons, cards, charts, checkboxes, collapsibles, comboboxes, and command palettes) built on @base-ui/react and Tailwind CSS. This provides a consistent, standardized look and feel across the application and introduces new interaction patterns such as blur-based text highlighting and grouped input controls.

src/renderer/components/ui · high confidence

New dashboard tile layout and interaction controls

The dashboard now features a fully configurable grid layout where users can drag, resize, and remove tiles. This change introduces a new \DashboardGrid\ component that manages the layout state, along with supporting components like \DashboardTileFrame\ for individual tile controls, \DashboardResizeGhost\ for visual feedback during resizing, and \DashboardLayoutMenu\ for selecting presets. The implementation includes a \TileErrorBoundary\ to handle tile rendering failures gracefully and a \SpeedSparkline\ component for animated speed charts. Comprehensive test coverage has been added for all new components to ensure correct behavior for layout, resizing, and accessibility.

src/renderer/routes/dashboard/components · high confidence

New desktop UI component library for list selection, directory picking, and inspector controls

This change introduces the Desktop Kit, a new collection of reusable UI components for the renderer. It provides a virtual scrolling list with marquee and keyboard selection capabilities via the \useSelectableList\ hook, \VirtualList\, and \MarqueeOverlay\. It adds a \DirectoryPicker\ component with support for compact, input, and file variants, along with a \DirectoryHistoryMenu\ for quick path selection. The kit also includes an \InspectorDrawer\ with multi-level snapping and keyboard-adjustable resizing, a \CopyButton\ for clipboard interactions, a \MiddleEllipsis\ component for safely truncating long paths, and a generic \ResizeHandle\ for draggable layout splitters.

src/renderer/components/desktop-kit · high confidence

New desktop notification delivery for download tasks

The application now supports native OS-level notifications for download completions and errors. This change introduces a new notification bridge that respects user preferences for system-level alerts, ensuring that download status updates appear as desktop toasts. The implementation includes comprehensive test coverage to verify that notifications are correctly dispatched based on task outcomes and user settings, without disrupting the main application window.

src/main/notifications · high confidence

New desktop sidebar with migration detection and localized navigation

The sidebar component now dynamically displays a 'Migration' link when a legacy import is detected, supports RTL layout direction, and renders localized labels for Dashboard, Downloads, Trackers, Plugins, and Settings. It also includes a footer with a Notifications entry and a Settings link, with proper accessibility attributes for the separator and active route highlighting.

src/renderer/components/desktop-kit/sidebar · high confidence

New directory preferences dialog for managing favorites and recent folders

Users can now manage their favorite and recent folder lists through a new Directory Preferences dialog. This feature allows adding favorites via a system picker, promoting recent folders to favorites, and removing individual or all recent entries. Changes are staged as a draft and only persisted to the server when the user explicitly clicks Save, ensuring that Cancel discards unsaved edits. The implementation includes robust draft handling to survive network timeouts, conflicts, and lost replies, preserving user intent even if a save attempt fails or is superseded by a remote change.

src/renderer/features/directory-preferences · high confidence

New file list component with column headers and selection controls

The file list view now uses a new \FileList\ component that displays file names, types, and sizes in a virtualized list. Users can select individual files or all files via checkboxes, and the component supports hiding column headers while retaining selection functionality. File types are derived from file extensions, and the list respects system text direction for file names.

src/renderer/components/file-list · high confidence

New integration settings dialog with AppImage, browser extension, and CLI tool management

Users can now manage integrations through a dedicated settings dialog that includes sections for browser extensions (with pairing and trust controls), AppImage desktop integration (enabling/removing desktop entry associations), AppImage native host configuration, remote CLI client management, and a one-click verified FFmpeg installer for Linux and macOS. The dialog consolidates these controls, handles platform-specific visibility (hiding desktop protocol associations in the web client), and provides clear status feedback for each integration area.

src/renderer/routes/settings/cards/integration · high confidence

New notifications page with task-linked rows and accessibility features

A new Notifications page has been added to the application, displaying a list of download and app notifications. Each row includes a severity-based icon, localized title and body text, relative timestamps, and an unread indicator. Clicking a notification row navigates the user to the corresponding task detail view (if available) and marks the item as read, while a dedicated remove button allows individual deletion. The implementation includes comprehensive accessibility support, such as proper ARIA labels for read/unread states, semantic list structures, and styling for forced-colors and touch devices.

src/renderer/routes/notifications · high confidence

New onboarding flow with language selection and disclaimer acceptance

The onboarding experience now includes a dedicated language selection step that allows users to choose their preferred interface language (including a 'Follow system' option) and a disclaimer step where users must explicitly accept or decline usage terms before proceeding. The language selection persists the user's choice and updates the interface immediately, while the disclaimer step handles acceptance logic with error handling and retry capabilities. These components form the initial surface of the onboarding process, providing a structured entry point for new users.

src/renderer/components/onboarding · high confidence

New panel shell and header action components with compact header support

Added the \PanelShell\ component, which provides a structured panel layout with a title, optional search input, configurable action placement (start or end), and footer. Introduced the \HeaderActionButton\ component to handle header controls, featuring a compact mode that displays icon-only buttons on the window chrome with tooltips, while maintaining full accessibility labels. These components include comprehensive test coverage to verify rendering, interaction, and accessibility behaviors.

src/renderer/components/desktop-kit/panel · high confidence

New panel toolbar component with search and accessibility features

A new Toolbar component has been added to the desktop-kit to manage panel actions, offering standard and compact densities, Liquid Glass visual support, and roving keyboard navigation. It includes ToolbarButton and ToolbarLink for accessible controls with tooltips, and a ToolbarSearch component that expands on focus, supports Escape-to-clear/collapse behavior, and can remain expanded to keep active filters visible. The component is designed to be placed in PanelShell.actions, with dragging restricted to compact headers.

src/renderer/components/desktop-kit/toolbar · high confidence

New plugin capability host and verified FFmpeg installation workflow

The plugin system now uses a new \createElectronCapabilityHost\ factory to wire plugin capabilities (HTTP, storage, crypto, secrets, etc.) and introduces a verified, one-click FFmpeg installation for desktop users. On macOS, downloaded FFmpeg binaries are cryptographically verified against a pinned certificate and notarization status before execution, and the system uses a file-backed Libsodium secret store instead of Electron's keychain. A dev-mode watcher enables live reloading of plugins during development, and the FFmpeg detection logic now respects live settings changes and environment overrides without running version probes at startup.

src/main/plugin · high confidence

New plugin detail UI components and call graph visualization tests

This change introduces new React components for the plugin detail view—AboutSection, AccessSection, and BroadHostAccessWarning—along with a BuiltinUpdateDialog for handling signed plugin updates. It also adds a comprehensive set of test utilities and test cases for the plugin call graph visualization, including edge rendering, error boundaries, inspector details, and node interactions. These additions enhance the user's ability to review plugin permissions, understand plugin relationships, and manage updates with improved visual feedback and testing coverage.

src/renderer/routes/plugins/components · high confidence

New plugin detail UI components and call graph visualization tests

This change introduces new React components for the plugin detail view—AboutSection, AccessSection, and BroadHostAccessWarning—along with a BuiltinUpdateDialog for handling signed plugin updates. It also adds a comprehensive set of test utilities and test cases for the plugin call graph visualization, including edge rendering, error boundaries, inspector details, and node interactions. These additions enhance the user's ability to review plugin permissions, understand plugin relationships, and manage updates with improved visual feedback and testing coverage. Also in this area: 1 commit adding/updating tests in src/renderer/routes/plugins/components.

src/renderer/routes/plugins/components/call-graph · high confidence · unverified

This change introduces a new set of library modules in the plugins renderer route to support plugin management and visualization. The \audience\ module classifies plugin permissions and host access into visual tones (safe, review, optional, off) and generates deterministic avatar colors. The \call-graph\ modules (\call-graph-engine\, \call-graph-layout\, \call-graph-model\) implement a worker-based layout engine using ELK to render plugin dependency graphs, handling worker lifecycle, layout caching, and model building. The \registry-text\ module provides locale-aware search indexing and matching for the plugin registry. Additional utilities include \detect-install-source\ for identifying plugin installation origins, \network-error\ for formatting network failure messages, and \plugin-error\ for classifying runtime error codes.

src/renderer/routes/plugins/lib · high confidence

New plugin management hooks with comprehensive test coverage

Added a suite of React hooks in the plugins routes to manage plugin state, installation, diagnostics, and metadata, accompanied by full unit test coverage. These hooks handle plugin listing and status updates (usePlugins, usePluginMetadata), detailed plugin information and manifest refetching on locale or installation events (usePluginDetail), plugin installation workflows with consent and staging (usePluginInstall), plugin command graph visualization with polling and error handling (usePluginGraph), diagnostic log state and streaming (usePluginLogState, usePluginLogStream), and preloading of call graph layouts for desktop diagnostics (useCallGraphPreload). The implementation ensures data consistency across locale changes, plugin lifecycle events, and connection state changes, while tests verify correct handling of race conditions, stale data, and error states.

src/renderer/routes/plugins/hooks · high confidence

New plugin management pages and diagnostics

Added the Plugins page, Plugin Detail page, and Plugin Diagnostics page to the renderer, along with comprehensive test coverage for the install dialog, registry integration, and call-graph visualization. Users can now browse and search the plugin registry, view detailed plugin information and settings, and inspect plugin command interactions via a call graph.

src/renderer/routes/plugins · high confidence

New renderer components for settings synchronization, selection management, and web authentication

This update introduces several new components in the renderer to improve settings consistency, user interaction, and security. The \ByteUnitSync\, \LanguageSync\, \LocaleDirectionProvider\, \ReducedMotionSync\, and \ThemeSync\ components now automatically synchronize client-side display preferences (byte units, language, text direction, motion, and theme) with the server's authoritative settings, handling live updates and reconnection scenarios. A new \createSelectionStore\ provides a robust, id-anchored state management solution for list selection, supporting range selection, focus tracking, and item pruning. Additionally, the \OperatorUnlockGate\ enforces authentication for the web build, while \WebConnectionNotice\ alerts users to connection issues or origin mismatches.

src/renderer/components · high confidence

New renderer utility libraries and comprehensive test coverage

The renderer's lib directory now includes a suite of new utility modules and their corresponding test suites, covering core application behaviors. These additions include locale bootstrapping and i18n handling, theme resolution for initial render, and formatting utilities for bytes, speeds, and time. The update also introduces helpers for generating magnet URIs, resolving failure reasons with localized hints, and managing directory preferences via an external store. Additional utilities handle browser name display, country flag conversion, CJK locale detection, and JSON Schema to Zod validation conversion, ensuring robust input handling and consistent UI presentation across different platforms and languages.

src/renderer/lib · high confidence

New settings dialog components and tests for About, Advanced, Appearance, and BitTorrent

The settings interface now includes dedicated dialog components and comprehensive test suites for the About, Advanced, Appearance, and BitTorrent configuration cards. Users can manage application updates and version details in the About dialog, configure RPC ports and SQLite persistence in the Advanced dialog, adjust themes, languages, and byte units in the Appearance dialog, and fine-tune torrent peers, trackers, and magnet file selection in the BitTorrent dialog. These changes introduce a new settings form framework and validation logic, replacing previous implementations with a more robust, testable structure.

src/renderer/routes/settings/cards · high confidence

New settings form components and utilities

This change introduces a new \settings-kit\ component library to standardize the settings UI. It includes reusable form controls such as \EndpointList\ for managing lists of addresses, \PresetChips\ for selecting preset values, and \PluginConfigField\ for rendering plugin settings based on JSON schema (supporting booleans, enums, passwords, numbers, and strings). It also provides utility hooks (\useSettingsForm\, \useSettingsLoad\, \useSettingsSubmit\) to handle form state, validation via Zod, and asynchronous settings loading with retry logic, along with layout helpers like \SettingsFormRow\ and \SettingsSelectTrigger\ for consistent styling and localization.

src/renderer/components/settings-kit · high confidence

New shared constants for localization, performance profiles, and UI geometry

This change introduces a new \src/shared/constants\ directory that centralizes configuration data previously scattered or hardcoded. It adds a comprehensive locale catalog (\locales.ts\) supporting 26 languages with RTL/LTR detection and robust BCP-47 resolution, enabling the application to correctly handle internationalization. It defines engine performance profiles (\engine-performance-profiles.ts\) with specific tuning values for connection limits, splitting, and disk caching (e.g., 'auto', 'balanced', 'high', 'maximum'), allowing users to select performance presets. It also establishes UI geometry constants for window chrome (\window-chrome.ts\) and add-task dialog heights (\add-task.ts\), standardizes user-agent presets (\user-agents.ts\) for download requests, and defines file-type classification logic (\file-types.ts\) for video content. Additionally, it specifies engine settings that require a process restart (\restart-keys.ts\) and incomplete file suffixes (\incomplete.ts\).

src/shared/constants · high confidence

New standalone windows for onboarding and adding tasks

The application now launches dedicated, standalone Electron windows for the initial onboarding flow and for creating new download tasks. The onboarding window presents the legal disclaimer and language selection interface, while the add-task window provides a focused form for entering URLs and managing task creation errors (such as missing FFmpeg dependencies) via toast notifications. These windows replace or supplement the previous in-app dialogs, offering a distinct UI surface for these critical user interactions.

src/renderer/windows · high confidence

New window chrome components and cross-platform menu integration

This change introduces new components in the window chrome area to support a unified application menu and consistent window controls. It adds a Motrix menu button that renders a platform-specific application menu (gated for Windows and Linux, with a macOS preview flag) and an Add Task trigger button that adapts its behavior to the target environment (opening a dialog in web mode, invoking an IPC command in Electron). The sidebar trigger button is also added to toggle the sidebar with localized tooltips. The core WindowChrome component now handles desktop window controls (minimize, maximize, close) for Windows and Linux, manages macOS traffic-light visibility, and supports overlay and titled variants with configurable action positioning. Comprehensive test coverage is added for all new components to verify rendering, interaction, and platform-specific logic.

src/renderer/components/window-chrome · high confidence

New window management infrastructure and macOS Liquid Glass support

This change introduces a new window management architecture in src/main/window, including a Liquid Glass effect controller for macOS 26+ that applies a native glass aesthetic to the main and onboarding windows, and a platform-options module that configures window chrome (vibrancy, transparency, title bars) per platform. It also adds a renderer URL policy to strictly validate and load renderer content from trusted local files or loopback dev servers, preventing hostile URL injection. The window manager now handles startup plans (showing/hiding the main window at login based on run mode), preserves maximized/minimized states across relaunches, and manages macOS dock visibility when dismissing windows in tray-only mode.

src/main/window · high confidence

Added a new sidebar navigation item for the notification center that displays an unread count badge. Users can configure the badge appearance via settings to show a numeric count, a simple dot indicator, or hide it entirely. The implementation optimizes performance by fetching only the unread count for the sidebar badge, avoiding the overhead of loading the full notification list, and ensures accessibility by using ARIA status roles for screen readers.

src/renderer/components/notification-center · high confidence

Unified cross-platform font fallbacks and new sidebar color themes

The renderer's global styles now define a unified font stack that uses Inter for Latin text and falls back to native system fonts for Chinese, Japanese, and Korean locales on Windows, ensuring consistent typography across platforms. Additionally, a new sidebar color system has been introduced, allowing users to select from seven hues (blue, violet, pink, orange, gold, green, cyan) or neutral options (gray, cloud), which apply a glass-like gradient effect to the sidebar that adapts to light and dark modes and respects native macOS vibrancy.

src/renderer/styles · high confidence

Behavioural changes

1 commit (0 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 1 commit, 86 files: “feat(torrent): create torrent files from local files and folders (\#2306)” (refs \#2306).

e2e/server-torrent, src/renderer/components/create-torrent · medium confidence · unverified

1 commit (0 fixes) modifying e2e/window-chrome

A change to existing behaviour in e2e/window-chrome — 1 commit, 8 files: “feat(linux): use native window controls overlay (\#2447)” (refs \#2447).

e2e/window-chrome · medium confidence · unverified

10 commits (3 fixes) modifying src/renderer/features/application-menu

A change to existing behaviour in src/renderer/features/application-menu — 10 commits (3 fixs), 10 files: “feat(synology): add native DSM 7 packages for x86\_64 and ARM64 (\#2513)”; “feat(server): add logo menu and configurable torrent limits (\#2146)”; “feat(i18n): add ten locales and rtl support (\#2236)”; and 7 more (refs \#2513, \#2146, \#2236, \#2396, \#2501, …).

src/renderer/features/application-menu · medium confidence · unverified

106 commits (41 fixes) modifying flatpak

A change to existing behaviour in flatpak — 106 commits (41 fixs), 5 files: “feat(bridge): ship the MBP1 extension control plane (\#2021)”; “fix(release): skip snap for prerelease tags (\#1858)”; “fix(release): isolate macos signing keychain (\#1859)”; and 103 more (refs \#2021, \#1858, \#1859, \#2407, \#2147, …).

flatpak · medium confidence · unverified

12 commits (4 fixes) modifying e2e/bridge

A change to existing behaviour in e2e/bridge — 12 commits (4 fixs), 22 files: “fix(server): enable extension media downloads with live ffmpeg (\#2472)”; “chore: update dependencies and desktop compatibility (\#2407)”; “chore(release): prepare 2.0.0-beta.38 (\#2133)”; and 9 more (refs \#2472, \#2407, \#2133, \#2033, \#2468, …).

e2e/bridge · medium confidence · unverified

13 commits (6 fixes) modifying src/shared/lib

A change to existing behaviour in src/shared/lib — 13 commits (6 fixs), 21 files: “fix(navigation): unify task links and notification fallbacks (\#2163)”; “fix(protocol): restore safe motrix deep links and retire mo (\#2300)”; “feat(server): add logo menu and configurable torrent limits (\#2146)”; and 10 more (refs \#2163, \#2300, \#2146, \#2349, \#2395, …).

src/shared/lib · medium confidence · unverified

2 commits (0 fixes) modifying src/renderer/features/nat

A change to existing behaviour in src/renderer/features/nat — 2 commits, 1 file: “feat(downloads): restore dock and taskbar progress and fix speed modes (\#2476)”; “feat(ui): refine dashboard controls and engine diagnostics (\#2168)” (refs \#2476, \#2168).

src/renderer/features/nat · medium confidence · unverified

21 commits (5 fixes) modifying src/renderer/layouts

A change to existing behaviour in src/renderer/layouts — 21 commits (5 fixs), 2 files: “feat(synology): add native DSM 7 packages for x86\_64 and ARM64 (\#2513)”; “fix(navigation): unify task links and notification fallbacks (\#2163)”; “fix(protocol): restore safe motrix deep links and retire mo (\#2300)”; and 18 more (refs \#2513, \#2163, \#2300, \#2389, \#2146, …).

src/renderer/layouts · medium confidence · unverified

36 commits (17 fixes) modifying src/renderer/hooks

A change to existing behaviour in src/renderer/hooks — 36 commits (17 fixs), 74 files: “feat(synology): add native DSM 7 packages for x86\_64 and ARM64 (\#2513)”; “feat(ui): refine dashboard charts and download task controls (\#2176)”; “feat(server): add logo menu and configurable torrent limits (\#2146)”; and 33 more (refs \#2513, \#2176, \#2146, \#2126, \#2208, …).

src/renderer/hooks · medium confidence · unverified

4 commits (0 fixes) modifying packaging

A change to existing behaviour in packaging — 4 commits, 55 files: “feat(synology): add native DSM 7 packages for x86\_64 and ARM64 (\#2513)”; “feat(fnos): add native packages and account-bound integration (\#2501)”; “ci(fnos): publish verified native packages for stable releases (\#2507)”; and 1 more (refs \#2513, \#2501, \#2507, \#2505).

packaging · medium confidence · unverified

5 commits (1 fix) modifying src/renderer/components/desktop-kit/cubic-glass

A change to existing behaviour in src/renderer/components/desktop-kit/cubic-glass — 5 commits (1 fix), 15 files: “feat(settings): add reduced motion preference (\#2082)”; “fix(ui): restrict glass to macos and defer empty animations (\#2442)”; “feat: import motrix-turbo snapshot”; and 2 more (refs \#2082, \#2442, \#2206, \#2168).

src/renderer/components/desktop-kit/cubic-glass · medium confidence · unverified

7 commits (3 fixes) modifying src/main/core

A change to existing behaviour in src/main/core — 7 commits (3 fixs), 9 files: “feat(plugins): add manual audio and video merging (\#2308)”; “feat(windows): isolate packaged profiles and application updates (\#2242)”; “fix(updater): make update flow reliable (\#1890)”; and 4 more (refs \#2308, \#2242, \#1890, \#2445, \#2497, …).

src/main/core · medium confidence · unverified

7 commits (3 fixes) modifying src/renderer/features/legacy-import

A change to existing behaviour in src/renderer/features/legacy-import — 7 commits (3 fixs), 24 files: “fix(migration): resume verified legacy http downloads (\#2420)”; “fix(migration): filter legacy options and use the current proxy (\#2438)”; “fix(renderer): refine migration dismissal and visual feedback (\#2378)”; and 4 more (refs \#2420, \#2438, \#2378, \#2431, \#2382, …).

src/renderer/features/legacy-import · medium confidence · unverified

8 commits (3 fixes) modifying src/renderer/routes/settings

A change to existing behaviour in src/renderer/routes/settings — 8 commits (3 fixs), 4 files: “feat(synology): add native DSM 7 packages for x86\_64 and ARM64 (\#2513)”; “feat: import motrix-turbo snapshot”; “fix(settings): restore vertical card stretching on desktop (\#2359)”; and 5 more (refs \#2513, \#2359, \#2206, \#2497, \#2356, …).

src/renderer/routes/settings · medium confidence · unverified

84 commits (39 fixes) modifying src/server

A change to existing behaviour in src/server — 84 commits (39 fixs), 177 files: “feat(bridge): ship the MBP1 extension control plane (\#2021)”; “feat(synology): add native DSM 7 packages for x86\_64 and ARM64 (\#2513)”; “fix(server): enable extension media downloads with live ffmpeg (\#2472)”; and 81 more (refs \#2021, \#2513, \#2472, \#1848, \#2041, …).

src/server · medium confidence · unverified

Add Task dialog now preserves drafts and handles race conditions

The Add Task dialog now prevents accidental loss of work by prompting to discard unsaved drafts when closing, and it safely manages in-flight submissions so that a user cannot be unexpectedly navigated away if they close the dialog while a task is being created. It also recovers pending magnet file selections after reconnects or refreshes, ensuring that tasks waiting for metadata are presented to the user even if the connection drops. Additionally, the dialog height now adapts dynamically to its content while respecting viewport limits, and the form supports per-line submission, allowing users to retry only the failed lines in a multi-line URL list without losing the rest of their input.

src/renderer/components/add-task · high confidence

Added third-party license texts for Mozilla, aria2, and Rust crates

The repository now includes the full text of several third-party licenses in the THIRD\_PARTY\_LICENSES directory to ensure compliance and transparency. Specifically, the Mozilla Public License 2.0, the GNU General Public License v2 (associated with aria2 and its OpenSSL exception), the Apache License 2.0, and the MIT License (associated with various Rust crates such as base64, bitflags, block-buffer, and cfg-if) have been added as new files.

_THIRD\_PARTY\LICENSES · high confidence

Dashboard layout cache prevents tile repositioning on remount

The dashboard page now caches the last-loaded tile layout in memory, ensuring that the user's saved dashboard configuration is displayed immediately on the first paint after a route remount. Previously, the dashboard would briefly render the default layout before asynchronously correcting to the saved one, causing visible tile sliding (FLIP animation) during navigation. This change eliminates that visual flash by seeding the initial state with the cached layout.

src/renderer/routes/dashboard · high confidence

Installer now registers file associations and macOS app entitlements

The Windows installer now explicitly registers Motrix as the default handler for .torrent files and magnet links via system capabilities, ensuring deep links resolve correctly without relying on legacy per-user registry keys. On macOS, the build now includes an entitlements file granting the app necessary permissions for JIT execution, native module loading, network access, and file system read-write access, which are required for stable operation under Apple's hardened runtime. Also in this area: 1 commit (0 fixes) modifying build.

build · medium confidence · unverified

Introduces main-process crash handling, launcher, and work coordination

The main process now includes a dedicated exception handler that logs fatal crashes and sends error details to the renderer, a launcher that manages single-instance locking, deep links, and torrent file associations, and a work coordinator that sequences startup, shutdown, and power actions to prevent race conditions. These changes improve application stability, ensure reliable handling of external links and files, and provide better control over main-process lifecycle events.

src/main · high confidence

Introduces strict validation schemas for application settings, task creation, and UI layout

The application now enforces robust data validation for core user-facing configurations and inputs. App settings (such as language, speed limit units, and notification preferences) are validated against defined schemas to prevent corruption and ensure safe defaults. The 'Add Task' workflow uses discriminated unions to strictly validate HTTP and torrent inputs, including size limits for base64 payloads and required file selections. Additionally, the dashboard layout is governed by a fixed 4x3 grid schema that validates tile positions and sizes, ensuring the UI remains stable even with malformed saved preferences.

src/shared/schemas · high confidence

Localized byte formatting and precise media progress tracking

The application now displays file sizes and transfer speeds using locale-aware number formatting and unit labels (e.g., decimal vs. binary prefixes) while keeping the underlying calculations byte-exact. Additionally, media download progress is now calculated across the full segment plan, ensuring that progress bars never round incomplete work to 100% and correctly distinguish between download and muxing phases.

src/shared/utils · high confidence

Modernized Linux AppImage distribution and hardened release packaging

The Linux AppImage distribution has been modernized to support native Arch Linux packages and improved update mechanisms. The release pipeline now includes a new \appimage-artifact.mjs\ script that validates AppImage runtimes against strict ELF standards, ensuring static linking and removing legacy FUSE dependencies. Additionally, the \assemble-release-artifacts.mjs\ script now handles a broader set of Linux artifacts, including \.pacman\ packages for Arch Linux, alongside existing \.deb\, \.rpm\, and \.flatpak\ formats. The \before-pack-verify.mjs\ hook enforces stricter checks on bundled native binaries (aria2, native-host, finalize-fs) to prevent shipping incomplete or mismatched builds. Also in this area: 4 commits (1 fix) modifying scripts; 2 commits (0 fixes) modifying (repo-wide), e2e, scripts; 1 commit (0 fixes) modifying (repo-wide); Snap release scripts: credential scope verification and channel spelling fixes; Improved window maximization restoration and animated transfer progress bars; and 3 more.

scripts · low confidence · unverified

NAT manager refactored to use published @motrix/nat package with improved retry and diagnostic logic

The NAT management layer has been refactored to consume the published @motrix/nat package, replacing the previous inline implementation. This change introduces a new MotrixNatManager that fixes a race condition during automatic retries by re-checking the engine snapshot after discovery, ensuring port mappings are applied even if the engine is already ready. It also adds a diagnostic system that reports NAT type, port reachability, and protocol availability, and improves reliability by cleaning up stale subscriptions before manual retries to prevent listener accumulation. The factory now bridges the app's EventBus to the NAT manager's hooks and events, and includes specific handling for devices with Unicode descriptions, such as the Huawei AX3.

src/main/nat · high confidence

Redesigned dashboard tiles with responsive viewports and localized status breakdowns

The dashboard tiles (Active, Activity, Engine, NAT, Speed, and Speed Limit) have been rebuilt to support multiple viewport layouts (compact, summary, detailed, and focus) and full internationalization. Users now see task counts, engine status, NAT health, and speed metrics that adapt their density and layout based on the tile size, with clear status breakdowns, localized labels, and consistent visual indicators like pulsing status dots.

src/renderer/routes/dashboard/tiles · high confidence

Renderer restructured with new routing and global settings synchronization

The renderer entry point has been restructured to use React Router for navigation, introducing dedicated pages for Dashboard, Downloads, Trackers, Plugins, Notifications, and Settings. The application now initializes with a global provider hierarchy that synchronizes critical user preferences—including theme, byte units, language, and reduced motion settings—across all windows. This change also establishes a new routing type system and supports distinct rendering contexts for the main app, add-task, and onboarding windows. Also in this area: 1 commit (0 fixes) modifying (repo-wide).

src/renderer · medium confidence · unverified

Stabilize marquee selection rendering and add comprehensive tests

The marquee selection component in the desktop kit has been refactored to ensure stable rendering during active drag gestures, even when the parent component re-renders due to selection feedback. The implementation now uses imperative geometry updates and a dedicated animation frame loop to maintain the selection box without tearing down event listeners. Additionally, a new \useAutoScroll\ hook manages container scrolling during drags, and extensive unit tests have been added for both the overlay and the auto-scroll logic to verify correct behavior across various drag scenarios.

src/renderer/components/desktop-kit/marquee-selection · high confidence

Stabilized bridge lifecycle and Linux AppImage native host support

The bridge now manages its startup and shutdown lifecycle more robustly, ensuring that native messaging registrations are properly cleaned up even if the bridge fails to start, and preventing race conditions during enable/disable transitions. On Linux AppImage installations, the application now supports a cold-launch native host that is installed with explicit user consent, handles updates safely, and respects sandbox permissions. Additionally, the bridge bootstrap process now correctly detects and handles Flatpak environments to avoid installing broken native messaging manifests.

src/main/bridge · high confidence

Fixes

146 commits (85 fixes) fixing src/core

A fix in src/core — 146 commits (85 fixs), 824 files: “feat(bridge): ship the MBP1 extension control plane (\#2021)”; “fix(ffmpeg): verify legacy macos binaries against signed releases (\#2496)”; “feat(synology): add native DSM 7 packages for x86\_64 and ARM64 (\#2513)”; and 143 more (refs \#2021, \#2496, \#2513, \#2205, \#2019, …).

src/core · medium confidence · unverified

Introduce strict IPC allowlisting and fix subscription lifecycle bugs in preload

The preload script now exposes a typed MotrixAPI that enforces strict allowlists for IPC invoke and event channels, blocking undeclared channels to improve security. It also fixes a critical bug where reusing the same callback function across multiple IPC channels caused subscription leaks and missed events, ensuring that unsubscribing from one channel no longer affects others. Additionally, the preload now buffers and replays specific cold-start protocol events (such as deep links and locale changes) to prevent data loss when the renderer subscribes after the main process has already dispatched them, and adds support for resolving absolute file paths via webUtils.getPathForFile.

src/preload · high confidence

Test coverage

Add e2e test fixtures for Electron app, HTTP server, and task activity; Added Playwright end-to-end tests for core application features; Added browser-based e2e tests for the web directory picker; Added integration tests for native host, Flatpak broker, and companion; Added plugin fixtures for integration testing; Added test fixtures for plugin hook delivery, SDK 2.0 compatibility, and timer activity; Added tests for legacy import navigation and desktop IPC handlers; Expanded automated testing for release, compliance, and infrastructure scripts; New test utilities for integration and unit testing.

Dependencies

Initial dependency manifests for Motrix v2.0.0-beta.40

This change introduces the foundational dependency manifests for the Motrix v2.0.0-beta.40 release. The root \package.json\ establishes the project as an ES module using pnpm 12.5.1, upgrading the runtime to Electron 44.4.3 and React 19.3.0, while adding modern tooling like Vite 8.3.0, Biome, and TypeScript 7.0.2. It also introduces new internal packages: \@motrix/native-host\ and \@motrix/finalize-fs\, which are Rust-based components (defined in their respective \Cargo.toml\ and \Cargo.lock\ files) for native host operations and filesystem finalization. Additionally, a dedicated \scripts/release-signing-tool\ package is added to isolate the \electron-builder\ dependency for release signing.

(dependencies) · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 51 → 49 (-2.5)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.3) — scores are not directly comparable.

Lenses

  • Code Health 66 → 66 (+0.2)
  • Architecture 92 → 92 (+0.0)
  • Maturity 68 → 64 (-4.2)
  • Readiness 39 → 38 (-1.2)
  • Security 66 → 52 (-14.0)
  • Accessibility 59 → 65 (+6.6)
  • Performance 60 → 60 (+0.0)

Resolved (158)

  • Duplicated block (10 lines × 2) (packages/native-host/src/flatpak_companion/secure_fs.rs)
  • Duplicated block (12 lines × 2) (packages/finalize-fs/src/platform/unix/mod.rs)
  • Duplicated block (15 lines × 2) (packages/finalize-fs/src/state.rs)
  • Duplicated block (8 lines × 2) (packages/finalize-fs/src/platform/unix/copy.rs)
  • Duplicated block (8 lines × 2) (packages/finalize-fs/src/platform/unix/copy.rs)
  • FileTooLong: scripts/container-platform-metadata.mjs (scripts/container-platform-metadata.mjs)
  • FileTooLong: scripts/generate-bridge-pairing-vectors.mjs (scripts/generate-bridge-pairing-vectors.mjs)
  • FileTooLong: scripts/generate-third-party-notices.mjs (scripts/generate-third-party-notices.mjs)
  • FileTooLong: scripts/obsidian-docs-lib.mjs (scripts/obsidian-docs-lib.mjs)
  • FileTooLong: scripts/profile-task-inspector-activity.mts (scripts/profile-task-inspector-activity.mts)
  • FileTooLong: scripts/release-signing-input.mjs (scripts/release-signing-input.mjs)
  • FileTooLong: scripts/smoke-server-image.mjs (scripts/smoke-server-image.mjs)
  • FileTooLong: scripts/stage-electron-app.mjs (scripts/stage-electron-app.mjs)
  • FileTooLong: scripts/verify-electron-package.mjs (scripts/verify-electron-package.mjs)
  • FunctionTooLong: appimage-artifact.parseAppImageRuntime (scripts/appimage-artifact.mjs)
  • FunctionTooLong: assemble-release-artifacts.assembleReleaseArtifacts (scripts/assemble-release-artifacts.mjs)
  • FunctionTooLong: electron-package-runtime-helper.runQuickJsSmoke (scripts/electron-package-runtime-helper.cjs)
  • FunctionTooLong: ffmpeg-macos-trust.verifyMacFfmpegTrust (src/main/plugin/ffmpeg-macos-trust.ts)
  • FunctionTooLong: obsidian-docs.main (scripts/obsidian-docs.mjs)
  • FunctionTooLong: prepare-snap-project.prepareSnapProject (scripts/prepare-snap-project.mjs)
  • …and 138 more

New (247)

  • BtStorageService.execute (cognitive 58) (src/core/task/bt-storage-service.ts)
  • BtStorageService.execute (cyclomatic 58) (src/core/task/bt-storage-service.ts)
  • DirectResourceValidatorService.verify (cognitive 20) (src/core/task/direct-resource-validator.ts)
  • DirectResourceValidatorService.verify (cyclomatic 20) (src/core/task/direct-resource-validator.ts)
  • Duplicated block (10 lines × 2) (packages/native-host/src/flatpak_companion/secure_fs.rs)
  • Duplicated block (4–15 lines × 3) (packages/finalize-fs/src/state.rs)
  • Duplicated block (5 lines × 2) (packages/finalize-fs/src/platform/unix/reserved.rs)
  • Duplicated block (7 lines × 2) (scripts/fnos_publication.py)
  • Duplicated block (8 lines × 2) (packages/finalize-fs/src/platform/unix/copy.rs)
  • Duplicated block (8 lines × 2) (packages/finalize-fs/src/platform/unix/copy.rs)
  • Duplicated block (9 lines × 2) (packages/finalize-fs/src/state.rs)
  • Edited copy of a member (14 corresponding lines) (packages/finalize-fs/src/platform/unix/publish.rs)
  • Edited copy of a member (18 corresponding lines) (packages/native-host/src/broker_protocol.rs)
  • Edited copy of a member (3 corresponding lines) (packages/native-host/src/appimage_config.rs)
  • Edited copy of a member (32 corresponding lines) (packages/native-host/src/flatpak_companion/secure_fs.rs)
  • Edited copy of a member (7 corresponding lines) (packages/finalize-fs/src/platform/unix/metadata.rs)
  • FileTooLong: actions/re-add-task.ts (src/core/task/actions/re-add-task.ts)
  • FileTooLong: cards/appearance-dialog.tsx (src/renderer/routes/settings/cards/appearance-dialog.tsx)
  • FileTooLong: downloads/task-actions-menu.tsx (src/renderer/routes/downloads/task-actions-menu.tsx)
  • FileTooLong: window/window-manager.ts (src/main/window/window-manager.ts)
  • …and 227 more

Changes since last survey

  • 58 commits — 27 feature/other, 31 fixes

By area

  • src/shared — 13 commits
  • (root) — 12 commits
  • src/core — 11 commits
  • src/renderer — 8 commits
  • .github/workflows — 4 commits
  • src/server — 3 commits
  • .github/ISSUE_TEMPLATE — 1 commit
  • build/appx — 1 commit
  • extra/tray — 1 commit
  • packages/finalize-fs — 1 commit
  • screenshots/motrix-dashboard-cn-dark.webp — 1 commit
  • scripts/upload_snap_revision.py — 1 commit
  • tests/scripts — 1 commit

Notable commits

  • fix: fix(bridge): authenticate safari installation continuity (#2473)
  • fix: fix(bridge): isolate browser extension installations (#2468)
  • fix: fix(bridge): sanitize browser cookies before engine dispatch (#2469)
  • fix: fix(desktop): recover after repeated graphics crashes (#2429)
  • fix: fix(downloads): clarify active task connection counts (#2480)
  • fix: fix(downloads): continue retained http tasks through the engine (#2489)
  • fix: fix(downloads): discard retry queries after session changes (#2490)
  • fix: fix(engine): bundle aria2 motrix.22 with safe session recovery (#2491)
  • fix: fix(engine): bundle aria2 with select dns timer recovery (#2424)
  • fix: fix(engine): bundle aria2 with windows connect failover (#2515)
  • fix: fix(engine): isolate unrecoverable magnet sessions on startup (#2486)
  • fix: fix(engine): restore cloud-drive directory downloads (#2503)
  • fix: fix(engine): stop managed aria2 when its host dies (#2425)
  • fix: fix(ffmpeg): verify legacy macos binaries against signed releases (#2496)
  • fix: fix(finalize): stabilize Windows suffix renames and recover quarantines (#2512)
  • fix: fix(finalize): support paragon ntfs publication on macos (#2464)
  • fix: fix(linux): unify native package names as motrix (#2427)
  • fix: fix(migration): avoid reserving unresolved magnet path hints (#2458)
  • fix: fix(migration): filter legacy options and use the current proxy (#2438)
  • fix: fix(server): complete media tools and settings controls (#2497)
  • …and 38 more

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

agalwood/Motrix was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 13 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 7830f80524cc0ea54aa9f799b20e9a5033fa1534 — the exact code this score is about.
  • Scored under rubric-2026.11.3 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.61+preprod-f3449e6eb431.