Skip to content

Commit eb30aca

Browse files
sharpninjaclaude
andcommitted
Normalize internal namespaces from McpServer to McpServerManager
Rename all internal project namespaces to match the solution name: - McpServer.Director.* → McpServerManager.Director.* - McpServer.UI.Core.* → McpServerManager.UI.Core.* - McpServer.Web.* → McpServerManager.Web.* - McpServer.VsExtension.* → McpServerManager.VsExtension.* Updated across 652 .cs files, AXAML, Razor, XAML, and .csproj configs. External lib submodule namespaces (McpServer.Client, McpServer.Cqrs, McpServer.McpAgent) are preserved unchanged. Also updates OIDC development config to use discovery from running MCP server rather than hardcoded Keycloak values. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e69da62 commit eb30aca

552 files changed

Lines changed: 1574 additions & 1511 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/launch.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"version": "0.0.1",
3+
"configurations": [
4+
{
5+
"name": "McpServer.Web",
6+
"runtimeExecutable": "dotnet",
7+
"runtimeArgs": ["run", "--project", "src/McpServer.Web"],
8+
"port": 39984
9+
},
10+
{
11+
"name": "McpServer.Director",
12+
"runtimeExecutable": "dotnet",
13+
"runtimeArgs": ["run", "--project", "src/McpServer.Director"]
14+
},
15+
{
16+
"name": "McpServerManager.Desktop",
17+
"runtimeExecutable": "dotnet",
18+
"runtimeArgs": ["run", "--project", "src/McpServerManager.Desktop"],
19+
"autoPort": true
20+
}
21+
]
22+
}

.claude/settings.local.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(find /f/GitHub/McpServerManager/.claude/worktrees/magical-ritchie -type f -name *auth* -o -name *Auth*)",
5+
"mcp__Claude_Preview__preview_start",
6+
"Bash(curl -s http://localhost:7147/auth/config)",
7+
"Bash(curl -s http://localhost:39984/auth/config)",
8+
"Bash(find F:GitHubMcpServerManagersrc F:GitHubMcpServerManagertests -name *.cs -type f)",
9+
"Bash(xargs grep:*)",
10+
"Bash(find F:GitHubMcpServerManagertests -name *.cs -type f)",
11+
"Bash(find F:GitHubMcpServerManager -name *.json -o -name *.xml -o -name *.yaml -o -name *.yml)",
12+
"Bash(grep -r '^namespace McpServer\\\\.' F:GitHubMcpServerManagertests --include=*.cs)",
13+
"Bash(find F:GitHubMcpServerManagersrc -name *.csproj -exec grep -H McpServer. {})",
14+
"Bash(2)",
15+
"Bash(find F:GitHubMcpServerManagersrc -name *.csproj)",
16+
"Bash(find F:GitHubMcpServerManagertests -name *.csproj)",
17+
"Bash(xargs -0 sed -i -e s/McpServer.Director/McpServerManager.Director/g -e s/McpServer.UI/McpServerManager.UI/g -e s/McpServer.Web/McpServerManager.Web/g -e s/McpServer.VsExtension/McpServerManager.VsExtension/g echo 'Done. Checking for double-renames...' grep -r McpServerManagerManager src tests --include=*.cs -l)",
18+
"Bash(echo \"Exit: $?\")",
19+
"Bash(dotnet build:*)",
20+
"Bash(while read:*)",
21+
"Bash(do grep:*)",
22+
"Bash(done)",
23+
"Bash(xargs -0 sed -i -e 's/McpServer\\\\.Director/McpServerManager.Director/g' -e 's/McpServer\\\\.UI/McpServerManager.UI/g' -e 's/McpServer\\\\.Web/McpServerManager.Web/g' -e 's/McpServer\\\\.VsExtension/McpServerManager.VsExtension/g' echo \"AXAML files updated\")",
24+
"Bash(do echo:*)",
25+
"Read(//f/GitHub/McpServerManager/.claude/worktrees/magical-ritchie/**)",
26+
"Bash(find /f/GitHub/McpServerManager -type f -name Build.cs -o -name Build.csproj -o -name *.nuke)",
27+
"Bash(grep -n \"void RunDeploy\\\\|void RunPackDirector\\\\|void RunUpdateDirector\\\\|void RunUpdateWebUi\\\\|void RunBuildDesktop\\\\|void RunDeployAll\" /f/GitHub/McpServerManager/build/*.cs)",
28+
"Bash(grep -n \"private.*DeployDirectorCore\\\\|private.*DeployWebUiCore\\\\|private.*DeployDesktopMsixCore\\\\|private.*DeployDesktopDebCore\" /f/GitHub/McpServerManager/build/*.cs)",
29+
"Bash(grep -n \"BuildDesktopDebCore\" /f/GitHub/McpServerManager/build/*.cs)",
30+
"Bash(grep -n \"BuildDesktopMsixCore\" /f/GitHub/McpServerManager/build/*.cs)",
31+
"Bash(dotnet run:*)",
32+
"Bash(find F:GitHubMcpServerManager -type f -name *.yaml -o -name *.yml)"
33+
]
34+
}
35+
}

nupkg/SharpNinja.McpServer.Director.nuspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
33
<metadata>
44
<id>SharpNinja.McpServer.Director</id>
5-
<version>0.5.1-42</version>
5+
<version>0.5.1</version>
66
<authors>SharpNinja</authors>
77
<description>CLI management tool for McpServer. Provides workspace management, agent orchestration, compliance policy editing, Keycloak OIDC auth, and an interactive Terminal.Gui TUI with 7 tabbed screens. 18 CLI commands via System.CommandLine.</description>
88
<packageTypes>
99
<packageType name="DotnetTool" />
1010
</packageTypes>
1111
</metadata>
1212
<files>
13-
<file src="E:\github\RequestTracker\src\McpServer.Director\bin\Release\net9.0\publish\**" target="tools/net9.0/any" />
13+
<file src="F:\GitHub\McpServerManager\.claude\worktrees\magical-ritchie\src\McpServer.Director\bin\Release\net9.0\publish\**" target="tools/net9.0/any" />
1414
</files>
1515
</package>

nupkg/SharpNinja.McpServer.Web.nuspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
33
<metadata>
44
<id>SharpNinja.McpServer.Web</id>
5-
<version>0.5.1-37</version>
5+
<version>0.5.1</version>
66
<authors>SharpNinja</authors>
77
<description>SharpNinja.McpServer.Web</description>
88
<packageTypes>
99
<packageType name="DotnetTool" />
1010
</packageTypes>
1111
</metadata>
1212
<files>
13-
<file src="E:\github\RequestTracker\src\McpServer.Web\bin\Release\net9.0\publish\**" target="tools/net9.0/any" />
13+
<file src="F:\GitHub\McpServerManager\.claude\worktrees\magical-ritchie\src\McpServer.Web\bin\Release\net9.0\publish\**" target="tools/net9.0/any" />
1414
</files>
1515
</package>

src/McpServer.Director/AgentApiClientAdapter.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
using McpServer.Client;
22
using McpServer.Client.Models;
3-
using McpServer.UI.Core.Messages;
4-
using McpServer.UI.Core.Services;
3+
using McpServerManager.UI.Core.Messages;
4+
using McpServerManager.UI.Core.Services;
55
using Microsoft.Extensions.Logging;
66
using Microsoft.Extensions.Logging.Abstractions;
77

8-
namespace McpServer.Director;
8+
namespace McpServerManager.Director;
99

1010
/// <summary>
1111
/// Director adapter for <see cref="IAgentApiClient"/> backed by <see cref="McpServerClient"/>.

src/McpServer.Director/AgentPoolApiClientAdapter.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
using McpServer.Client;
22
using McpServer.Client.Models;
3-
using McpServer.UI.Core.Messages;
4-
using McpServer.UI.Core.Services;
3+
using McpServerManager.UI.Core.Messages;
4+
using McpServerManager.UI.Core.Services;
55

6-
namespace McpServer.Director;
6+
namespace McpServerManager.Director;
77

88
/// <summary>
99
/// Director adapter for <see cref="IAgentPoolApiClient"/> backed by <see cref="McpServerClient"/>.

src/McpServer.Director/Auth/DirectorAuthOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace McpServer.Director.Auth;
1+
namespace McpServerManager.Director.Auth;
22

33
/// <summary>
44
/// Configuration options for Director CLI Keycloak OIDC authentication.

src/McpServer.Director/Auth/DirectorAuthorizationPolicyService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using McpServer.UI.Core.Authorization;
1+
using McpServerManager.UI.Core.Authorization;
22

3-
namespace McpServer.Director.Auth;
3+
namespace McpServerManager.Director.Auth;
44

55
/// <summary>
66
/// Director RBAC policy implementation for tab visibility and command authorization.

src/McpServer.Director/Auth/DirectorHostIdentityProvider.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using McpServer.UI.Core.Auth;
1+
using McpServerManager.UI.Core.Auth;
22

3-
namespace McpServer.Director.Auth;
3+
namespace McpServerManager.Director.Auth;
44

55
internal sealed class DirectorHostIdentityProvider : IHostIdentityProvider
66
{

src/McpServer.Director/Auth/DirectorRoleContext.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using McpServer.UI.Core.Authorization;
1+
using McpServerManager.UI.Core.Authorization;
22

3-
namespace McpServer.Director.Auth;
3+
namespace McpServerManager.Director.Auth;
44

55
/// <summary>
66
/// Director implementation of <see cref="IRoleContext"/>, sourced from the cached OIDC token.

0 commit comments

Comments
 (0)