KY.AI.Updater 1.3.0

Prefix Reserved
dotnet tool install --global KY.AI.Updater --version 1.3.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local KY.AI.Updater --version 1.3.0
                    
This package contains a .NET tool you can call from the shell/command line.
#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, because init and the Claude Code plugins run whatever ky-ai-ng resolves 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 --help can't be used for this: the tools answer it with their general help. Running its old init would 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:

  1. 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 installed ky-ai-updater --all for 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.

  2. Update the rest. ky-ai-updater --all discovers the installed ky-ai-* tools dynamically — from the dotnet global-tool store and from npm globals — and updates each by delegating to its own update command. 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 update schedules 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 / npm and to the other tools' update commands. Nothing is exposed off the machine.

See the project README for the full suite.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.3.0 114 10/24/2026
1.2.0 217 7/3/2026
1.1.0 152 6/29/2026