{"_id":"@abhaydesu/git-pilot","_rev":"6-c2f8c7d688a1b2375c7696edfd5ec705","name":"@abhaydesu/git-pilot","dist-tags":{"latest":"1.2.0"},"versions":{"1.0.0":{"name":"@abhaydesu/git-pilot","version":"1.0.0","keywords":[],"author":"","license":"ISC","_id":"@abhaydesu/git-pilot@1.0.0","maintainers":[{"name":"abhaydesu","email":"sketchologistabhay@gmail.com"}],"bin":{"git-pilot":"index.js"},"dist":{"shasum":"f192b1e1f5d9a5cd0d13497e9bbd60021eda99a4","tarball":"https://registry.npmjs.org/@abhaydesu/git-pilot/-/git-pilot-1.0.0.tgz","fileCount":2,"integrity":"sha512-J0tlsGcikXkBl8xxBpL7hWmcNwrDtY3mCJGItpqYa1iqCbBAnpCyGyXgtn2maOlhGX3kQnurTv0AMdJllKP4zg==","signatures":[{"sig":"MEYCIQCgVCC5kKImgaNYTkk6w3LoR/YYuakU4ErqZ/2y7J7NIwIhANTAFw5dJTgb9apVzBvCqnBu17SUZsjqrU+LBYLQJkIX","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5206},"main":"index.js","type":"module","gitHead":"48a77c85bf8ce7604b4b93345f137eb680002c6e","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"abhaydesu","email":"sketchologistabhay@gmail.com"},"_npmVersion":"10.9.3","description":"","directories":{},"_nodeVersion":"22.18.0","dependencies":{"ora":"^9.0.0","axios":"^1.12.2","chalk":"^5.6.2","execa":"^9.6.0","dotenv":"^17.2.2","inquirer":"^12.9.6","commander":"^14.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/git-pilot_1.0.0_1758050103669_0.29299281523742016","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@abhaydesu/git-pilot","version":"1.0.1","keywords":[],"author":"","license":"ISC","_id":"@abhaydesu/git-pilot@1.0.1","maintainers":[{"name":"abhaydesu","email":"sketchologistabhay@gmail.com"}],"bin":{"git-pilot":"index.js"},"dist":{"shasum":"8513bfcc0609d71e256a0318d3f788aeceb92322","tarball":"https://registry.npmjs.org/@abhaydesu/git-pilot/-/git-pilot-1.0.1.tgz","fileCount":2,"integrity":"sha512-uYBa2iVW0Xr1pn2G/zHRNODmdPNoOu9moieMx7O+S0DJx2q9MraLdq2miS9NZeB3wvGkhl8Yx2I09YFf7pRUUA==","signatures":[{"sig":"MEUCIE4uzV9Gpx5bpR5ffbkZ0i7IHUQUvaeIb2iRGnJ5wCQDAiEAyGA29iNuy7BAwpBm7GjZfC6ZZ27TMu4Hhaq0NAM2S7I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5030},"main":"index.js","type":"module","gitHead":"48a77c85bf8ce7604b4b93345f137eb680002c6e","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"abhaydesu","email":"sketchologistabhay@gmail.com"},"_npmVersion":"10.9.3","description":"","directories":{},"_nodeVersion":"22.18.0","dependencies":{"ora":"^9.0.0","axios":"^1.12.2","chalk":"^5.6.2","execa":"^9.6.0","dotenv":"^17.2.2","inquirer":"^12.9.6","commander":"^14.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/git-pilot_1.0.1_1758050906490_0.8385838919357262","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@abhaydesu/git-pilot","version":"1.0.2","keywords":[],"author":"","license":"ISC","_id":"@abhaydesu/git-pilot@1.0.2","maintainers":[{"name":"abhaydesu","email":"sketchologistabhay@gmail.com"}],"bin":{"git-pilot":"index.js"},"dist":{"shasum":"6663d43d9ec2078e686315770ef508f3ff002447","tarball":"https://registry.npmjs.org/@abhaydesu/git-pilot/-/git-pilot-1.0.2.tgz","fileCount":3,"integrity":"sha512-Fyrlo1AK+/G1s6FWrb6C89/kg2VyC4mzMG+wLlfesBBiSRu3XV94b7DRS0a/3lY9kuxeZRCqs/hWC4DP9PZDEQ==","signatures":[{"sig":"MEQCIH2JD663mbQWvvvogCPTwvrRh8TSyudn7YjG+ztCqpOeAiBEcJGbh9NLRYwe6SJnY5Gd89woL18Hcm0D0cLfNCCaOg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7172},"main":"index.js","type":"module","gitHead":"fdf66568d349d300f87c3cb27180e428768dcbfc","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"abhaydesu","email":"sketchologistabhay@gmail.com"},"_npmVersion":"10.9.3","description":"[![NPM Version](https://img.shields.io/npm/v/@abhaydesu/git-pilot)](https://www.npmjs.com/package/@abhaydesu/git-pilot)","directories":{},"_nodeVersion":"22.18.0","dependencies":{"ora":"^9.0.0","axios":"^1.12.2","chalk":"^5.6.2","execa":"^9.6.0","dotenv":"^17.2.2","inquirer":"^12.9.6","commander":"^14.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/git-pilot_1.0.2_1758063537554_0.030333260141628404","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@abhaydesu/git-pilot","version":"1.0.3","keywords":[],"author":"","license":"ISC","_id":"@abhaydesu/git-pilot@1.0.3","maintainers":[{"name":"abhaydesu","email":"sketchologistabhay@gmail.com"}],"bin":{"git-pilot":"index.js"},"dist":{"shasum":"46f5c14d50d2baf8347924a8a883b0daa9b184ce","tarball":"https://registry.npmjs.org/@abhaydesu/git-pilot/-/git-pilot-1.0.3.tgz","fileCount":3,"integrity":"sha512-rgl9iENNEPdFO4pjG1/IEcY9bdjvh7RnrTAdX5XUs2KQLHvtQbGe5FMly81dk/FEtKh7akj7HwK8VsEyeUgpBg==","signatures":[{"sig":"MEUCIQC2u2ZemZGm9NP86JF/xB/mz44dpPz9YaYOPxraVVGbEQIgI6U497YeMLg0sWmpzsGms2eV5Vl7TU3JdBMKt/hY6/M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7196},"main":"index.js","type":"module","gitHead":"fdf66568d349d300f87c3cb27180e428768dcbfc","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"abhaydesu","email":"sketchologistabhay@gmail.com"},"_npmVersion":"10.9.3","description":"[![NPM Version](https://img.shields.io/npm/v/@abhaydesu/git-pilot)](https://www.npmjs.com/package/@abhaydesu/git-pilot)","directories":{},"_nodeVersion":"22.18.0","dependencies":{"ora":"^9.0.0","axios":"^1.12.2","chalk":"^5.6.2","execa":"^9.6.0","dotenv":"^17.2.2","inquirer":"^12.9.6","commander":"^14.0.1"},"preferGlobal":true,"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/git-pilot_1.0.3_1758063819613_0.702793775848445","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@abhaydesu/git-pilot","version":"1.1.0","keywords":[],"author":"","license":"ISC","_id":"@abhaydesu/git-pilot@1.1.0","maintainers":[{"name":"abhaydesu","email":"sketchologistabhay@gmail.com"}],"bin":{"git-pilot":"index.js"},"dist":{"shasum":"a724e9ff95b8863eeaa2b9e6f48897f2854c752c","tarball":"https://registry.npmjs.org/@abhaydesu/git-pilot/-/git-pilot-1.1.0.tgz","fileCount":4,"integrity":"sha512-4bdS+R1OAQvtwDs5SvywW0cSf/rXexTAp83SRKXfEUxneD3k0QIOB/ucQCRJJMck5ssYqNB4F7pScdDRxlAZ8Q==","signatures":[{"sig":"MEUCIQCcov7CNVz9cxTRWeOzk6Dxcm/4Tzi+ZcH4Q+Dpx0h97gIgdCewggk2FaNnnE1eLkZV48GrCE2IjGjSkSJQaB9yARk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":98498},"main":"index.js","type":"module","gitHead":"887d21f62c92c2451b4cbe717e2bfbf99a68d3a9","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"abhaydesu","email":"sketchologistabhay@gmail.com"},"_npmVersion":"10.9.3","description":"<div align=\"center\" display=\"inline\">\r   <img width=\"30\" height=\"30\" alt=\"logo\" src=\"./public/logo-pilot.png\" />\r </div>","directories":{},"_nodeVersion":"22.18.0","dependencies":{"ora":"^9.0.0","axios":"^1.12.2","chalk":"^5.6.2","execa":"^9.6.0","dotenv":"^17.2.2","inquirer":"^12.9.6","commander":"^14.0.1"},"preferGlobal":true,"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/git-pilot_1.1.0_1758760717731_0.7592605192925665","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@abhaydesu/git-pilot","version":"1.2.0","description":"<div align=\"center\" display=\"inline\">\r   <img width=\"40\" height=\"40\" alt=\"logo\" src=\"./public/logo-dark-new.png\" />\r </div>","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"bin":{"git-pilot":"index.js"},"type":"module","keywords":[],"author":"","license":"ISC","preferGlobal":true,"dependencies":{"axios":"^1.12.2","chalk":"^5.6.2","commander":"^14.0.1","dotenv":"^17.2.2","execa":"^9.6.0","inquirer":"^12.9.6","ora":"^9.0.0"},"_id":"@abhaydesu/git-pilot@1.2.0","gitHead":"02f018582c8ac9cc5a75103bf8a915bb02c4481a","_nodeVersion":"22.18.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-dgvVMx9fV6dwumuQhLFWD4+tDtBtdHF2Zv5uxeT5JAjzOusmi5liFfVlQP+UytmAPXQnAvHxwm8OLkrrSJ92Aw==","shasum":"0c301d0b27376d79549f636c3d00b22257a2564f","tarball":"https://registry.npmjs.org/@abhaydesu/git-pilot/-/git-pilot-1.2.0.tgz","fileCount":4,"unpackedSize":122459,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICGBUWBhfQSNzKSky9uC6GLE5pD/oZrxHKwtNHnu0g9KAiBh0YyyNGUGYHdgdApRgf6zjyRGdAd+2ZyEdX+kLu/shg=="}]},"_npmUser":{"name":"abhaydesu","email":"sketchologistabhay@gmail.com"},"directories":{},"maintainers":[{"name":"abhaydesu","email":"sketchologistabhay@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/git-pilot_1.2.0_1761122116146_0.3369026045694452"},"_hasShrinkwrap":false}},"time":{"created":"2025-09-16T19:15:03.575Z","modified":"2025-10-22T08:35:16.571Z","1.0.0":"2025-09-16T19:15:03.884Z","1.0.1":"2025-09-16T19:28:26.683Z","1.0.2":"2025-09-16T22:58:57.729Z","1.0.3":"2025-09-16T23:03:39.781Z","1.1.0":"2025-09-25T00:38:37.942Z","1.2.0":"2025-10-22T08:35:16.396Z"},"license":"ISC","keywords":[],"description":"<div align=\"center\" display=\"inline\">\r   <img width=\"40\" height=\"40\" alt=\"logo\" src=\"./public/logo-dark-new.png\" />\r </div>","maintainers":[{"name":"abhaydesu","email":"sketchologistabhay@gmail.com"}],"readme":"<div align=\"center\" display=\"inline\">\r\n  <img width=\"40\" height=\"40\" alt=\"logo\" src=\"./public/logo-dark-new.png\" />\r\n</div>\r\n\r\n# Git Pilot \r\n\r\n[![NPM Version](https://img.shields.io/npm/v/@abhaydesu/git-pilot)](https://www.npmjs.com/package/@abhaydesu/git-pilot)\r\n\r\nAn AI-powered assistant that lives in your command line to streamline your Git workflow. Never write a commit message or look up a command again.\r\n\r\n---\r\n\r\n## The Problem\r\nRemembering complex commands like interactive rebase can be a pain. Writing well-formatted commit messages is a chore. Git is powerful, but its interface can sometimes get in the way of a fast workflow.\r\n\r\n**Git Pilot** solves this by acting as your intelligent copilot, translating your natural language intent into the exact commands and messages you need.\r\n\r\n## Features\r\n* **AI-Powered Commit Messages:** Analyzes your staged changes (`git diff`) and generates a perfect commit message following the Conventional Commits specification. Just run `git pilot commit <your_intent>`\r\n* **Natural Language to Git Command:** Translate plain English requests like \"squash the last 3 commits\" into the precise Git command. One simple `git pilot run <your_request>`\r\n* **Magic Undo:** Made a mistake? `git pilot undo` analyzes your recent history and suggests the exact command to reverse your last action.\r\n* **Intelligent Branching:** Describe your goal, and `git pilot branch` will create a clean, conventional branch name for you.\r\n* **Interactive & Safe:** Always asks for your confirmation before executing any command. You can also **edit** any AI suggestion to get it just right.\r\n\r\n## Installation\r\nMake sure you have Node.js (v18+) and Git installed. Then, run the following command to install Git Pilot globally:\r\n\r\n```bash\r\nnpm install -g @abhaydesu/git-pilot\r\n```\r\n\r\n### ◾ Usage\r\n\r\n#### *Generating a Commit Message*\r\nStage your files (git add .), then run git pilot commit. This command analyzes your staged changes and generates a conventional commit message.\r\n\r\n##### With an Intent\r\nProvide a brief description of your changes, and the AI will use it to write the commit message.\r\n\r\n```Bash\r\n\r\ngit pilot commit \"add new user profile page\"\r\n```\r\n\r\n##### Without an Intent\r\nIf you don't provide an intent, the AI will analyze the diff of your staged files and generate a message automatically.\r\n\r\n```Bash\r\n\r\ngit pilot commit\r\n```\r\nAfter running, you can accept, edit, or abort the suggested commit.\r\n\r\n\r\n#### *Running a Git Command*\r\nRun the run command with the task you want to perform. The tool will suggest a command and ask for confirmation.\r\n\r\n```Bash\r\n\r\ngit pilot run \"cherry-pick the last commit from the main branch\" \r\n```\r\n\r\n#### *Creating a New Branch*\r\nDescribe the purpose of your new branch, and let the AI generate a conventional name.\r\n\r\n```Bash\r\n\r\ngit pilot branch \"create a new feature for the auth system\"\r\n```\r\n\r\n#### *Undoing a Mistake*\r\n\r\nIf you've made a mistake (like a bad commit or merge), this command will analyze your history and suggest the safest way to undo it.\r\n\r\n```Bash\r\n\r\ngit pilot undo \r\n```\r\n\r\n### ◾ How It Works\r\nGit Pilot is a CLI tool that communicates with a secure backend API. This API uses Google's Gemini models to understand your intent and analyze code, keeping your API keys safe and off your local machine.\r\n\r\n### ◾ License\r\nThis project is licensed under the MIT License.","readmeFilename":"README.md"}