NEW Workflows: agents follow the steps, you sign off. Read more →
Ulpi

Which Copy

PLUGIN

Answers the question that silently decides everything else: which copy of a command is the Ulpi process actually going to run?

by Hazem-Samak · v1.2.3

What it does

Answers the question that silently decides everything else: which copy of a command is the Ulpi process actually going to run? On a Mac the same tool can exist five times over — a Homebrew formula, an npm global install, a pyenv shim, a standalone download, and Ulpi's own bundled copy — and the name resolves to whichever one PATH reaches first, with no warning when that is the wrong one.

which_copy resolves one name against the PATH of the running Ulpi process and, separately, against the PATH your own login shell builds for a terminal (that shell is started from the system default PATH, not Ulpi's, so the entries it reports are its own), and says so when the two disagree. It also states, in every report, that Ulpi's terminal tool runs commands in a login shell whose PATH gains directories Ulpi adds — so it never claims the process PATH is the PATH a terminal command gets.

which_copy_scan sweeps the usual AI tools — python, python3, node, npm, npx, bun, pnpm, uv, pip3, pipx, git, gh, brew, ulpi, claude, codex, opencode, gemini, grok, aider, cursor-agent

Tools it adds

The tools an agent gets once this plugin is installed.

  • which_copy
  • which_copy_scan

How to set it up

  1. Then it gives a verdict in plain language: an older copy shadowing a newer one, a dead symlink earlier in PATH that the shell silently skips, Ulpi preferring its own bundle to yours, several copies whose versions were measured (the same version, the winner being the newest, versions that cannot honestly be ordered, copies that reported no version, copies the sweep did not ask, or copies it did not run), or nothing wrong at all.

Review notes

What an owner reads and accepts before the install is approved.

  • Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

More in Tools

All listings →