Auto-capture CLI command history per-project with zero terminal interference. v2.0.1 — active development. Installs as global CLI tool via npm. Per-project isolation via .proj-track.json, smart filtering of noise/sensitive commands, instant replay by ID. Works with Bash and Zsh using PROMPT_COMMAND/preexec — no DEBUG trap footguns. Ships TypeScript types, requires Node >=18. Lightweight alternative to atuin, bashhub, or manual tracking.
npm install proj-trackVerified import paths — ran on the pinned version, not inferred.
Install globally, initialize in project, reload shell, auto-capture commands, list history, re-run by ID.
Use `npm install -g proj-track` and re-run `proj-track init` in each project.
Add `.proj-track.json` to `.gitignore` if sensitive commands are a concern, or rely on smart filtering.
Run `source ~/.bashrc` (or `source ~/.zshrc`) after `proj-track init`.
Use `import` syntax or dynamic import: `const projTrack = await import('proj-track')`.Prefix sensitive commands with a space (shell history ignore) or use explicit `# notrack` comment.
Run `npm install -g proj-track` and ensure npm global bin directory is in PATH.
Run `source ~/.bashrc` or `source ~/.zshrc` after install; add npm global bin to PATH if needed.
Use `import projTrack from 'proj-track'` (ESM only) or `const projTrack = await import('proj-track')`.