{"_id":"@cs50victor/tracer","name":"@cs50victor/tracer","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@cs50victor/tracer","module":"src/diff.tsx","type":"module","version":"0.0.1","private":false,"bin":{"tracer":"src/cli.tsx"},"repository":{"type":"git","url":"git+https://github.com/cs50victor/tracer.git"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"scripts":{"cli":"bun src/cli.tsx","cli:watch":"bun --watch src/cli.tsx","prepublishonly":"tsc"},"devDependencies":{"@types/bun":"1.3.1","typescript":"^5.9.3"},"dependencies":{"@opentui/core":"^0.1.45","@opentui/react":"^0.1.45","@shikijs/langs":"^3.15.0","@shikijs/themes":"^3.15.0","cac":"^6.7.14","diff":"^8.0.2","opentui-spinner":"^0.0.3","react":"^19.2.0","react-error-boundary":"^6.0.0","shiki":"^3.15.0","zustand":"^5.0.8"},"_id":"@cs50victor/tracer@0.0.1","gitHead":"e66f18e3fef07fd9e17fda2de8362fe52b636fc7","description":"Terminal UI for reviewing git diffs with intelligent navigation and AI-powered analysis.","bugs":{"url":"https://github.com/cs50victor/tracer/issues"},"homepage":"https://github.com/cs50victor/tracer#readme","_nodeVersion":"20.19.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-OXWw7LfyeCKhMjO4O1BxzWQobD9PHqq926HPHSTXrMNfx7kGpWSVA7AgbHy4CGnDDkXNuwasr2MrgwyrRoRczg==","shasum":"c0e9444131cb05b9b7b91f01d73a754c1ce9e9cf","tarball":"https://registry.npmjs.org/@cs50victor/tracer/-/tracer-0.0.1.tgz","fileCount":21,"unpackedSize":54173644,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cs50victor%2ftracer@0.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD8UJdsSzwot/JzXf1ERQgQihDcMyI98vrdlXoVvS3sagIgSf+WOJppEOyTa4OiOFa6qXsD2Wgzv0ePMnBgcd9D8uM="}]},"_npmUser":{"name":"cs50victor","email":"vic8orr@gmail.com"},"directories":{},"maintainers":[{"name":"cs50victor","email":"vic8orr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tracer_0.0.1_1763583706651_0.5536719734283817"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-19T20:21:46.586Z","0.0.1":"2025-11-19T20:21:47.473Z","modified":"2025-11-19T20:21:48.020Z"},"maintainers":[{"name":"cs50victor","email":"vic8orr@gmail.com"}],"description":"Terminal UI for reviewing git diffs with intelligent navigation and AI-powered analysis.","homepage":"https://github.com/cs50victor/tracer#readme","repository":{"type":"git","url":"git+https://github.com/cs50victor/tracer.git"},"bugs":{"url":"https://github.com/cs50victor/tracer/issues"},"readme":"# Tracer\n\nTerminal UI for reviewing git diffs with intelligent navigation and AI-powered analysis.\n\n## What it does\n\nSyntax-highlighted diff viewer with multiple navigation modes and optional AI classification of changes. Navigate by file, by hunk, or let AI sort changes by importance (breaking changes first, then features, fixes, etc).\n\n**Intelligent mode is optimized for large PRs/diffs** where semantic ordering and automatic prioritization save significant review time. For small changes (a few files), manual review is typically faster than waiting for AI analysis. The real value emerges when reviewing:\n- Large PRs with dozens of files\n- Unfamiliar codebases where you need context quickly\n- Complex refactors where understanding the critical path matters\n- Diffs where LLM-generated code needs efficient human verification\n\n## Usage\n\n```bash\n# View unstaged changes\ntracer\n\n# View staged changes\ntracer --staged\n\n# View specific commit\ntracer --commit HEAD~1\n\n# View git ref\ntracer main..feature-branch\n\n# AI-powered analysis (press 'm' to cycle to INTELLIGENT mode)\ntracer --model claude   # or --model codex\n\n# Pick files from another branch\ntracer pick feature-branch\n\n# Git difftool integration\ngit config --global diff.tool tracer\ngit config --global difftool.tracer.cmd 'tracer difftool \"$LOCAL\" \"$REMOTE\"'\ngit difftool\n```\n\n## Navigation\n\n- `m` - Cycle modes (FILE / HUNK / HUNK_ONLY / INTELLIGENT)\n- `ctrl+p` - Quick file search\n- Arrow keys - Navigate (behavior changes per mode)\n- `q` or `esc` - Quit\n\n---\n\n**Early experimentation:** This tool is in active exploration of how AI can reduce PR review time. Design ideas and implementation feedback are welcome.\n\nScaffolded from [critique](https://github.com/remorses/critique).\n","readmeFilename":"README.md","_rev":"1-ecd66a7dfd06a507d588cf26806b5929"}