Skip to content

Commit ce2ceee

Browse files
feat(ui): Implement Blazor WASM UI for ClawSharp Phase 3 (Tasks 3.7-3.11)
- Create Blazor WASM UI with Chat, Dashboard, Memory Browser, and Settings pages - Chat page connects to SignalR hub at /hubs/agent, sends messages, shows responses - Dashboard page shows provider status and channel status - Memory Browser page allows browsing and searching memories - Settings page provides basic configuration UI - Self-host Blazor from Gateway: add UseBlazorFrameworkFiles() and MapFallbackToFile() - Add memory endpoints to Gateway for UI integration - Fix SlackChannel AllowedChannels property in config
1 parent f45fc41 commit ce2ceee

24 files changed

Lines changed: 1861 additions & 93 deletions

ClawSharp.slnx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
</Folder>
1414
<Folder Name="/tests/">
1515
<Project Path="tests/ClawSharp.Agent.Tests/ClawSharp.Agent.Tests.csproj" />
16+
<Project Path="tests/ClawSharp.Channels.Tests/ClawSharp.Channels.Tests.csproj" />
1617
<Project Path="tests/ClawSharp.Cli.Tests/ClawSharp.Cli.Tests.csproj" />
1718
<Project Path="tests/ClawSharp.Core.Tests/ClawSharp.Core.Tests.csproj" />
1819
<Project Path="tests/ClawSharp.Gateway.Tests/ClawSharp.Gateway.Tests.csproj" />
@@ -21,5 +22,6 @@
2122
<Project Path="tests/ClawSharp.Providers.Tests/ClawSharp.Providers.Tests.csproj" />
2223
<Project Path="tests/ClawSharp.Tools.Tests/ClawSharp.Tools.Tests.csproj" />
2324
<Project Path="tests/ClawSharp.TestHelpers/ClawSharp.TestHelpers.csproj" />
25+
<Project Path="tests/ClawSharp.UI.Tests/ClawSharp.UI.Tests.csproj" />
2426
</Folder>
2527
</Solution>

src/ClawSharp.Channels/ClawSharp.Channels.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.3" />
1111
<PackageReference Include="Telegram.Bot" Version="22.0.0" />
1212
<PackageReference Include="Discord.Net" Version="3.17.0" />
13+
<PackageReference Include="SlackNet" Version="0.9.0" />
1314
</ItemGroup>
1415

1516
<ItemGroup>

src/ClawSharp.Core/Config/ChannelsConfig.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ public class SlackChannelConfig
2626
public string? BotToken { get; set; }
2727
public string? AppToken { get; set; }
2828
public string? SigningSecret { get; set; }
29+
public List<string> AllowedChannels { get; set; } = [];
2930
}

src/ClawSharp.Gateway/ClawSharp.Gateway.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="10.0.3" />
910
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.0.3" />
1011
</ItemGroup>
1112

@@ -14,6 +15,7 @@
1415
<ProjectReference Include="..\ClawSharp.Channels\ClawSharp.Channels.csproj" />
1516
<ProjectReference Include="..\ClawSharp.Core\ClawSharp.Core.csproj" />
1617
<ProjectReference Include="..\ClawSharp.Infrastructure\ClawSharp.Infrastructure.csproj" />
18+
<ProjectReference Include="..\ClawSharp.UI\ClawSharp.UI.csproj" />
1719
</ItemGroup>
1820

1921
</Project>

0 commit comments

Comments
 (0)