Files
WorkspaceAccessHost/src/Agent/AgentApplication.cs
T
Youmu Liu 4bc3552167
Verify / verify (ubuntu-latest, linux-x64) (push) Canceled after 0s
Verify / verify (windows-latest, win-x64) (push) Canceled after 0s
Initialize cross-platform workspace host scaffold
2026-09-29 11:30:51 +08:00

16 lines
435 B
C#

namespace WorkspaceAccessHost.Agent;
internal static class AgentApplication
{
public static async Task RunAsync(string[] args)
{
var builder = Host.CreateApplicationBuilder(new HostApplicationBuilderSettings
{
Args = args,
ContentRootPath = AppContext.BaseDirectory
});
builder.Services.AddHostedService<AgentWorker>();
await builder.Build().RunAsync();
}
}