From 2b35d690b0bd885e0553dcb8f0b509f4d1afb8f6 Mon Sep 17 00:00:00 2001 From: can1357 Date: Wed, 19 Aug 2026 01:32:16 +0200 Subject: [PATCH] docs(coding-agent): align resolveUpdateTarget docstring with symlink-gated manager probes --- packages/coding-agent/src/cli/update-cli.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/coding-agent/src/cli/update-cli.ts b/packages/coding-agent/src/cli/update-cli.ts index c13200edf..a36af497c 100644 --- a/packages/coding-agent/src/cli/update-cli.ts +++ b/packages/coding-agent/src/cli/update-cli.ts @@ -657,9 +657,11 @@ export function resolveUpdateTargetFromPath( /** * Resolve how the running install should be updated. * - * `allowPackageManagers: false` skips the `bun pm bin -g` / `npm prefix -g` - * probes entirely — used for binary-only releases, where routing through a - * package manager is never valid and the probes would be wasted subprocesses. + * `allowPackageManagers: false` disables bun/npm routing — used for + * binary-only releases, where reinstalling through a package manager is never + * valid. The `bun pm bin -g` / `npm prefix -g` probes are then skipped unless + * the launcher is a symlink, whose bin dirs distinguish a manager launcher + * (taken over in place) from a foreign symlink (resolved to its real binary). * Homebrew/mise detection always runs: both managers install GitHub release * binaries and stay valid regardless of how the release is distributed. */