{"_id":"@amada-org/ai-cmd","_rev":"2-4d6b2786c7451ee229f652e697469adb","name":"@amada-org/ai-cmd","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@amada-org/ai-cmd","version":"1.0.0","keywords":["git","ai","cli"],"author":{"name":"Arkadiusz Klemenko"},"license":"MIT","_id":"@amada-org/ai-cmd@1.0.0","maintainers":[{"name":"amada-org","email":"arek.klemenko@gmail.com"}],"homepage":"https://github.com/alexiej/ai-cmd#readme","bugs":{"url":"https://github.com/alexiej/ai-cmd/issues"},"bin":{"ai-cmd":"dist/cli.js"},"dist":{"shasum":"fa52d5dfa113466ea71060cef47dbe6ea7acfc4a","tarball":"https://registry.npmjs.org/@amada-org/ai-cmd/-/ai-cmd-1.0.0.tgz","fileCount":22,"integrity":"sha512-Kfx/r8h4zq+Y8iDiY2TeYZWgbA8gB9+etDTflAPgxBO8UQ8EJidrn0ro3IszOVReLqU7YeREwXCw/buw951g/g==","signatures":[{"sig":"MEUCIQDRtxlqa5T0qzvWlYHwaoecEVfaUjq4hhWRR2y7qs+/ogIgVlQ34gNwUxhZ3a8+azsrF6/eUJkybmrl00E+UIAdSac=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69948},"main":"index.js","type":"module","gitHead":"69b0a7c4eae7bc24d36f1d34cc2b6ad6ce186411","scripts":{"build":"tsc && npm install -g .","start":"tsc && node --disable-warning DEP0040 ./dist/cli.js "},"_npmUser":{"name":"amada-org","email":"arek.klemenko@gmail.com"},"repository":{"url":"git+https://github.com/alexiej/ai-cmd.git","type":"git"},"_npmVersion":"10.2.4","description":"AI command-line tool with configuration and git commit features","directories":{},"_nodeVersion":"21.3.0","dependencies":{"boxen":"^8.0.1","chalk":"^5.3.0","figlet":"^1.8.0","openai":"^4.67.3","inquirer":"^12.0.0","ascii-art":"^2.8.5","commander":"^12.1.0","simple-git":"^3.27.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.3","@types/node":"^22.7.5","@types/figlet":"^1.7.0","@types/ascii-art":"^1.4.3"},"_npmOperationalInternal":{"tmp":"tmp/ai-cmd_1.0.0_1728658799751_0.9133148561026649","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.1.0":{"name":"@amada-org/ai-cmd","version":"1.1.0","keywords":["git","ai","cli"],"author":{"name":"Arkadiusz Klemenko"},"license":"MIT","_id":"@amada-org/ai-cmd@1.1.0","maintainers":[{"name":"amada-org","email":"arek.klemenko@gmail.com"}],"homepage":"https://github.com/alexiej/ai-cmd#readme","bugs":{"url":"https://github.com/alexiej/ai-cmd/issues"},"bin":{"ai-cmd":"dist/cli.js"},"dist":{"shasum":"d6023a6b58dd3f90804e1df2cedb1e6776456d9d","tarball":"https://registry.npmjs.org/@amada-org/ai-cmd/-/ai-cmd-1.1.0.tgz","fileCount":22,"integrity":"sha512-NXhWmPr8IdXSO4hBCaGZ+zLSC6BeUR3QaGrJ1bi4B13pSIHN+UlAioz456VjtySjK4IxmLVeCY8OBBvyL6ETuQ==","signatures":[{"sig":"MEUCIQCXtaI/FzsTYyGPmPFIoHYSHomXzrFeGk0YeidUcb20uwIgV9uwqVKzkaNIwkEuN2jZhtf48DSKR7eWLEE29bkRyRU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":70694},"main":"index.js","type":"module","gitHead":"1e16deaf9d6d91df37e42a8e770960851df7acc9","scripts":{"build":"tsc && npm install -g .","start":"tsc && node ./dist/cli.js "},"_npmUser":{"name":"amada-org","email":"arek.klemenko@gmail.com"},"repository":{"url":"git+https://github.com/alexiej/ai-cmd.git","type":"git"},"_npmVersion":"10.2.4","description":"AI command-line tool with configuration and git commit features","directories":{},"_nodeVersion":"21.3.0","dependencies":{"boxen":"^8.0.1","chalk":"^5.3.0","figlet":"^1.8.0","openai":"^4.67.3","inquirer":"^12.0.0","ascii-art":"^2.8.5","commander":"^12.1.0","simple-git":"^3.27.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.3","@types/node":"^22.7.5","@types/figlet":"^1.7.0","@types/ascii-art":"^1.4.3"},"_npmOperationalInternal":{"tmp":"tmp/ai-cmd_1.1.0_1728660336442_0.007632862402493945","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2024-10-11T14:59:59.647Z","modified":"2024-10-12T21:54:57.455Z","1.0.0":"2024-10-11T14:59:59.924Z","1.1.0":"2024-10-11T15:25:36.643Z"},"bugs":{"url":"https://github.com/alexiej/ai-cmd/issues"},"author":{"name":"Arkadiusz Klemenko"},"license":"MIT","homepage":"https://github.com/alexiej/ai-cmd#readme","keywords":["git","ai","cli"],"repository":{"url":"git+https://github.com/alexiej/ai-cmd.git","type":"git"},"description":"AI command-line tool with configuration and git commit features","maintainers":[{"name":"amada-org","email":"arek.klemenko@gmail.com"}],"readme":"# AI Command-line tool\n\nVersion: \t1.0.1\n\nThe AI Command-line Tool enhances your Git workflow by using AI models to automatically generate high-quality commit messages.\nCurrently, it supports OpenAI, with plans to expand support to other models in future releases.\nIt helps streamline the commit process by providing tailored, insightful messages\nbased on the changes in your repository, saving you time and ensuring consistent\ncommit formats.\n\nWith the AI Command-line Tool, you can:\n- Automatically generate conventional commit messages.\n- Easily configure and switch between models.\n\n\n## Features\n\n- **AI-powered commit messages**: Automatically generate detailed commit messages based on code changes.\n- **Support for multiple AI models**: Easily switch between OpenAI models.\n- **Integrated with Git**: Seamless interaction with Git for streamlined commit workflows.\n\n\n## Installation\n\nTo install the CLI tool globally, ensure you have Node.js installed, then run the following command:\n\n```bash\nnpm i @amada-org/ai-cmd\n```\n\n## Usage\n\n### Config Command\n\nTo configure the AI model run:\n\n```bash\nai-cmd config\n```\n\nThis will prompt you to select the AI model you want\n\n### Commit Command\n\nTo automatically generate a commit message and commit changes:\n\n```bash\nai-cmd commit\n```\n\nThis will analyze the changes in your Git repository, generate a commit message using the selected AI model, and commit the changes.\n\n**Example** generated commit message:\n\n```\nfeat: Add user authentication to the application\n\n- Implemented OAuth2 login flow.\n- Added user session management.\n- Fixed bugs related to session expiration.\n\nCloses #123\n```\n\n## Future improvements:\n\n- **Support for more AI models**: Expand support to other AI models beyond OpenAI, Claude, and Ollama.\n- **Review process for code**: Implement a feature that allows the AI to review code changes and suggest improvements.\n- **Image generation**: Add functionality for generating images or diagrams based on the project or commit context.\n\n## LICENCE\n\nMIT License\n\nCopyright (c) 2024 alexiej\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","readmeFilename":"README.md"}