Fuaran.UI.OpStream.Dag.Sqlite 0.106.0

Prefix Reserved
dotnet add package Fuaran.UI.OpStream.Dag.Sqlite --version 0.106.0
                    
NuGet\Install-Package Fuaran.UI.OpStream.Dag.Sqlite -Version 0.106.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.106.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.106.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.106.0
                    
#r "nuget: Fuaran.UI.OpStream.Dag.Sqlite, 0.106.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.106.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.106.0
                    
Install as a Cake Addin
#tool nuget:?package=Fuaran.UI.OpStream.Dag.Sqlite&version=0.106.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_node 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, and admission recomputes the address (Core's Dag.nodeId) and checks every parent is present. The schema is versioned (dag_schema; a pre-2645 dag_op_record table is refused by name, to be re-minted): live nodes in dag_node, and a pruned node moves to dag_skeleton with its address and parent links, never while a live node names it as a parent.

The read contract (Phase 2716, docs/DECISIONS.md D32): verified on write and at load, trusted on read. The sink holds each stream it is asked about: its live records and Core's reachability index, built at the first ancestry question and extended by every admitted record, so Reachable and a merge through DagMerge.mergeWith cost what they cost a caller holding the DAG. A stream is LOADED (read and verified in full, unless the host named LoadVerification.Off) the first time a read touches it in a sink instance. Another writer on the same file is detected at the next read by the stream's row counts: records it added are read and verified as at load, and a prune re-loads the stream. A row changed in place after the load, by something other than this sink, is not detected by a read; Reverify (IDagOpStreamIndexedSink) re-reads and re-checks the stream on demand and refuses it by name.

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.106.0 0 11/23/2026
0.105.0 52 11/21/2026
0.104.0 95 11/11/2026
0.103.0 94 11/9/2026
0.102.0 97 11/6/2026
0.101.0 96 11/2/2026
0.100.0 113 10/31/2026
0.99.1 104 10/29/2026
0.98.1 116 10/28/2026
0.97.0 115 10/18/2026
0.96.0 103 10/18/2026
0.95.0 101 10/17/2026
0.94.0 106 10/14/2026
0.93.0 107 10/10/2026
0.92.0 113 10/6/2026
0.91.0 114 10/4/2026
0.90.0 114 10/2/2026
0.88.0 119 9/30/2026
0.86.0 150 9/28/2026
0.85.0 127 9/20/2026
Loading failed