Repository navigation
Add Onde.Code as a NuGet .NET tool - #8
Merged
Merged
Conversation
Onde.Cli, SiGit.Code and SmbCloud.* are on NuGet; onde-code was the odd one out. packaging/nuget/onde-code is a launcher that picks the bundled binary for the host and passes stdio through, so ACP over a pipe and the terminal UI both still see the real handles. release-nuget.yml runs on the same v* tag as the npm and GitHub releases. It builds the five targets only (no Windows arm64, and the launcher says so), builds just the onde-code bin so the test-only fake-mcp-server stays out of the package, and publishes through NuGet trusted publishing. The nuget.org policy and the NUGET_USER secret have to exist before the first release. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
paydii
approved these changes
Nov 9, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
Onde.Code, a .NET tool that bundles theonde-codebinaries, so the NuGet IDs matchOnde.Cli,SiGit.CodeandSmbCloud.*.packaging/nuget/onde-codeholds the launcher, csproj and README. The launcher picks the bundled binary for the host and inherits stdio, so ACP over a pipe and the terminal UI see the real handles. On Windows arm64 it exits with a clear message, since there is no build for it.release-nuget.ymlruns on the samev*tag asrelease-npm.yml. It checks the tag againstCargo.toml, builds the five targets with--bin onde-code(sofake-mcp-serverstays out of the package), checks the static CRT on the Windows binary, smoke-tests the install on three OSes, and publishes with NuGet trusted publishing.docs/install.md, a badge and install line in the README, and a paragraph under Releases in AGENTS.md.Before the first publish:
release-nuget.yml, with the scope "Push new packages and package versions".NUGET_USERrepo secret needs the nuget.org profile name.The package can't be published for v1.1.1, because
packaging/nuget/doesn't exist at that tag. The first NuGet publish ships with the next release tag.Tested locally on macOS arm64: built the release binary, packed it, installed the tool into a temp
--tool-path, and ranonde-code --version(prints 1.1.1) through the shim. A bad flag returns the same exit code through the shim as running the binary directly.actionlintis clean on the new workflow.