Repository navigation
Open packages from unigetui://package links - #5611
Merged
Gabriel Dufresne (GabrielDuf) merged 1 commit intoOct 27, 2026
Merged
Conversation
A unigetui://package?manager=...&source=...&id=... link opens the package's details in UniGetUI, from where the user can install it. The link names the package and nothing else: install options always come from the recipient's own settings, and nothing is installed until they click Install. - PackageLink parses and builds the links, refusing ones with no id, a repeated parameter, a control character or an oversized value. - Links go through StartupArgumentProcessor, the path bundle files use, so they open whether or not UniGetUI is already running. - The package is found with IpcPackageApi.FindCatalogPackage, the exact-id search the IPC API already used. - Installs started from a link are reported with the new FROM_LINK referral. - Discover and Installed get a "Copy link" menu item. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gabriel Dufresne (GabrielDuf)
approved these changes
Oct 27, 2026
Gabriel Dufresne (GabrielDuf)
deleted the
claude/unigetui-protocol-handler-ffc18f
branch
October 27, 2026 16:31
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
unigetui://package?manager=…&source=…&id=…link now opens the package's details, from where the user can install it. Example:unigetui://package?manager=winget&source=winget&id=Git.Git&name=Git.idis required.manager,source,versionandnameare optional. Other parameters are ignored, so links made by a newer version still open in an older one.id, a repeated parameter, a control character, a value over 256 characters or a total over 2048 characters are refused.StartupArgumentProcessor, the path bundle files already use. They open whether or not UniGetUI is already running, unlike the notification actions, which are dropped when the link starts the app.IpcPackageApi.FindCatalogPackage. It reuses the IPC API's exact-id search but skips loading the installed and updates lists, so it stays fast when the link starts the app. If the manager is unknown, disabled or unavailable, or the package isn't found, a notice says so and nothing opens.FROM_LINKinstall referral.docs/CLI.mddocuments package links. The new strings are added tolang_en.json.Not in this PR
unigetui://links clickable. Sharing in chat needs an https page that redirects to the app, after which Copy link should copy that address.Tests
PackageLinkTests(43 cases): parsing, encoding round-trips, refused links, building a link from a package, and making sure notification handling ignores package links while startup handling picks them up.UniGetUI.Testssuite (946) andUniGetUI.Interface.Telemetry.Testspass locally. The translation validation passes.🤖 Generated with Claude Code