{"_id":"@atharvaspatil5/aish","_rev":"4-7f5fec3fcbfffa84d19d62f79cfc4501","name":"@atharvaspatil5/aish","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.1":{"name":"@atharvaspatil5/aish","version":"1.0.1","keywords":[],"author":{"name":"athPATIL247"},"license":"ISC","_id":"@atharvaspatil5/aish@1.0.1","maintainers":[{"name":"atharvaspatil5","email":"atharvaspatil247@gmail.com"}],"bin":{"ai":"bin/ai.js"},"dist":{"shasum":"7f8f97c787d97eacf2bdf631c11d7ea5f694db16","tarball":"https://registry.npmjs.org/@atharvaspatil5/aish/-/aish-1.0.1.tgz","fileCount":6,"integrity":"sha512-gU1ViloUCDyYOZzJyvdw6uChhLFHOYW+lbpUkYcYyeCkk/FtgOfZ98E+KgpAlWW1mH9Rw/0Ink8opbJUniWbWw==","signatures":[{"sig":"MEQCID64ncro6m2OtFPFGH9T1Im9aiYKuVYuAgo1wwv+P59MAiAEGaMqqNjltquCEKoA0TVzgPPgMzgQnto0BhDrknKixQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5443},"main":"index.js","type":"module","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"atharvaspatil5","email":"atharvaspatil247@gmail.com"},"_npmVersion":"11.11.0","description":"AI-powered CLI that converts natural language to shell commands","directories":{},"_nodeVersion":"25.7.0","dependencies":{"chalk":"^5.6.2","dotenv":"^17.4.0","groq-sdk":"^1.1.2","commander":"^14.0.3"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/aish_1.0.1_1775197010218_0.7200547897368401","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@atharvaspatil5/aish","version":"1.0.2","keywords":[],"author":{"name":"athPATIL247"},"license":"ISC","_id":"@atharvaspatil5/aish@1.0.2","maintainers":[{"name":"atharvaspatil5","email":"atharvaspatil247@gmail.com"}],"bin":{"ai":"bin/ai.js"},"dist":{"shasum":"3b9c92fd68a0a84100c5eefe4e15058740779531","tarball":"https://registry.npmjs.org/@atharvaspatil5/aish/-/aish-1.0.2.tgz","fileCount":6,"integrity":"sha512-kMunzLKvr2qxtzCUEvoC6A7QuWfVgMjVBbnHuZ/kRRlSrRcLRzFJhKEaVwQkF3/tRyV5AeLe0G5ZPOuAowZR2A==","signatures":[{"sig":"MEQCIBhskE6pM1CVf+cUMzvwNsojE9/IP+z7C49GTNzQFr/EAiBqngA/05s79vs8jVoESUcGaWW6h7b5oA3KZh5hpQ5qVw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5084},"main":"index.js","type":"module","gitHead":"53b3a1bec07ef108c3e3d253cbabb66894af8db1","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"atharvaspatil5","email":"atharvaspatil247@gmail.com"},"_npmVersion":"11.11.0","description":"AI-powered CLI that converts natural language to shell commands","directories":{},"_nodeVersion":"25.7.0","dependencies":{"chalk":"^5.6.2","dotenv":"^17.4.0","groq-sdk":"^1.1.2","commander":"^14.0.3"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/aish_1.0.2_1775198159580_0.7841837389528272","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@atharvaspatil5/aish","version":"1.0.3","keywords":[],"author":{"name":"athPATIL247"},"license":"ISC","_id":"@atharvaspatil5/aish@1.0.3","maintainers":[{"name":"atharvaspatil5","email":"atharvaspatil247@gmail.com"}],"bin":{"ai":"bin/ai.js"},"dist":{"shasum":"30704c32c75306d9e2eb16c4928ee360045dbe31","tarball":"https://registry.npmjs.org/@atharvaspatil5/aish/-/aish-1.0.3.tgz","fileCount":6,"integrity":"sha512-sJFm2tN232ekxFx+OA2HbJ2HP98m8XoW5mmgCt1UfQs+CVG4tIS7Wh0lvdKJ5lXxgd5OIuCgK9Za3+Iidj6DUw==","signatures":[{"sig":"MEUCIBSYw3l3u0md9mXwlz3an24eeilxzwB4plm4+lwn7hpBAiEAhdGbYMwCLpDtoYGfpEEqC6gvy+r0/Y4kRhW0ebZgbck=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5084},"main":"index.js","type":"module","gitHead":"c34cc6e21cecf4d3b6ff545fa1f02a4facb41795","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"atharvaspatil5","email":"atharvaspatil247@gmail.com"},"_npmVersion":"11.11.0","description":"AI-powered CLI that converts natural language to shell commands","directories":{},"_nodeVersion":"25.7.0","dependencies":{"chalk":"^5.6.2","dotenv":"^17.4.0","groq-sdk":"^1.1.2","commander":"^14.0.3"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/aish_1.0.3_1775198234841_0.1961899576048105","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@atharvaspatil5/aish","version":"1.0.4","description":"AI-powered CLI that converts natural language to shell commands","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":{"name":"athPATIL247"},"license":"ISC","bin":{"ai":"bin/ai.js"},"type":"module","dependencies":{"chalk":"^5.6.2","commander":"^14.0.3","dotenv":"^17.4.0","groq-sdk":"^1.1.2"},"gitHead":"cb08c049f2d9d54a4ba7a8f13749ff93f820d81f","_id":"@atharvaspatil5/aish@1.0.4","_nodeVersion":"25.7.0","_npmVersion":"11.11.0","dist":{"integrity":"sha512-2UuxfEJagHuOaGOr6RcFCfhBjSgyLntZ/ALCMbTCUgSwSKqNWEsGFwZI6YyoK6zrYVKliYVvGhebC5C4kDbcHw==","shasum":"4504ed260b7cb2cb7edd7202e95b2200ea0097af","tarball":"https://registry.npmjs.org/@atharvaspatil5/aish/-/aish-1.0.4.tgz","fileCount":6,"unpackedSize":5013,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCv/pUTXRr24Ca29N9LKTwQxmmhvHrdMYjZaPYq6zKRfAIgfhoFyV7rCN0qOx+tFDmULjZGNtPVHKTPniVAYCVjR6g="}]},"_npmUser":{"name":"atharvaspatil5","email":"atharvaspatil247@gmail.com"},"directories":{},"maintainers":[{"name":"atharvaspatil5","email":"atharvaspatil247@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/aish_1.0.4_1775198455434_0.7692746373489425"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-03T06:16:50.121Z","modified":"2026-04-03T06:40:55.702Z","1.0.1":"2026-04-03T06:16:50.365Z","1.0.2":"2026-04-03T06:35:59.716Z","1.0.3":"2026-04-03T06:37:14.969Z","1.0.4":"2026-04-03T06:40:55.586Z"},"author":{"name":"athPATIL247"},"license":"ISC","keywords":[],"description":"AI-powered CLI that converts natural language to shell commands","maintainers":[{"name":"atharvaspatil5","email":"atharvaspatil247@gmail.com"}],"readme":"# AI.sh\n\nAI.sh is a CLI tool that converts natural language into safe shell commands, powered by Groq LLM.\n\n## Install\n\n```bash\nnpm install -g @atharvaspatil5/aish\n```\n\n## Setup\n\nGet a free API key at [console.groq.com](https://console.groq.com), then create a `.env` file in your working directory:\n\n```env\nGROQ_API_KEY=your_groq_api_key\n```\n\n## Usage\n\n```bash\nai \"list files\"\nai \"delete node_modules\"\nai \"find files larger than 100MB\"\n```\n\n## Options\n\n```bash\n-y, --yes    skip confirmation prompt\n```\n\n## How it works\n\n1. Takes user input from CLI\n2. Sends it to Groq (LLM)\n3. Converts it into a shell command\n4. Validates the command for safety\n5. Asks for confirmation (optional)\n6. Executes the command\n\n## Example\n\n```bash\nai \"list all files\"\n# → ls\n\nai \"delete everything\"\n# → rm -i *\n```\n\n## Safety\n\n* Warns on risky operations (like file deletion)\n* Requires confirmation before execution\n* Dangerous commands always prompt, even with `-y`\n\n## Structure\n\n```\nbin/        CLI entry\nsrc/        core logic\n  llm.js\n  executor.js\n  index.js\n```\n\n## Notes\n\nUse carefully when executing destructive commands. The `.env` file must be present in the directory where you run `ai`.","readmeFilename":"README.md"}