SharpNinja.Avalonia.RemoteControl.Protocol
0.8.0
dotnet add package SharpNinja.Avalonia.RemoteControl.Protocol --version 0.8.0
NuGet\Install-Package SharpNinja.Avalonia.RemoteControl.Protocol -Version 0.8.0
<PackageReference Include="SharpNinja.Avalonia.RemoteControl.Protocol" Version="0.8.0" />
<PackageVersion Include="SharpNinja.Avalonia.RemoteControl.Protocol" Version="0.8.0" />
<PackageReference Include="SharpNinja.Avalonia.RemoteControl.Protocol" />
paket add SharpNinja.Avalonia.RemoteControl.Protocol --version 0.8.0
#r "nuget: SharpNinja.Avalonia.RemoteControl.Protocol, 0.8.0"
#:package SharpNinja.Avalonia.RemoteControl.Protocol@0.8.0
#addin nuget:?package=SharpNinja.Avalonia.RemoteControl.Protocol&version=0.8.0
#tool nuget:?package=SharpNinja.Avalonia.RemoteControl.Protocol&version=0.8.0
Avalonia.RemoteControl
Avalonia.RemoteControl is a debugging and remote-control system for Avalonia 12 applications.
Current release: 0.8.0.
The tool gives developers and QA engineers a desktop control surface for a running Avalonia app: inspect the live control tree, view public state, stream logs, invoke guarded actions, edit approved properties, open a live remote UI panel, connect through ADB, and launch an embedded Codex terminal that can drive the connected app through the tool's in-process MCP server.
Install The Client
dotnet tool install --global SharpNinja.Avalonia.RemoteControl.Tool --version 0.8.0
avalonia-remote
Update an existing install with:
dotnet tool update --global SharpNinja.Avalonia.RemoteControl.Tool --version 0.8.0
Packages:
SharpNinja.Avalonia.RemoteControl.Protocol- shared gRPC and bridge protocol contracts.SharpNinja.Avalonia.RemoteControl.Runtime- Android-compatible shared runtime SDK.SharpNinja.Avalonia.RemoteControl.Server- embeddable server SDK for debuggee applications.SharpNinja.Avalonia.RemoteControl.Tool- .NET tool that launches the remote-control client throughavalonia-remote.
Running avalonia-remote with no arguments opens the desktop client. avalonia-remote --help and avalonia-remote adb ... run command-line workflows. The desktop client can save and forget endpoint, token, certificate, transport, project, layout, and replay state in user-scoped application data.
Start Here
- Getting started - local desktop quickstart.
- Android ADB connections - emulator or connected-device quickstart.
- Codex MCP - launch Codex inside the tool and drive the connected app through MCP.
- Client tool - desktop UI, docking, logs, live view, projects, and CLI workflows.
- Server integration
- Settings guide
- Security guide
- Troubleshooting
Current Capabilities
- Inspect the current Avalonia control tree and selected-node properties.
- Stream tree changes, bounded redacted
ILoggerdata, and guarded live screenshot frames. - Invoke focus, clicks, remote input, and approved public property edits when the debuggee enables those gates.
- Connect over local loopback, TLS network endpoints, or Android ADB forwarding.
- Use the desktop UI to refresh ADB devices, create forwards, connect, and clean up forwards.
- Dock or float tool panels, including live view and logs, with persisted layout state.
- Store user-scoped projects with connection profiles, session log history, interaction journals, replay data, and tree diffs.
- Launch an embedded Codex terminal with
avalonia_remote_controlMCP tools connected to the running desktop tool.
Security posture:
- disabled by default
- authentication required for all sessions
- TLS required for non-loopback listeners
- ADB tunnels remain authenticated
- mutation is deny-by-default
- remote actions are disabled unless explicitly enabled
- frame streaming is disabled unless explicitly enabled
- remote input is disabled unless remote actions and remote input are explicitly enabled
- sensitive properties and log fields are redacted
Build and validation:
dotnet restore Avalonia.RemoteControl.slnx
dotnet build Avalonia.RemoteControl.slnx --configuration Release --no-restore
dotnet test Avalonia.RemoteControl.slnx --configuration Release --no-build
dotnet pack Avalonia.RemoteControl.slnx --configuration Release --no-build --output artifacts/packages
ADB CLI:
avalonia-remote adb list
avalonia-remote adb connect --serial emulator-5554 --device-port 47100 --token <token> --keep-forward
avalonia-remote adb connect --serial emulator-5554 --package com.example.app --keep-forward
avalonia-remote adb cleanup --serial emulator-5554 --host-port <allocated-host-port>
ADB connect allocates an available host port by default and prints it. Package discovery reads the app's current device port from its marker. A stopped package is launched only with --launch-package.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-android36.0 is compatible. 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
- Google.Protobuf (>= 3.35.1)
- Grpc.Core.Api (>= 2.80.0)
-
net10.0-android36.0
- Google.Protobuf (>= 3.35.1)
- Grpc.Core.Api (>= 2.80.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on SharpNinja.Avalonia.RemoteControl.Protocol:
| Package | Downloads |
|---|---|
|
SharpNinja.Avalonia.RemoteControl.Runtime
Host-independent Avalonia remote inspection and control runtime services. |
|
|
SharpNinja.Avalonia.RemoteControl.Server
Embeddable remote inspection and control server for Avalonia applications. |
GitHub repositories
This package is not used by any popular GitHub repositories.