Add CLI client application with SignalR connectivity

Implement standalone CLI client that connects to Luna.Core via SignalR
for interactive chat sessions. Includes ChatClientService for managing
the hub connection and streaming responses, with a hosted service
architecture using Microsoft.Extensions.Hosting.
This commit is contained in:
2026-04-04 04:12:41 +02:00
parent 79492eac16
commit c389c89d14
3 changed files with 240 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
using Luna.Cli;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
var builder = Host.CreateApplicationBuilder(args);
builder.Logging.ClearProviders();
builder.Services.AddHostedService<ChatClientService>();
await builder.Build().RunAsync();