irm https://www.dotcraft.net/install.ps1 | iexcurl -fsSL https://www.dotcraft.net/install.sh | bash
Agent Harness for .NET
No separate agent service to deploy or operate.
Plugs into the Generic Host and dependency injection.
Sessions, tools, skills, approvals and providers come wired.
using DotCraft.Configuration;
using DotCraft.Harness;
using Microsoft.Extensions.Hosting;
AppConfig appConfig = LoadApplicationConfig();
var workspacePath = Directory.GetCurrentDirectory();
var builder = Host.CreateApplicationBuilder(args);
builder.Services.AddDotCraftHarness(appConfig, options =>
{
options.WorkspacePath = workspacePath;
});
using var host = builder.Build();
await host.StartAsync();
await host.StopAsync();irm https://www.dotcraft.net/install.ps1 | iexcurl -fsSL https://www.dotcraft.net/install.sh | bash