Devolutions Agent package broker experimental support#4826
Merged
Marc-André Moreau (mamoreau-devolutions) merged 1 commit intoJul 22, 2026
Conversation
Vladyslav Nikonov (vnikonov-devolutions)
force-pushed
the
package-policies-new
branch
from
July 7, 2026 14:27
d9b5b0b to
efa6f6c
Compare
Vladyslav Nikonov (vnikonov-devolutions)
force-pushed
the
package-policies-new
branch
from
July 22, 2026 13:02
efa6f6c to
818fe71
Compare
Vladyslav Nikonov (vnikonov-devolutions)
added a commit
to Devolutions/devolutions-gateway
that referenced
this pull request
Jul 22, 2026
Implements now package broker (Also see UniGetUI WIP branch) Devolutions/UniGetUI#4826) #### Implemented - Policy parsing (both json and yaml), evaluation, JSON scheme generation. - Dry-run executor - Windows executor/command builder for winget & PowerShell; needs refining but implements most of the functionality - Elevated/non elevated execution with user impersonation. - Pipe auth - validate effective user & calling executable signature - Made some updated to initial PoC schema - cleaned up, renamed and restructured some fields, added new request/response for polling operation status #### Not implemented yet - Other managers except winget and powershell #### Steps to run this branch: - Compile and replace DevolutionsAgent.exe from this branch. - Add new agent config fields: - `"PackageBroker":{"Enabled":true, "PolicyPath": "C:/path/to/policy.json"}` - If testing with non-MSI UniGetUI isntallation, disable signature validation: `"__debug__": { "skip_broker_signature_validation": true }` - Create empty `UseAgentBroker` file at `%LOCALAPPDATA%/UniGetUI/Configuration` (UniGetUI uses file-based config) - Start Agent - Start UniGetUI, test
Vladyslav Nikonov (vnikonov-devolutions)
marked this pull request as ready for review
July 22, 2026 13:11
Vladyslav Nikonov (vnikonov-devolutions)
requested review from
Copilot and
Marc-André Moreau (mamoreau-devolutions)
July 22, 2026 13:11
Copilot started reviewing on behalf of
Vladyslav Nikonov (vnikonov-devolutions)
July 22, 2026 13:12
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Adds experimental Devolutions Agent routing for WinGet package operations.
Changes:
- Adds broker dependencies and request mapping.
- Routes opted-in WinGet operations through the broker.
- Introduces the file-based
UseAgentBrokersetting.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
src/UniGetUI.Windows.slnx |
Registers the broker project. |
src/UniGetUI.PackageEngine.Operations/UniGetUI.PackageEngine.Operations.csproj |
References broker integration. |
src/UniGetUI.PackageEngine.Operations/PackageOperations.cs |
Implements broker execution and fallback. |
src/UniGetUI.PackageEngine.AgentBroker/UniGetUI.PackageEngine.AgentBroker.csproj |
Defines broker dependencies. |
src/UniGetUI.PackageEngine.AgentBroker/BrokerRequestBuilder.cs |
Maps UniGetUI operations to broker requests. |
src/UniGetUI.Core.Settings/SettingsEngine_Names.cs |
Adds the broker opt-in key. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Vladyslav Nikonov (vnikonov-devolutions)
force-pushed
the
package-policies-new
branch
from
July 22, 2026 13:53
4995620 to
6c7ea43
Compare
Gabriel Dufresne (GabrielDuf)
approved these changes
Jul 22, 2026
Gabriel Dufresne (GabrielDuf)
left a comment
Contributor
There was a problem hiding this comment.
lgtm
Marc-André Moreau (mamoreau-devolutions)
approved these changes
Jul 22, 2026
Marc-André Moreau (mamoreau-devolutions)
merged commit Jul 22, 2026
ee4ced5
into
main
5 checks passed
Marc-André Moreau (mamoreau-devolutions)
deleted the
package-policies-new
branch
July 22, 2026 14:47
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.
This PR adds experimental support for Devolutions Agent broker implemented in Devolutions/devolutions-gateway#1847
Closes: ARC-459