You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Install: measure dotnet tool install without --framework on Windows Arm64 and macOS Arm64 before the first release #20
The acquisition tests install the tool with dotnet tool install OpenCodeDotNet.Mcp --version <version> --tool-path <path> --configfile <config> --framework net10.0, against a feed that holds only this product's seven packages. The --framework net10.0 argument is required on two of the six supported hosts.
Same code except the argument, same day, hosted runners, .NET SDK 10.0.404:
Host
with --framework net10.0
without
win-arm64
pass
fail
osx-arm64
pass
fail
linux-arm64
pass
pass
win-x64, linux-x64, osx-x64
pass
pass
The failure on Windows Arm64:
Tool-path installation failed: Unhandled exception: One or more errors occurred. (microsoft.netcore.app.host.win-x64 is not found in NuGet feeds C:\a\opencode-mcp\opencode-mcp\artifacts\feed.)
macOS Arm64 fails the same way with microsoft.netcore.app.host.osx-x64.
Without the argument, the SDK asks for the x64 apphost pack on these two hosts. A feed that holds only this product's packages cannot supply it. With the argument, the SDK does not ask for it and installs the Arm64 implementation package. The cold dotnet dnx route has no such argument and passes on all six hosts.
What is not known
What does dotnet tool install OpenCodeDotNet.Mcpwithout--framework do on Windows Arm64 and macOS Arm64 when the apphost pack is available (nuget.org reachable)?
Does the installation succeed?
Which implementation package does it select, and which architecture runs afterwards: the native Arm64 entry, or an x64 one under emulation?
Is the installed command the same shim as with the argument?
Why it matters
The user-facing install command is written before the first release. It must be the command that was measured on these two hosts, with or without the argument.
Done when
The plain installation without --framework is measured on Windows Arm64 and macOS Arm64 with nuget.org reachable, and the result (exit code, selected package, running architecture) is recorded.
The README install command is written from that result.
The plain installation without --framework succeeds on both hosts when nuget.org is reachable, and it installs and runs the native Arm64 implementation.
Inputs: the seven packages of version 0.1.0-preview.1 from the native-package-feed of Native run 43542873558 (pull request #23), in a NuGet configuration with that feed and nuget.org. .NET SDK 10.0.404 in an Arm64 SDK process (dotnet --info: RID: osx-arm64 / RID: win-arm64, Architecture: arm64). Every install ran cold, with its own owned DOTNET_CLI_HOME and NuGet package, HTTP, plugin and scratch stores, so -g wrote into an owned directory; the real ~/.dotnet/tools was unchanged afterwards.
Hosts: macOS Arm64 (Apple M1, macOS 27.2) and the hosted windows-11-arm runner (run 43572437414, a temporary probe branch that is deleted after this record).
The installed command is the same shim with and without the argument: on macOS a symbolic link to .store/opencodedotnet.mcp/0.1.0-preview.1/opencodedotnet.mcp.osx-arm64/0.1.0-preview.1/tools/any/osx-arm64/opencode-mcp; on Windows a .cmd file that runs "%~dp0.store\opencodedotnet.mcp\0.1.0-preview.1\opencodedotnet.mcp.win-arm64\0.1.0-preview.1\tools\any\win-arm64\opencode-mcp.exe" %*.
Running architecture: the entry the shim launches is the Arm64 image (Mach-O CPU_TYPE_ARM64, PE machine 0xAA64), and its SHA-256 equals the command digest in the feed's evidence for that RID and no other. So no x64 entry runs under emulation.
It starts: each installed command, started with --transport stdio, answered a JSON-RPC request on standard output.
What follows
The README install command can be the plain dotnet tool install -g OpenCodeDotNet.Mcp --version <version> (and dnx, which already passed on all six hosts). It is written with the consumer documentation of the distribution work.
The acquisition tests keep --framework net10.0: they install from a feed that holds only this product's packages, where the argument is still needed on these two hosts.
The global install and the published channels are verified again on all six hosted RIDs against the real channels once they exist.
This issue stays open until the README carries the command.
Activity
Blind-Striker commentedon Nov 14, 2026
Measured (2026-11-14)
The plain installation without
--frameworksucceeds on both hosts when nuget.org is reachable, and it installs and runs the native Arm64 implementation.Inputs: the seven packages of version
0.1.0-preview.1from thenative-package-feedof Native run 43542873558 (pull request #23), in a NuGet configuration with that feed and nuget.org. .NET SDK 10.0.404 in an Arm64 SDK process (dotnet --info:RID: osx-arm64/RID: win-arm64,Architecture: arm64). Every install ran cold, with its own ownedDOTNET_CLI_HOMEand NuGet package, HTTP, plugin and scratch stores, so-gwrote into an owned directory; the real~/.dotnet/toolswas unchanged afterwards.Hosts: macOS Arm64 (Apple M1, macOS 27.2) and the hosted
windows-11-armrunner (run 43572437414, a temporary probe branch that is deleted after this record).dotnet tool install -g OpenCodeDotNet.Mcp --version 0.1.0-preview.1opencodedotnet.mcp.osx-arm64--tool-path <dir>opencodedotnet.mcp.osx-arm64--framework net10.0opencodedotnet.mcp.osx-arm64dotnet tool install -g OpenCodeDotNet.Mcp --version 0.1.0-preview.1opencodedotnet.mcp.win-arm64--tool-path <dir>opencodedotnet.mcp.win-arm64--framework net10.0opencodedotnet.mcp.win-arm64.store/opencodedotnet.mcp/0.1.0-preview.1/opencodedotnet.mcp.osx-arm64/0.1.0-preview.1/tools/any/osx-arm64/opencode-mcp; on Windows a.cmdfile that runs"%~dp0.store\opencodedotnet.mcp\0.1.0-preview.1\opencodedotnet.mcp.win-arm64\0.1.0-preview.1\tools\any\win-arm64\opencode-mcp.exe" %*.CPU_TYPE_ARM64, PE machine0xAA64), and its SHA-256 equals the command digest in the feed's evidence for that RID and no other. So no x64 entry runs under emulation.--transport stdio, answered a JSON-RPC request on standard output.What follows
dotnet tool install -g OpenCodeDotNet.Mcp --version <version>(anddnx, which already passed on all six hosts). It is written with the consumer documentation of the distribution work.--framework net10.0: they install from a feed that holds only this product's packages, where the argument is still needed on these two hosts.This issue stays open until the README carries the command.