Coven.Chat 2.0.1

dotnet add package Coven.Chat --version 2.0.1
                    
NuGet\Install-Package Coven.Chat -Version 2.0.1
                    
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="Coven.Chat" Version="2.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Coven.Chat" Version="2.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Coven.Chat" />
                    
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 Coven.Chat --version 2.0.1
                    
#r "nuget: Coven.Chat, 2.0.1"
                    
#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 Coven.Chat@2.0.1
                    
#: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=Coven.Chat&version=2.0.1
                    
Install as a Cake Addin
#tool nuget:?package=Coven.Chat&version=2.0.1
                    
Install as a Cake Tool

Coven.Chat

Branch abstraction for multi‑user chat. Defines typed chat entries, batch transmutation for chunked output, and DI helpers for chat windowing.

What’s Inside

  • Entries: ChatAfferent, ChatEfferent, ChatEfferentDraft, ChatChunk, ChatStreamCompleted, ChatAck.
  • Windowing: DI extension AddChatWindowing() registers a windowing daemon for chat.
  • Policies: Windowing/* paragraph/length/sentence window policies.
  • Shattering: Shattering/* policies to split drafts into chunks (paragraph, sentence, max length).
  • Transmuter: ChatChunkBatchTransmuter (chunks → ChatEfferent).

Why use it?

  • Write app logic once against ChatEntry and swap leaves (Console, Discord) without changing your code.
  • Streamed responses become user‑visible messages based on semantic windowing policies.

Usage

using Coven.Chat;
using Coven.Core.Streaming;

// Register chat windowing in DI
services.AddChatWindowing();

// Optionally override the window policy (OR composition)
services.AddScoped<IWindowPolicy<ChatChunk>>(_ =>
    new CompositeWindowPolicy<ChatChunk>(
        new ChatParagraphWindowPolicy(),
        new ChatMaxLengthWindowPolicy(2000)));

Entries at a Glance

  • Afferent (inbound to spine): ChatAfferent, ChatAfferentDraft, ChatChunk, ChatStreamCompleted.
  • Efferent (outbound to users): ChatEfferentDraft (draft), ChatEfferent (final), ChatAck (local loop prevention).

See Also

  • Adapters: Coven.Chat.Discord, Coven.Chat.Console.
  • Architecture: Abstractions and Branches; Windowing and Shattering.
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Coven.Chat:

Package Downloads
Coven.Chat.Adapter.Discord

Package Description

Coven.Chat.Discord

Discord chat adapter for Coven using Discord.Net.

Coven.Chat.Console

Console chat adapter for Coven (stdin/stdout).

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.1 358 11/11/2025
2.0.0 330 11/11/2025
1.0.1-preview.pr43.36.8606c07 133 11/8/2025
1.0.1-preview.pr41.34.92b660c 154 11/2/2025
1.0.1-preview.pr40.32.83e0f6a 119 11/2/2025
1.0.1-preview.pr39.31.462598b 120 11/1/2025
1.0.1-preview.pr38.30.42fe4f5 135 10/25/2025
1.0.1-preview.pr27.17.f335ec5 160 10/7/2025
1.0.1-preview.pr19.9.009bd20 175 9/25/2025
1.0.1-preview.pr17.7.b635fa1 175 8/31/2025
1.0.1-preview.pr17.6.cc737ce 172 8/31/2025
1.0.1-preview.pr17.5.89bfd90 175 8/31/2025
1.0.1-preview.pr17.4.fa90205 171 8/31/2025
1.0.0 258 8/30/2025
0.1.0-preview.pr17.3.d408821 178 8/31/2025