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.
19 lines
755 B
XML
19 lines
755 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<RootNamespace>Luna.Cli</RootNamespace>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="10.0.4" />
|
|
<PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.Json" Version="10.0.5" />
|
|
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.5" />
|
|
<PackageReference Include="Microsoft.Extensions.Logging" Version="10.0.5" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Luna.Shared\Luna.Shared.csproj" />
|
|
</ItemGroup>
|
|
</Project>
|