Fuaran.UI.OpStream.Dag.Sqlite 0.46.0

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

Fuaran.UI.OpStream.Dag.Sqlite

Microsoft.Data.Sqlite-backed implementation of IDagOpStreamSink<'Msg> (from Fuaran.UI.OpStream.Dag.Abstractions).

The durable counterpart of the in-memory DAG sink. Records live in a dag_op_record table keyed by (stream_id, hash); the trunk head lives in a dag_head table. The TryAdvanceHead compare-and-swap is a conditional UPDATE dag_head SET head = @new WHERE stream_id = @s AND head = @expected — atomic at the statement level, so two racing advancers from the same expected head leave exactly one winner. The genesis advance (expected = None) is an INSERT … ON CONFLICT DO NOTHING whose rows-affected distinguishes "head unset" from "head already set".

Add is idempotent by content address; a hash collision with differing content is rejected. Topology queries (Parents / Reachable / Lca) load the stream's (hash, parents) rows and delegate to the pure DagTopology algorithms. Tombstone drops the op payload (op_json reset to an empty batch, outcome_hash cleared, tombstoned = 1) while preserving the hash + parent links, so the chain stays verifiable.

Opt-in (rung-4): a consumer that never references the DAG packages pulls none of this.

Apache-2.0 licensed — see the repo LICENSE.

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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.46.0 0 8/28/2026
0.39.0 35 8/27/2026
0.35.0 78 8/24/2026
0.32.0 79 8/23/2026
0.31.0 83 8/21/2026
0.30.0 76 8/21/2026
0.29.0 81 8/19/2026
0.28.0 84 8/18/2026
0.27.0 84 8/18/2026
0.26.0 89 8/18/2026
0.18.0 91 8/10/2026
0.15.0 89 8/9/2026
0.12.0 103 7/31/2026
0.11.0 99 7/30/2026
0.10.0 103 7/29/2026
0.6.0 96 7/27/2026
0.4.0 99 7/26/2026
0.3.0 105 7/24/2026