Edit the running interface
Live Tree Mutation
Move from observing the interface to safely reshaping it in place.
Explore source ↗Capability
Property and structural mutations can set values, insert controls, remove nodes, move siblings, reparent branches, or batch several changes, with dry-run validation available before applying edits.
- 01
Set, insert, remove, move, and reparent
- 02
Dry-run validation
- 03
Batch mutation in one command
- 04
Structured diagnostics and operation identifiers
How it composes
From intent
to working system.
Describe
A command identifies the target, operation, payload, and operation id.
Validate
Dry-run and schema checks reject unsupported nodes, properties, or structure.
Apply
The host or live process mutation lane updates Avalonia state.
Verify
A fresh tree or property query proves the resulting runtime shape.
Quick start
Adopt this
capability.
Start with the primary module, then add the related packages only when the application needs those layers. Replace VERSION with the current NuGet version.
dotnet add package Inspector.Hostdotnet add package Inspector.Contracts<PackageReference Include="Inspector.Host" Version="VERSION" /><PackageVersion Include="Inspector.Host" Version="VERSION" />inspector tree mutate --session-id sess-123 --target-node-id visual-root --operation insert --payload '{"typeName":"Avalonia.Controls.TextBox","name":"EmailInput","properties":{"Watermark":"Email"}}' --dry-run --jsonModules in this capability
Use one layer.
Compose the rest.
Source of truth
Read the module beside the complete system.
The implementation, samples, issues, and release notes stay in the parent repository so module details remain connected to the product architecture.