Skip to content

Commit 6c5d78b

Browse files
authored
Merge pull request #7 from Litenova-Solutions/fix/mcp-registry-description
fix: v2.0.0 release blockers (NuGet pack + MCP description)
2 parents 6ad340e + 476ab5e commit 6c5d78b

2 files changed

Lines changed: 21 additions & 3 deletions

File tree

build/pack-aot.ps1

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,30 @@ foreach ($rid in $Rids) {
6363
<tags>fuse;nativeaot;dotnet-tool</tags>
6464
</metadata>
6565
<files>
66-
<file src="tools/**" target="tools" />
66+
<file src="tools/**" target="" />
6767
</files>
6868
</package>
6969
"@ | Set-Content -Path $nuspecPath -Encoding UTF8
7070

71-
dotnet nuget pack $nuspecPath -OutputDirectory $outputDir -NoDefaultExcludes
71+
# `dotnet nuget` has no `pack` verb. Pack the nuspec through a stub SDK
72+
# project that points at it, which works with only the .NET SDK present
73+
# (no nuget.exe) on Windows and Linux alike.
74+
$stubProject = Join-Path $stageDir "$runtimePackageId.pack.csproj"
75+
@"
76+
<Project Sdk="Microsoft.NET.Sdk">
77+
<PropertyGroup>
78+
<TargetFramework>net10.0</TargetFramework>
79+
<IncludeBuildOutput>false</IncludeBuildOutput>
80+
<IncludeSymbols>false</IncludeSymbols>
81+
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
82+
<NuspecFile>$runtimePackageId.nuspec</NuspecFile>
83+
<NuspecBasePath>$stageDir</NuspecBasePath>
84+
</PropertyGroup>
85+
</Project>
86+
"@ | Set-Content -Path $stubProject -Encoding UTF8
87+
88+
dotnet pack $stubProject --configuration Release --output $outputDir
89+
if ($LASTEXITCODE -ne 0) { throw "Packing $runtimePackageId failed." }
7290
Write-Host "Packed $runtimePackageId to $outputDir"
7391
}
7492

mcp-registry/server.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
33
"name": "io.github.litenova-solutions/fuse",
44
"title": "Fuse",
5-
"description": "Codebase context optimizer for AI-assisted workflows. Fuses source files into token-efficient output with .NET/C# skeleton, focus, change scoping, and pattern detection.",
5+
"description": "Token-efficient .NET codebase context for AI coding agents: skeleton, scoping, change-aware fusion.",
66
"version": "2.0.0",
77
"repository": {
88
"url": "https://github.com/Litenova-Solutions/Fuse",

0 commit comments

Comments
 (0)