Hosting
Install behavior depends on the host shape.
Standard hosts patch cleanly. Advanced hosts stay review-first. Hosted WebAssembly uses the server host plus a remote client package.
Host types
Standard Blazor Web App
Best first target. CLI can patch startup, shell, layout, and starter workflow files.
Hosted WebAssembly server + client
Run CLI against the server host. Use AgentBlazor.Client in the browser project.
Recognizable advanced host
Safe additions still apply, but risky shell or startup edits stay manual.
Unclassified host
The CLI stops instead of guessing.
Hosted WebAssembly server + client
// Server
app.MapAgentBlazorEndpoints();
app.MapAgentBlazorRemoteChat();
// Client
builder.Services.AddScoped(_ => new HttpClient
{
BaseAddress = new Uri(builder.HostEnvironment.BaseAddress)
});
@using AgentBlazor.Client.Chat
<AgentRemoteChatWidget Endpoint="/agentblazor/chat/run" Title="Assistant" />What review-first means
- The CLI still shows safe file work.
- Risky startup, shell, or layout edits are left for manual review.
validatereports unresolved review items as real gaps.