LeXtudio.DevFlow.Agent.Uno
0.1.3
Prefix Reserved
dotnet add package LeXtudio.DevFlow.Agent.Uno --version 0.1.3
NuGet\Install-Package LeXtudio.DevFlow.Agent.Uno -Version 0.1.3
<PackageReference Include="LeXtudio.DevFlow.Agent.Uno" Version="0.1.3" />
<PackageVersion Include="LeXtudio.DevFlow.Agent.Uno" Version="0.1.3" />
<PackageReference Include="LeXtudio.DevFlow.Agent.Uno" />
paket add LeXtudio.DevFlow.Agent.Uno --version 0.1.3
#r "nuget: LeXtudio.DevFlow.Agent.Uno, 0.1.3"
#:package LeXtudio.DevFlow.Agent.Uno@0.1.3
#addin nuget:?package=LeXtudio.DevFlow.Agent.Uno&version=0.1.3
#tool nuget:?package=LeXtudio.DevFlow.Agent.Uno&version=0.1.3
WPF DevFlow
A WPF-first DevFlow product designed for classic WPF applications.
This folder contains the shared DevFlow runtime packages for WPF, WinUI 3, and Uno Platform applications.
NuGet packages
Install the runtime package for your UI stack:
dotnet add package LeXtudio.DevFlow.Agent.WPF
dotnet add package LeXtudio.DevFlow.Driver
dotnet add package LeXtudio.DevFlow.Agent.Uno
dotnet add package LeXtudio.DevFlow.Driver
What is included
LeXtudio.DevFlow.Agent.Core— WPF-agnostic DevFlow HTTP server, DTOs, and shared agent plumbingLeXtudio.DevFlow.Agent.WPF— WPF-specific visual tree walker, screenshot capture, and UI interaction supportLeXtudio.DevFlow.Agent.Uno— Uno Platform and WinUI 3 registration and visual tree supportLeXtudio.DevFlow.Driver— HTTP client for querying a running DevFlow agent
Build
From the repo root:
cd src\DevFlow
dotnet build WpfDevFlow.sln
Use
WPF apps can register the agent during startup:
using LeXtudio.DevFlow.Agent.WPF;
public partial class App : Application
{
protected override void OnStartup(StartupEventArgs e)
{
base.OnStartup(e);
this.AddWpfDevFlowAgent();
}
}
Uno Platform and WinUI 3 apps can register the Uno agent:
using LeXtudio.DevFlow.Agent.Uno;
builder.UseUnoDevFlowAgent();
Web API
By default, the sample apps start the agent on port 5500.
| Request | Description |
|---|---|
GET /api/v1/agent/status |
Read agent status. |
GET /api/v1/ui/tree |
Read the live UI tree. |
GET /api/v1/ui/element?id=<id> |
Read one UI element by id. |
GET /api/v1/ui/screenshot |
Capture a screenshot. |
POST /api/v1/ui/tap |
Tap an element with body { "id": "<element-id>" }. |
POST /api/v1/ui/actions/scroll |
Scroll an element with body { "id": "<element-id>", "deltaX": 0, "deltaY": 600 }. |
Uno support preview
LeXtudio.DevFlow.Agent.Unois the Uno DevFlow platform package.UnoDevFlow.slncontains the shared agent core plus the Uno project.- The Uno package supports registration, tree walking, screenshots, tap, and scroll through the shared Web API.
Reuse strategy
The DevFlow projects reuse source from external/maui-labs/src/DevFlow/Microsoft.Maui.DevFlow.Agent.Core where it makes sense. Those files are consumed as linked source files in LeXtudio.DevFlow.Agent.Core.
Notes
- The WPF DevFlow product is focused on WPF, WinUI 3, and Uno Platform, not MAUI.
WpfDevFlow.slnis the local WPF solution for this product.DevFlow.slnfis an existing external MAUI DevFlow wrapper and is unrelated to the new local WPF product.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- LeXtudio.DevFlow.Agent.Core (>= 0.1.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.