FluxFlow.Components.FileSystem.Composition 1.5.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package FluxFlow.Components.FileSystem.Composition --version 1.5.0
                    
NuGet\Install-Package FluxFlow.Components.FileSystem.Composition -Version 1.5.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="FluxFlow.Components.FileSystem.Composition" Version="1.5.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FluxFlow.Components.FileSystem.Composition" Version="1.5.0" />
                    
Directory.Packages.props
<PackageReference Include="FluxFlow.Components.FileSystem.Composition" />
                    
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 FluxFlow.Components.FileSystem.Composition --version 1.5.0
                    
#r "nuget: FluxFlow.Components.FileSystem.Composition, 1.5.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 FluxFlow.Components.FileSystem.Composition@1.5.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=FluxFlow.Components.FileSystem.Composition&version=1.5.0
                    
Install as a Cake Addin
#tool nuget:?package=FluxFlow.Components.FileSystem.Composition&version=1.5.0
                    
Install as a Cake Tool

FluxFlow.Components.FileSystem.Composition

Optional FluxFlow.Composition registration helpers for the standalone file system nodes from FluxFlow.Components.FileSystem.

This package does not scan assemblies, resolve CLR types from strings, create file-system abstraction resources, or own path policy. Hosts register file system factories explicitly and may provide an optional keyed TimeProvider.

Registration

services
    .AddFluxFlowComposition(configuration)
    .RegisterNodes(registry => registry
        .RegisterFileRead()
        .RegisterFileWrite()
        .RegisterDirectoryEnumerate()
        .RegisterFileWatch());

Node Types

Type Node Ports
file.read FileReadNode Input, Output
file.write FileWriteNode Input, Output
directory.enumerate DirectoryEnumerateNode Output
file.watch FileWatchNode Output

The factories expose Events and Errors. clock is an optional keyed TimeProvider resource for deterministic result, event, and error timestamps. Path safety is still configured through the existing node options such as baseDirectory and allowAbsolutePaths.

Configuration

{
  "FluxFlow": {
    "Composition": {
      "workflows": {
        "main": {
          "nodes": {
            "read": {
              "type": "file.read",
              "resources": {
                "clock": "fixed"
              },
              "configuration": {
                "baseDirectory": "data",
                "allowAbsolutePaths": false,
                "defaultEncoding": "utf-8",
                "maxBytes": 16777216,
                "boundedCapacity": 128
              }
            },
            "enumerate": {
              "type": "directory.enumerate",
              "configuration": {
                "directory": "inbox",
                "filter": "*.json",
                "includeFiles": true,
                "includeDirectories": false,
                "baseDirectory": "data"
              }
            }
          },
          "links": []
        }
      }
    }
  }
}

The adapter binds the existing FileSystem option records from composition configuration. CompositionRuntime.StartAsync() starts directory.enumerate and file.watch; normal runtime stop/dispose stops file.watch. Invalid option values fail during composition build through the node factory. If build failures are configured as diagnostics, the runtime is not created and the host receives a FactoryFailed diagnostic with the relevant option name.

Design Metadata

FileSystemComponentDesignMetadataProvider exposes neutral Designer metadata for the four file-system composition nodes. The metadata describes fixed request/result ports, source outputs, the existing FileSystem option records, option section/importance/editor hints, and optional host-owned clock resource picker hints for hosts that build palettes, editors, validators, or documentation views.

Path safety remains runtime configuration through baseDirectory and allowAbsolutePaths. The optional clock resource remains host-owned and is not represented as an editable node option. The metadata is authored through the shared validated Designer metadata builder while preserving the same public metadata contracts consumed by hosts.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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
8.0.0-rc.1 58 9/5/2026
7.0.0-rc.1 70 8/9/2026
6.0.0 124 8/3/2026
1.5.0 121 7/3/2026
1.4.0 111 7/2/2026

Drops the FluxFlow.Composition.Hosting dependency (host-owned keyed resource resolution moved to the FluxFlow.Composition factory context) and adds the shared package icon.