Mintokei.Runner.Client
0.1.3
dotnet add package Mintokei.Runner.Client --version 0.1.3
NuGet\Install-Package Mintokei.Runner.Client -Version 0.1.3
<PackageReference Include="Mintokei.Runner.Client" Version="0.1.3" />
<PackageVersion Include="Mintokei.Runner.Client" Version="0.1.3" />
<PackageReference Include="Mintokei.Runner.Client" />
paket add Mintokei.Runner.Client --version 0.1.3
#r "nuget: Mintokei.Runner.Client, 0.1.3"
#:package Mintokei.Runner.Client@0.1.3
#addin nuget:?package=Mintokei.Runner.Client&version=0.1.3
#tool nuget:?package=Mintokei.Runner.Client&version=0.1.3
Mintokei.Runner.Client
The worker half of Mintokei's distributed execution: enroll with a backend, hold the gRPC link,
run agent CLIs locally via Mintokei.AgentEngine,
and serve workspace files back to the backend over a tunnel.
Embed it in your own worker host, run the one-time startup path, then run the host. Several workers on one machine just means pointing each at its own data directory.
builder.Services.AddMintokeiRunner(builder.Configuration);
var host = builder.Build();
await host.Services.EnsureRunnerReadyAsync();
await host.RunAsync();
EnsureRunnerReadyAsync() is required: it initializes the local outbox and completes first-boot
enrollment before the background transports start.
Required configuration
Bind a Runner section or configure RunnerOptions in code. The important settings are:
BackendUrl— the backend's enrollment/token-exchange base URL.EnrollmentToken— the one-time token for first boot. Cleared after a successful enrollment.GrpcBackendUrl— optional override for the gRPC endpoint; usually only needed in local plaintext dev where HTTP/1 and HTTP/2 are split across ports.DataDir— where credentials and the local outbox live. Set this when running multiple workers on one machine.Name— optional display name reported during enrollment.
Example:
{
"Runner": {
"BackendUrl": "http://localhost:5080",
"GrpcBackendUrl": "http://localhost:5081",
"EnrollmentToken": "<one-time-token>",
"DataDir": "./runner-data",
"Name": "worker-1"
}
}
If you prefer code-based configuration:
builder.Services.AddMintokeiRunner(options =>
{
options.BackendUrl = "http://localhost:5080";
options.GrpcBackendUrl = "http://localhost:5081";
options.EnrollmentToken = "<one-time-token>";
options.DataDir = "./runner-data";
options.Name = "worker-1";
});
For a source-built worker executable, see src/Mintokei.Runner in the
repository. The executable is included for
local/source builds; Mintokei.Runner.Client is the embeddable NuGet package. The backend side is
Mintokei.Runner.Host.
Part of the Mintokei Agent Runtime.
License
MIT
| 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.EntityFrameworkCore.Sqlite (>= 10.0.2)
- Mintokei.AgentEngine (>= 0.1.3)
- Mintokei.Filesystem (>= 0.1.3)
- Mintokei.Runner.Contracts (>= 0.1.3)
- Mintokei.Runner.Contracts.Grpc (>= 0.1.3)
- SQLitePCLRaw.bundle_e_sqlite3 (>= 2.1.12)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.