hashbrown

Hashbrown.AspNetCore · C# API reference

Hashbrown.AspNetCore.NativeSessionHistory

Upcoming 0.1.0-preview.2 · Unreleased

public static class NativeSessionHistory

Canonical bounded public history admission. This is storage validation, not a MAF transcript provider.

Members

Admits

public static bool Admits(string incoming, Hashbrown.AspNetCore.NativeSessionSnapshot? stored);

Checks owned history with exact pending client results after their calls, or one subsequent user turn.

Canonical

public static string Canonical(System.Text.Json.JsonElement value);

Normalizes JSON object order using the same structural JSON equivalence as canonical SSE argument validation.

Normalize

public static string Normalize(string request, Hashbrown.AspNetCore.NativeSessionKey key, Hashbrown.AspNetCore.NativeToolCatalog catalog, Hashbrown.AspNetCore.NativeSessionOptions options);

Validates and clones a genuine AGUI public request, rejecting ambiguous IDs and oversized state.