npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

terminal-commander

v0.5.7

Published

Terminal Commander: local MCP-operated terminal/file signal channel with native Linux and Windows packages.

Readme

terminal-commander

npm root wrapper for Terminal Commander, a local MCP control plane for coding agents.

Install

npm install -g terminal-commander@latest

npm install outside CI attempts guarded setup for detected harnesses. CI and TC_NO_AUTO_SETUP=1 skip auto-setup.

Configure or repair harnesses explicitly:

terminal-commander setup harness

Interactive setup offers Code Mode, MCP full, and MCP compact. Enter selects Code Mode. Use --surface to make scripts select a specific surface.

Or target one provider:

terminal-commander setup harness --provider cursor
terminal-commander setup harness --provider codex-cli
terminal-commander setup harness --provider omp
terminal-commander setup harness --provider claude-code
terminal-commander setup harness --provider claude-desktop
terminal-commander setup harness --provider gemini
terminal-commander setup harness --provider grok
terminal-commander setup harness --provider kilo-code

Explicit provider selection also works before the harness creates a config file. Add --project <absolute-project-path> for project scope; Claude Desktop supports global configuration only. Grok Bot installations using Cursor should select cursor; grok selects Grok CLI.

Setup refreshes the complete launch command and arguments while retaining existing policy fields, custom environment values, and unrelated servers. Native launches use an absolute executable path and empty arguments. If no usable native adapter resolves, bootstrap defers registration without changing the configuration. Changed configs receive timestamped backups. Kilo uses its modern mcp/argv-array format; JSONC writes normalize formatting and remove comments.

See the harness configuration reference for Windows, Linux, WSL, and cloud-host paths, discovery, and reload steps.

Update

terminal-commander update

This runs npm install -g terminal-commander@latest.

At a terminal, update offers the same surface picker and Enter selects Code Mode. Agents and scripts can pass --surface code|mcp-full|mcp-compact. Unattended update with no flag keeps the configured surface. The command prints the installed version and reminds you to restart agent sessions, whose adapters the update stops.

If only the daemon restarts and the package version stays the same, an already-open Code Mode adapter can serve the next call on its existing connection. This was verified with v0.5.6 on Windows x64 and Linux x64 under WSL. A previous job can return a reconstructed status if its exit receipt survived. A job whose exit was never recorded returns JobLost.

A running v0.5.5 adapter rejects work with daemon_version_skew after the daemon is replaced by v0.5.6, even when both negotiate the same MCP revision. Restart the agent session so it launches the v0.5.6 adapter alongside the v0.5.6 daemon. In the same check, the old adapter made zero writes and the fresh adapter completed one write.

On Windows, update first runs a native scoped lock preflight. It asks matching daemons to exit, then terminates Terminal Commander binaries still running from the installed package. If one cannot be stopped, update stops and the installed version is unchanged. It does not invoke cmd.exe, PowerShell, taskkill, or downloaded scripts.

Commands

| Binary | Role | | --- | --- | | terminal-commander | Admin CLI: version, update, setup, doctor, native diagnostics | | terminal-commander-mcp | MCP stdio adapter launched by the LLM harness | | terminal-commanderd | Local daemon for IPC, probes, policy, buckets, and audit |

LLM Trust Contract

Code Mode is the default MCP surface. It exposes code_search, code_execute, and status. Use terminal-commander setup harness --surface code to refresh detected clients with an explicit Code Mode setting.

In Code Mode, code_search lists operation signatures without a live daemon. Call status to check daemon reachability, then invoke system_discover through code_execute for live capabilities and execution routes.

The admin CLI also refuses fake offline success. Daemon-backed inspection commands that are not wired to live daemon IPC exit 69 with an unavailable message instead of returning empty or not-found success.

Platform Packages

Optional platform dependencies:

  • @terminal-commander/linux-x64
  • @terminal-commander/linux-arm64
  • @terminal-commander/windows-x64

Windows uses the native @terminal-commander/windows-x64 package by default. The legacy Windows-to-WSL bridge is opt-in with TC_USE_LEGACY_WSL_BRIDGE=1.

Build Provenance

The platform packages supply prebuilt binaries. Source builds use the workspace toolchain pin.

Documentation

When a harness provides both native tools and Terminal Commander, the MCP adapter guides agents to run known fast, local work directly and use TC for supervision or bounded output. See the tool steering guide for the project routing table and Windows and WSL benchmark results.

Full README, architecture diagrams, and integration guides:

https://github.com/special-place-ai-heaven/terminal-commander/blob/main/README.md

License

PolyForm-Noncommercial-1.0.0