Repository navigation
First stable release. Includes everything below that was planned as 0.2.0 (never published).
Added
- Refine with
/w+ <change>: changes this terminal's last command (or your edited version of it), up to 5 times, with the last exit status for "fix that". Direct mode asks[r]un, re[f]ine, [q]uit?. - Web lookup through tiny-browse, now a regular dependency (
@shubhamcodess/tiny-browse, used as a library in the same process). On by default, but only for a request the local model got wrong: it answeredSEARCH: …, or its answer still fails after the retries. Requests it gets right never touch the network, and neither does a command whose only problem is that its program isn't installed. At most one lookup per request.- Known reference pages (kubectl, helm, gcloud, az, gh, kind, kustomize, istioctl, argocd, eksctl) are read over plain HTTP, without Chrome or a search engine, and cached for 7 days.
- Rate limits: tiny-browse's shared per-engine budgets and your tiny-browse config apply; a blocked search is never retried, and when every engine refuses whatcmd pauses its searches for 15 minutes (
web search paused). /w+refinements reuse the web docs of the command they change instead of searching again.--web/--no-web,WHATCMD_WEB,webTimeoutMs(default 15 s).whatcmd doctorshows tiny-browse's checks (browser, engine budgets) and any pause.
- Shell shortcut: a spinner right after the typed request while whatcmd works (ASCII when the locale isn't UTF-8; Ctrl-C stops it). When nothing was generated, the next Enter on the unchanged line clears it so you can type again.
whatcmd doctorrewrites an installed hook file, so upgrades pick up hook changes.benchmarks/cases/17-cloud-cli.jsonl(40 kubectl, helm, gcloud, docker, kind, kustomize and gh cases), harness config D (web on), andnpm run eval:webfor a quick before/after.
Changed
- Requires Node.js 22 or newer (tiny-browse needs it; Node 21 is end of life).
webdefaults totrue. Setwhatcmd config set web falseto stay fully local.
Removed
webCommandsetting: tiny-browse is no longer started as a separate MCP server process.
npm: https://www.npmjs.com/package/@shubhamcodess/whatcmd/v/1.0.0