Repository navigation
feat(media-merge): migrate to declarative plugin operations - #7
Merged
Merged
Conversation
This was referenced Oct 11, 2026
agalwood
marked this pull request as ready for review
October 12, 2026 04:23
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.
Media merge currently relies on a host-specific form. This migrates the unpublished optional plugin to a declarative operation: the package owns the file cards, MP4/MKV selection, localized labels and task-menu entry, while Motrix owns rendering, jobs and selected-file authorization.
The private handler uses opaque file references and scoped media calls, preserves automatic input-order correction, and returns the authorized output reference. Repeating a merge clears file selections while retaining the format. The plugin remains optional and is never added to the default bundle.
Dependencies and compatibility
@motrix/plugin-api@2.2.0and@motrix/plugin-manifest-schema@2.2.0, with real registry integrity entries in the lockfile. Local SDK links are no longer required. Other plugins retain their existing API dependency.>=2.0.0-beta.48 <3.0.0; raise the package and registry minimum before signing if the feature ships later. SDK publication does not make beta.47 compatible.Validation
Against the published SDK: frozen-lockfile installation, full Biome, all plugin builds and typechecks, and all 66 tests pass. The shared packer validates the staged manifest/locales and produces a reproducible unsigned archive. Prior macOS Electron/Web acceptance covered merging, reversed inputs, MP4/MKV, cancellation, hot update and file authorization. Signed-official installation and remaining platform acceptance are still release gates.
No release tag, signing, upload or publication is included. GitHub CI passes on commit
055edd8; this PR is ready for review. Coordinate merging with the host implementation and complete the release gates before signing.