Webority.Ui.GeneratedScreens 0.204.0

dotnet add package Webority.Ui.GeneratedScreens --version 0.204.0
                    
NuGet\Install-Package Webority.Ui.GeneratedScreens -Version 0.204.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Webority.Ui.GeneratedScreens" Version="0.204.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Webority.Ui.GeneratedScreens" Version="0.204.0" />
                    
Directory.Packages.props
<PackageReference Include="Webority.Ui.GeneratedScreens" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Webority.Ui.GeneratedScreens --version 0.204.0
                    
#r "nuget: Webority.Ui.GeneratedScreens, 0.204.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Webority.Ui.GeneratedScreens@0.204.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Webority.Ui.GeneratedScreens&version=0.204.0
                    
Install as a Cake Addin
#tool nuget:?package=Webority.Ui.GeneratedScreens&version=0.204.0
                    
Install as a Cake Tool

Webority.Ui.GeneratedScreens

Validates A2UI 1.0 agent messages and stored generated screens against the Webority generated screens catalogue, catalogue id webority.engineering/generated-screens/1, with the same verdicts as the TypeScript validator in @webority/markdown-core.

Install

dotnet add package Webority.Ui.GeneratedScreens

Use

Create one validator with its policy. The allowed link origins have no default.

using System.Text.Json.Nodes;
using Webority.Ui.GeneratedScreens;

var validator = new A2uiValidator(new[] { GeneratedScreensCatalog.Document }, new A2uiValidationOptions(
    AllowedLinkOrigins: new[] { "https://example.com" },
    Strict: true,
    ModelWritten: false));

Keep one A2uiSurfaceState for each surface stream and pass it to every ValidateMessages call, so each later batch sees the components and data model the earlier ones built. A state is not safe for concurrent use: one caller drives one stream.

var state = new A2uiSurfaceState();
A2uiValidationResult result = validator.ValidateMessages(JsonNode.Parse(json)!, state);

A batch with any issue is refused whole and leaves the state unchanged. A batch that passes replaces the state.

Check a saved screen, one complete createSurface message, with ValidateStoredScreen:

A2uiValidationResult saved = validator.ValidateStoredScreen(JsonNode.Parse(savedJson)!);

Read the outcome from Issues. IsValid is true when the list is empty.

foreach (A2uiValidationIssue issue in result.Issues)
{
    Console.WriteLine($"{issue.Code} {issue.Path}: {issue.Message}");
}

Each A2uiValidationIssue has:

  • Code: the machine-readable reason, such as missing_field or invalid_value.
  • Path: a JSON pointer to the offending part of the payload.
  • Message: a plain sentence describing the problem.
  • SurfaceId: the surface the issue belongs to, or null when it belongs to none.
Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (8)

Showing the top 5 NuGet packages that depend on Webority.Ui.GeneratedScreens:

Package Downloads
Webority.Ui.Razor

Webority shared Razor component library: the App* tag helpers and the admin shell for Razor Pages heads, bundling the @webority/theme design system as a static web asset.

Webority.Chat.AspNetCore

The Webority Chat routes for one surface: profile, conversations, messages streamed as Server-Sent Events, input requests, actions, ratings and attachments, with the feature filter, the captcha gate, named rate-limit policies and RFC 9457 problems with fixed codes.

Webority.Chat.Admin

The admin area for Webority Chat in Webority.Ui.Razor markup: transcripts, ratings, unanswered questions, leads from chat, the profile editor and the script editor, under a Chat area the product secures with one policy.

Webority.Chat.Support

The support bridge for Webority Chat: handoff from the assistant to a person, ticket and handoff parts, open tickets on start and away notifications, over Webority.Support. It serves no staff page; the agent console is Webority.Chat.Support.Admin.

Webority.Chat.Ai

The AI responder for Webority Chat: the agent loop over Webority.Ai with the stream-aware reply guard and figure check, presentation tools, topic and injection guardrails, knowledge citations as Sources parts and suggested replies as QuickReplies parts.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.204.0 0 12/5/2026
0.203.2 0 12/5/2026
0.203.1 0 12/5/2026
0.203.0 0 12/5/2026
0.202.1 0 12/5/2026
0.202.0 139 12/5/2026
0.201.1 111 12/5/2026
0.201.0 183 12/4/2026
0.200.0 205 12/4/2026