Lyo.Drift.Agent
2.0.0
dotnet add package Lyo.Drift.Agent --version 2.0.0
NuGet\Install-Package Lyo.Drift.Agent -Version 2.0.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="Lyo.Drift.Agent" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Lyo.Drift.Agent" Version="2.0.0" />
<PackageReference Include="Lyo.Drift.Agent" />
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 Lyo.Drift.Agent --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Lyo.Drift.Agent, 2.0.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 Lyo.Drift.Agent@2.0.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=Lyo.Drift.Agent&version=2.0.0
#tool nuget:?package=Lyo.Drift.Agent&version=2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Lyo.Drift.Agent
Hosted agent: upserts an InstanceKey, constructs one FileSystemWatcher per watch, copies DTOs on ScanCompleted onto a bounded Channel, and POSTs from the hosted-service loop so the debounce thread never awaits HTTP. System-info uses SystemInfoDriftProjection with DriftAgent:SystemInfo:Include (empty = identity-only). Identical collector hashes are not re-inserted.
Features
- Identity system-info. Empty Include projects OS/CPU/RAM total/host/drives/NIC names only. Opt in with Variables, InterfaceAddresses, Monitors, Locale.
- Off-thread ingest. ScanCompleted and the system-info timer only enqueue DTOs.
- Regex include/exclude. Include/exclude patterns are .NET regular expressions passed through to the watcher.
- 404 re-upsert. Heartbeat 404 reuses the same InstanceKey.
Examples
Register the agent
services.AddLyoApiClient(o => o.BaseUrl = configuration["DriftAgent:ApiBaseUrl"]);
services.AddDriftClient(new() { RoutePrefix = configuration["DriftAgent:ApiBaseUrl"] });
services.AddDriftAgentFromConfiguration(configuration);
Dependencies
Generated from ProjectReference / PackageReference (same model as docs/Lyo.ProjectGraph.html).
Lyo.Api.Client(direct, lyo)Lyo.Common.Json(direct, lyo)Lyo.Configuration(direct, lyo)Lyo.Diff(direct, lyo)Lyo.Drift.Client(direct, lyo)Lyo.Drift.Models(direct, lyo)Lyo.Exceptions(direct, lyo)Lyo.FileSystemWatcher(direct, lyo)Lyo.SystemInformation(direct, lyo)Microsoft.Extensions.Hosting.Abstractions10.0.5(direct, microsoft)Microsoft.Extensions.Logging.Abstractions10.0.5(direct, microsoft)Microsoft.Extensions.Options.ConfigurationExtensions10.0.5(direct, microsoft)Lyo.Api.Models(transitive, lyo)Lyo.Common.Core(transitive, lyo)Lyo.Common.Metadata(transitive, lyo)Lyo.DateAndTime(transitive, lyo)Lyo.Diagnostic(transitive, lyo)Lyo.FileSystemWatcher.Models(transitive, lyo)Lyo.Hashing(transitive, lyo)Lyo.Http.Client(transitive, lyo)Lyo.Metrics(transitive, lyo)Lyo.PackageMetadata(transitive, lyo)Lyo.Parameters(transitive, lyo)Lyo.Query.Models(transitive, lyo)Lyo.Result(transitive, lyo)AngleSharp1.5.0(transitive, third-party)Microsoft.Bcl.AsyncInterfaces10.0.5(transitive, microsoft, netstandard2.0)Microsoft.Extensions.Configuration.Binder10.0.5(transitive, microsoft)Microsoft.Extensions.DependencyInjection.Abstractions10.0.5(transitive, microsoft)Microsoft.Extensions.Http10.0.5(transitive, microsoft)System.Buffers4.6.1(transitive, microsoft, netstandard2.0)System.IO.Hashing10.0.5(transitive, microsoft, net10.0)System.Memory4.6.3(transitive, microsoft, netstandard2.0)System.Text.Json10.0.5(transitive, microsoft, netstandard2.0)System.Threading.RateLimiting10.0.5(transitive, microsoft)System.Threading.Tasks.Extensions4.6.3(transitive, microsoft)
| Product | Versions 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.
-
net10.0
- Lyo.Api.Client (>= 2.0.0)
- Lyo.Common.Json (>= 2.0.0)
- Lyo.Configuration (>= 2.0.0)
- Lyo.Diff (>= 2.0.0)
- Lyo.Drift.Client (>= 2.0.0)
- Lyo.Drift.Models (>= 2.0.0)
- Lyo.Exceptions (>= 2.0.0)
- Lyo.FileSystemWatcher (>= 2.0.0)
- Lyo.SystemInformation (>= 2.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.5)
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 |
|---|---|---|
| 2.0.0 | 42 | 9/9/2026 |