dsh-which: Command Resolution Forensics — See Who Wins and Who Gets Blocked on PATH

dsh-which is a DeepSeek Harness plugin designed for command resolution forensics: it reports which file a given name actually resolves to, same-named copies shadowed on the PATH, duplicate and invalid PATH entries, as well as optional version probe comparisons. It provides four tools—which_resolve, which_path, which_env, and which_sweep—and does not rewrite the PATH. The installation command is `dsh plugin add` followed by the GitHub repository URL; an optional `cordis.patch.yml` configuration file can set probe timeouts and runtimes. It is ideal for environment diagnostics in scenarios involving multiple runtimes, shims, and a chaotic PATH; it runs with the permissions of the current dsh process, so please review the MIT-licensed source code before installation.

Read More