Vyral.Execution.Local
0.2.0
dotnet add package Vyral.Execution.Local --version 0.2.0
NuGet\Install-Package Vyral.Execution.Local -Version 0.2.0
<PackageReference Include="Vyral.Execution.Local" Version="0.2.0" />
<PackageVersion Include="Vyral.Execution.Local" Version="0.2.0" />
<PackageReference Include="Vyral.Execution.Local" />
paket add Vyral.Execution.Local --version 0.2.0
#r "nuget: Vyral.Execution.Local, 0.2.0"
#:package Vyral.Execution.Local@0.2.0
#addin nuget:?package=Vyral.Execution.Local&version=0.2.0
#tool nuget:?package=Vyral.Execution.Local&version=0.2.0
Vyral.Execution.Local
Vyral.Execution.Local is the SQLite-backed execution runtime adapter for local development,
tests, and local deployments.
Current version label: 0.2.0.
It implements IExecutionRuntimeAdapter using local SQLite state and local artifact files. It is
the default adapter for proving plugin behavior before moving to a remote orchestration target.
Local Setup
using Vyral.Execution;
using Vyral.Execution.Local;
IExecutionRuntimeAdapter runtime = new LocalExecutionRuntime(new LocalExecutionRuntimeOptions
{
DatabasePath = ".vyral/execution-runtime.sqlite",
MaxActiveRuns = 100,
MaxRetainedTerminalRuns = 500
});
runtime.RegisterPlugin(new YourPlugin());
For hosted apps, register the same runtime behind the provider-neutral interfaces:
using Vyral.Execution;
using Vyral.Execution.Local;
builder.Services.AddVyralExecutionPlugin<YourPlugin>();
builder.Services.AddVyralLocalExecutionRuntime(new LocalExecutionRuntimeOptions
{
DatabasePath = ".vyral/execution-runtime.sqlite"
});
// App code can depend on IExecutionRuntime or IExecutionRuntimeAdapter.
The adapter reports its active policy through GetAdapterStatusAsync, including list/history
limits, payload/result/artifact bounds, retention scope, resume policy, and concurrency-key
behavior.
It also implements IExecutionRuntimeMaintenance:
var maintenance = (IExecutionRuntimeMaintenance)runtime;
var status = await maintenance.GetMaintenanceStatusAsync();
var preview = await maintenance.PruneAsync(new ExecutionMaintenancePruneRequest
{
DryRun = true,
RetainTerminalRuns = 100
});
Maintenance status reports local run counts, SQLite row counts, and local artifact directory
metrics. Prune requests default to dry-run; set DryRun = false only when intentionally deleting
terminal run-owned state beyond the retained terminal count.
Runnable Sample
dotnet run --project samples/Vyral.Execution.LocalSample/Vyral.Execution.LocalSample.csproj -- --once
The sample creates a temporary SQLite database, registers a portable plugin, starts an idempotent run, waits for terminal status, and prints status/history/artifact summaries.
Notes
- Local SQLite is intended for local-first development and small local deployments.
- Handler code should still target
Vyral.Execution; this adapter is a host/runtime choice. - The package-consumer validation script checks the packed local adapter from a temp external app
and verifies the current SQLite package graph has no known vulnerabilities from NuGet advisory
sources used by
dotnet list package --vulnerable.
| 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. |
-
net10.0
- Microsoft.Data.Sqlite (>= 10.0.11)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.11)
- SQLitePCLRaw.bundle_e_sqlite3 (>= 3.0.5)
- Vyral.Execution (>= 0.2.0)
- Vyral.Primitives (>= 0.2.0)
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.2.0 | 113 | 8/17/2026 |