KY.AI.Updater
1.3.0
Prefix Reserved
dotnet tool install --global KY.AI.Updater --version 1.3.0
dotnet new tool-manifest
dotnet tool install --local KY.AI.Updater --version 1.3.0
#tool dotnet:?package=KY.AI.Updater&version=1.3.0
nuke :add-package KY.AI.Updater --version 1.3.0
KY.AI.Updater
One command to keep the whole KY.AI tool suite current. ky-ai-updater updates
itself first, then finds every other installed ky-ai-* tool and updates each one — so you don't
have to run ky-ai-ng update, ky-ai-dotnet update, ky-ai-browser update, … by hand.
dotnet tool install --global KY.AI.Updater
Usage
ky-ai-updater # update ky-ai-updater itself, then every other installed ky-ai-* tool
ky-ai-updater --all # update only the OTHER installed ky-ai-* tools (skip self)
ky-ai-updater list # show which ky-ai-* tools are installed (and how)
ky-ai-updater init # wire every ky-ai-* tool on PATH into your agent, asking once
Just run ky-ai-updater — that's the whole story.
Wiring all tools at once
ky-ai-updater init finds every ky-ai-* command on your PATH, asks once, and then runs each
tool's own init --agent <agent> -y. The wiring logic stays in the tools (the shared InitCommand),
so this command only orchestrates. Options: --agent <claude|cursor|vscode>, --no-plugin,
--dir <path>, -y.
- Tools are found on
PATH, not in the global-tool store like the update is, becauseinitand the Claude Code plugins run whateverky-ai-ngresolves to, and that can be a local build. - A tool too old to know the plugin wiring is skipped with a hint to update first. The probe is
<tool> init --print-agent, which arrived with the plugin wiring and also yields the agent default.init --helpcan't be used for this: the tools answer it with their general help. Running its oldinitwould write the per-project wiring next to the other tools' plugins.
How it works
A running process can't replace its own files while it's running (a hard rule on Windows, and not worth assuming elsewhere). So the update runs in two phases:
Self-update. The work is handed to a separate step that waits for the current process to exit, runs
dotnet tool update --global KY.AI.Updater --no-cache, and then re-invokes the freshly installedky-ai-updater --allfor everything else. On Windows that step is a new console window (the file lock there is real); on macOS/Linux the binary is replaced in place, so it runs inline and you watch it happen.Update the rest.
ky-ai-updater --alldiscovers the installedky-ai-*tools dynamically — from the dotnet global-tool store and from npm globals — and updates each by delegating to its ownupdatecommand. That's deliberate: each tool already knows how it was installed (dotnet vs npm) and stops its own running instances first so the files aren't locked. Keeping that logic in the tool, not duplicated here, means a tool added to the suite later is picked up with no change to the updater.
On Windows, each tool's own
updateschedules its real work in a new window and returns immediately, so you'll see a window per tool — let them finish.
--no-cache matters for the dotnet path: without it, dotnet tool update consults NuGet's local
HTTP cache and can report "already up to date" for a while after a new version ships. Disabling the
cache forces a fresh feed query and the real latest version.
Notes
- Stand-alone by design: this tool references nothing else in the suite (not even
KY.AI.Serve), so the one tool whose job is to replace the others carries no shared, lockable dependencies. - It does no network or MCP work of its own — it only shells out to
dotnet/npmand to the other tools'updatecommands. Nothing is exposed off the machine.
See the project README for the full suite.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.