{"_id":"@ainative/ai-kit-cli","_rev":"9-e9f9aa9d7c4ef695459ed4d22caf0d47","name":"@ainative/ai-kit-cli","dist-tags":{"alpha":"0.1.1-alpha.0","latest":"0.2.0-alpha.0"},"versions":{"0.1.0-alpha.0":{"name":"@ainative/ai-kit-cli","version":"0.1.0-alpha.0","keywords":["ainative","ai","llm","typescript","ai-agents","ai-primitives","ainative-developer","cli","scaffold","generator","template","developer-tools","code-generation","claude","claude-code","openai","anthropic"],"author":{"name":"AINative Studio"},"license":"MIT","_id":"@ainative/ai-kit-cli@0.1.0-alpha.0","maintainers":[{"name":"ainative-studio","email":"toby@rely.ventures"}],"homepage":"https://github.com/AINative-Studio/ai-kit#readme","bugs":{"url":"https://github.com/AINative-Studio/ai-kit/issues"},"bin":{"aikit":"dist/index.js","ai-kit":"dist/index.js"},"dist":{"shasum":"5fe388dc1470c01c0a5361adb96915e975b18b08","tarball":"https://registry.npmjs.org/@ainative/ai-kit-cli/-/ai-kit-cli-0.1.0-alpha.0.tgz","fileCount":9,"integrity":"sha512-mRGiOx89nHvds5Ww9iSTTGL0L9ERZqijN0jIJ7w/WVhDMSPtJInJzuRWtJR67Tr6Ef0Lcskk5IZU4xOchrG0uw==","signatures":[{"sig":"MEQCICG5Ny00uPa31gEAoXwkidbhqScjp3MyZ6PQ+vfDRs3AAiAvdYvTDm6mCg6GQ0T7C57t6BFRBEXVjFEUEgvPmABH0A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":857544},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"fc76d30b210657f175234126d6c0edbaa71d4140","scripts":{"dev":"tsx watch src/index.ts","lint":"eslint src","test":"vitest","build":"tsup src/index.ts --format cjs,esm --dts --clean","clean":"rm -rf dist","test:ui":"vitest --ui","type-check":"tsc --noEmit","test:coverage":"vitest --coverage","prepublishOnly":"pnpm build"},"_npmUser":{"name":"ainative-studio","email":"toby@rely.ventures"},"repository":{"url":"git+https://github.com/AINative-Studio/ai-kit.git","type":"git","directory":"packages/cli"},"_npmVersion":"10.9.4","description":"AI Kit - CLI tool for scaffolding and managing AI-powered applications","directories":{},"_nodeVersion":"22.21.0","dependencies":{"ora":"^7.0.1","tar":"^6.2.0","conf":"^12.0.0","glob":"^10.3.10","yaml":"^2.8.1","boxen":"^7.1.1","chalk":"^5.3.0","degit":"^2.8.4","execa":"^8.0.1","dotenv":"^16.3.1","listr2":"^8.0.0","semver":"^7.5.4","fs-extra":"^11.2.0","inquirer":"^9.2.12","commander":"^11.1.0","handlebars":"^4.7.8","node-fetch":"^3.3.2","update-notifier":"^7.0.0","validate-npm-package-name":"^5.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","tsup":"^8.0.1","memfs":"^4.6.0","vitest":"^1.1.0","@types/tar":"^6.1.11","@vitest/ui":"^1.1.0","typescript":"^5.3.3","@types/node":"^20.10.5","@types/semver":"^7.5.6","@types/fs-extra":"^11.0.4","@types/inquirer":"^9.0.7","@vitest/coverage-v8":"^1.1.0","@types/update-notifier":"^6.0.8","@types/validate-npm-package-name":"^4.0.2"},"_npmOperationalInternal":{"tmp":"tmp/ai-kit-cli_0.1.0-alpha.0_1763685358680_0.17305558772981366","host":"s3://npm-registry-packages-npm-production"}},"0.1.1-alpha.0":{"name":"@ainative/ai-kit-cli","version":"0.1.1-alpha.0","keywords":["ainative","ai","llm","typescript","ai-agents","ai-primitives","ainative-developer","cli","scaffold","generator","template","developer-tools","code-generation","claude","claude-code","openai","anthropic"],"author":{"name":"AINative Studio"},"license":"MIT","_id":"@ainative/ai-kit-cli@0.1.1-alpha.0","maintainers":[{"name":"ainative-studio","email":"toby@rely.ventures"}],"homepage":"https://github.com/AINative-Studio/ai-kit#readme","bugs":{"url":"https://github.com/AINative-Studio/ai-kit/issues"},"bin":{"aikit":"dist/index.js","ai-kit":"dist/index.js"},"dist":{"shasum":"b7af575e0ba7e67b633f579eb5546a5c2a34c57c","tarball":"https://registry.npmjs.org/@ainative/ai-kit-cli/-/ai-kit-cli-0.1.1-alpha.0.tgz","fileCount":9,"integrity":"sha512-ANKa84HTnIj2NAyyL+0aU0dTEzEHUg5Etqj5h+rR5STKht+zXJbq0arPjnHCuBCn14YG/mANl8ZBnNklQLgtPg==","signatures":[{"sig":"MEUCIQC2uJFM7oVMOm4eKWLXYAtReRM+WuitDF9l/WiPfBzhEwIgLg/p7wvVhpLkz5752GvBUJjGAgla2gPFXrWTbUYUMls=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":866835},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"dc8dc4a4951e8951a407b2c28d26fcda12bf373d","scripts":{"dev":"tsx watch src/index.ts","lint":"eslint src","test":"vitest","build":"tsup src/index.ts --format cjs,esm --dts --clean","clean":"rm -rf dist","test:ui":"vitest --ui","type-check":"tsc --noEmit","test:coverage":"vitest --coverage","prepublishOnly":"pnpm build"},"_npmUser":{"name":"ainative-studio","email":"toby@rely.ventures"},"repository":{"url":"git+https://github.com/AINative-Studio/ai-kit.git","type":"git","directory":"packages/cli"},"_npmVersion":"10.9.4","description":"AI Kit - CLI tool for scaffolding and managing AI-powered applications","directories":{},"_nodeVersion":"22.21.0","dependencies":{"ora":"^7.0.1","tar":"^6.2.0","conf":"^12.0.0","glob":"^10.3.10","yaml":"^2.8.1","boxen":"^7.1.1","chalk":"^5.3.0","degit":"^2.8.4","execa":"^8.0.1","dotenv":"^16.3.1","listr2":"^8.0.0","semver":"^7.5.4","fs-extra":"^11.2.0","inquirer":"^9.2.12","commander":"^11.1.0","handlebars":"^4.7.8","node-fetch":"^3.3.2","update-notifier":"^7.0.0","validate-npm-package-name":"^5.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsx":"^4.7.0","tsup":"^8.0.1","memfs":"^4.6.0","vitest":"^1.1.0","@types/tar":"^6.1.11","@vitest/ui":"^1.1.0","typescript":"^5.3.3","@types/node":"^20.10.5","@types/semver":"^7.5.6","@types/fs-extra":"^11.0.4","@types/inquirer":"^9.0.7","@vitest/coverage-v8":"^1.1.0","@types/update-notifier":"^6.0.8","@types/validate-npm-package-name":"^4.0.2"},"_npmOperationalInternal":{"tmp":"tmp/ai-kit-cli_0.1.1-alpha.0_1763756006594_0.44817445221432006","host":"s3://npm-registry-packages-npm-production"}},"0.1.1-alpha.1":{"name":"@ainative/ai-kit-cli","version":"0.1.1-alpha.1","keywords":["ainative","ai","llm","typescript","ai-agents","ai-primitives","ainative-developer","cli","scaffold","generator","template","developer-tools","code-generation","claude","claude-code","openai","anthropic"],"author":{"name":"AINative Studio"},"license":"MIT","_id":"@ainative/ai-kit-cli@0.1.1-alpha.1","maintainers":[{"name":"ainative-studio","email":"toby@rely.ventures"}],"homepage":"https://www.ainative.studio/ai-kit","bugs":{"url":"https://github.com/AINative-Studio/ai-kit/issues"},"bin":{"aikit":"dist/index.js","ai-kit":"dist/index.js"},"dist":{"shasum":"889842b3d4cea85283e2f827ec363a30551cc6e6","tarball":"https://registry.npmjs.org/@ainative/ai-kit-cli/-/ai-kit-cli-0.1.1-alpha.1.tgz","fileCount":9,"integrity":"sha512-vhIKM0rI576eya2/ErOC/SjOjSl+p/bbNvSCuCiwqaRfHBnyvSrAxmXcBqHq1lmk+0fyJCtLNzDgf99DmqNv8Q==","signatures":[{"sig":"MEYCIQDJRSadrbp2uGZJDoCJBw3Zto8dexaH0Hf0RcsRtKtX8AIhANFZJktVrVDEORqWYKPis6mEOrqptb2nCdqkSB/Rs9lN","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":868431},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"c86a0a4e05f6630293a646e7b556c68ec92ef78c","scripts":{"dev":"tsx watch src/index.ts","lint":"eslint src","test":"vitest","build":"tsup src/index.ts --format cjs,esm --dts --clean","clean":"rm -rf dist","test:ui":"vitest --ui","type-check":"tsc --noEmit","test:coverage":"vitest --coverage","prepublishOnly":"pnpm build"},"_npmUser":{"name":"ainative-studio","email":"toby@rely.ventures"},"repository":{"url":"git+https://github.com/AINative-Studio/ai-kit.git","type":"git","directory":"packages/cli"},"_npmVersion":"10.9.4","description":"AI Kit - CLI tool for scaffolding and managing AI-powered applications","directories":{},"_nodeVersion":"22.21.0","dependencies":{"ora":"^7.0.1","tar":"^6.2.0","conf":"^12.0.0","glob":"^10.3.10","yaml":"^2.8.1","boxen":"^7.1.1","chalk":"^5.3.0","degit":"^2.8.4","execa":"^8.0.1","dotenv":"^16.3.1","listr2":"^8.0.0","semver":"^7.5.4","fs-extra":"^11.2.0","inquirer":"^9.2.12","commander":"^11.1.0","handlebars":"^4.7.8","node-fetch":"^3.3.2","update-notifier":"^7.0.0","validate-npm-package-name":"^5.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","tsup":"^8.0.1","memfs":"^4.6.0","vitest":"^1.1.0","@types/tar":"^6.1.11","@vitest/ui":"^1.1.0","typescript":"^5.3.3","@types/node":"^20.10.5","@types/semver":"^7.5.6","@types/fs-extra":"^11.0.4","@types/inquirer":"^9.0.7","@vitest/coverage-v8":"^1.1.0","@types/update-notifier":"^6.0.8","@types/validate-npm-package-name":"^4.0.2"},"_npmOperationalInternal":{"tmp":"tmp/ai-kit-cli_0.1.1-alpha.1_1765478502018_0.06269942964708397","host":"s3://npm-registry-packages-npm-production"}},"0.1.1-alpha.2":{"name":"@ainative/ai-kit-cli","version":"0.1.1-alpha.2","keywords":["ainative","ai","llm","typescript","ai-agents","ai-primitives","ainative-developer","cli","scaffold","generator","template","developer-tools","code-generation","claude","claude-code","openai","anthropic"],"author":{"name":"AINative Studio"},"license":"MIT","_id":"@ainative/ai-kit-cli@0.1.1-alpha.2","maintainers":[{"name":"ainative-studio","email":"toby@rely.ventures"}],"homepage":"https://www.ainative.studio/ai-kit","bugs":{"url":"https://github.com/AINative-Studio/ai-kit/issues"},"bin":{"aikit":"dist/index.js","ai-kit":"dist/index.js"},"dist":{"shasum":"35c18a5afba7f7a428f564b9be7cdf09cceae7df","tarball":"https://registry.npmjs.org/@ainative/ai-kit-cli/-/ai-kit-cli-0.1.1-alpha.2.tgz","fileCount":9,"integrity":"sha512-BlcD8AgYTmmPP8K/bWA6wk9wYX9oQwIIJEXbw5mQRAxwdXy4SHZ220nPfR+9AgPIDOpgwyqEuh8wRNzkt0Hl9A==","signatures":[{"sig":"MEQCIHk3U+IK85VOXJfk5eFH5hNO7XsqaLl0YsFtn7tXPAn1AiBiKpCOTsp2u8UN99u0FRZ/31c31PYgHd8F6divwYfCUA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":868431},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"86819866d5fbdf5307907817a09a3e26f12f1419","scripts":{"dev":"tsx watch src/index.ts","lint":"eslint src","test":"vitest","build":"tsup src/index.ts --format cjs,esm --dts --clean","clean":"rm -rf dist","test:ui":"vitest --ui","type-check":"tsc --noEmit","test:coverage":"vitest --coverage","prepublishOnly":"pnpm build"},"_npmUser":{"name":"ainative-studio","email":"toby@rely.ventures"},"repository":{"url":"git+https://github.com/AINative-Studio/ai-kit.git","type":"git","directory":"packages/cli"},"_npmVersion":"10.9.4","description":"AI Kit - CLI tool for scaffolding and managing AI-powered applications","directories":{},"_nodeVersion":"22.21.0","dependencies":{"ora":"^7.0.1","tar":"^6.2.0","conf":"^12.0.0","glob":"^10.3.10","yaml":"^2.8.1","boxen":"^7.1.1","chalk":"^5.3.0","degit":"^2.8.4","execa":"^8.0.1","dotenv":"^16.3.1","listr2":"^8.0.0","semver":"^7.5.4","fs-extra":"^11.2.0","inquirer":"^9.2.12","commander":"^11.1.0","handlebars":"^4.7.8","node-fetch":"^3.3.2","update-notifier":"^7.0.0","validate-npm-package-name":"^5.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","tsup":"^8.0.1","memfs":"^4.6.0","vitest":"^1.1.0","@types/tar":"^6.1.11","@vitest/ui":"^1.1.0","typescript":"^5.3.3","@types/node":"^20.10.5","@types/semver":"^7.5.6","@types/fs-extra":"^11.0.4","@types/inquirer":"^9.0.7","@vitest/coverage-v8":"^1.1.0","@types/update-notifier":"^6.0.8","@types/validate-npm-package-name":"^4.0.2"},"_npmOperationalInternal":{"tmp":"tmp/ai-kit-cli_0.1.1-alpha.2_1765478991536_0.018314250091900908","host":"s3://npm-registry-packages-npm-production"}},"0.1.1-alpha.3":{"name":"@ainative/ai-kit-cli","version":"0.1.1-alpha.3","keywords":["ainative","ai","llm","typescript","ai-agents","ai-primitives","ainative-developer","cli","scaffold","generator","template","developer-tools","code-generation","claude","claude-code","openai","anthropic"],"author":{"name":"AINative Studio"},"license":"MIT","_id":"@ainative/ai-kit-cli@0.1.1-alpha.3","maintainers":[{"name":"ainative-studio","email":"toby@rely.ventures"}],"homepage":"https://www.ainative.studio/ai-kit","bugs":{"url":"https://github.com/AINative-Studio/ai-kit/issues"},"bin":{"aikit":"dist/index.js","ai-kit":"dist/index.js"},"dist":{"shasum":"72406883fc30d7643070bead4ecdb2a8411715fa","tarball":"https://registry.npmjs.org/@ainative/ai-kit-cli/-/ai-kit-cli-0.1.1-alpha.3.tgz","fileCount":9,"integrity":"sha512-Oi6KauxF5QBLlYbZ9mZ1yKvGa8T/jB8JsfK0yJenl2DgsusZXPX27BySMSqSOvhncwkieS43j1aDNo8JfnSMug==","signatures":[{"sig":"MEUCIQDduCltdZCl43eIXvIwOPsGK9GISCHXesuEsGPMiJVRKwIgJ+km7XvBfZ+NS0Zny1U3v3XIsiFHa36o4qFQfj46QDw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":868191},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"86819866d5fbdf5307907817a09a3e26f12f1419","scripts":{"dev":"tsx watch src/index.ts","lint":"eslint src","test":"vitest","build":"tsup src/index.ts --format cjs,esm --dts --clean","clean":"rm -rf dist","test:ui":"vitest --ui","type-check":"tsc --noEmit","test:coverage":"vitest --coverage","prepublishOnly":"pnpm build"},"_npmUser":{"name":"ainative-studio","email":"toby@rely.ventures"},"repository":{"url":"git+https://github.com/AINative-Studio/ai-kit.git","type":"git","directory":"packages/cli"},"_npmVersion":"10.9.4","description":"AI Kit - CLI tool for scaffolding and managing AI-powered applications","directories":{},"_nodeVersion":"22.21.0","dependencies":{"ora":"^7.0.1","tar":"^6.2.0","conf":"^12.0.0","glob":"^10.3.10","yaml":"^2.8.1","boxen":"^7.1.1","chalk":"^5.3.0","degit":"^2.8.4","execa":"^8.0.1","dotenv":"^16.3.1","listr2":"^8.0.0","semver":"^7.5.4","fs-extra":"^11.2.0","inquirer":"^9.2.12","commander":"^11.1.0","handlebars":"^4.7.8","node-fetch":"^3.3.2","update-notifier":"^7.0.0","validate-npm-package-name":"^5.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","tsup":"^8.0.1","memfs":"^4.6.0","vitest":"^1.1.0","@types/tar":"^6.1.11","@vitest/ui":"^1.1.0","typescript":"^5.3.3","@types/node":"^20.10.5","@types/semver":"^7.5.6","@types/fs-extra":"^11.0.4","@types/inquirer":"^9.0.7","@vitest/coverage-v8":"^1.1.0","@types/update-notifier":"^6.0.8","@types/validate-npm-package-name":"^4.0.2"},"_npmOperationalInternal":{"tmp":"tmp/ai-kit-cli_0.1.1-alpha.3_1765479505589_0.5436507346263053","host":"s3://npm-registry-packages-npm-production"}},"0.1.1-alpha.4":{"name":"@ainative/ai-kit-cli","version":"0.1.1-alpha.4","keywords":["ainative","ai","llm","typescript","ai-agents","ai-primitives","ainative-developer","cli","scaffold","generator","template","developer-tools","code-generation","claude","claude-code","openai","anthropic"],"author":{"name":"AINative Studio"},"license":"MIT","_id":"@ainative/ai-kit-cli@0.1.1-alpha.4","maintainers":[{"name":"ainative-studio","email":"toby@rely.ventures"}],"homepage":"https://www.ainative.studio/ai-kit","bugs":{"url":"https://github.com/AINative-Studio/ai-kit/issues"},"bin":{"aikit":"dist/index.js","ai-kit":"dist/index.js"},"dist":{"shasum":"0a2fc883de4d838a9878164ce939a0b8ee6dba97","tarball":"https://registry.npmjs.org/@ainative/ai-kit-cli/-/ai-kit-cli-0.1.1-alpha.4.tgz","fileCount":9,"integrity":"sha512-CdtcDAx8Y2xJfxc2cfO2fLcs6MD/9/EaXeO0CoyvUzhIs/0LdzvfyGYBy8U4fqbo0xHpd7q9+Y3ZTnNTAtgJOw==","signatures":[{"sig":"MEUCIQDlEfKOT+KuuS717YM1thZwR1zgPWGTKpUGlFH+RpcoTQIgL20E/LO14emVyzHLLYx3oO8pAMnmcrsSmP8v++KhmWg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":872994},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"376c79c328e632c7387ba8c6b05e97b4b74b7c51","scripts":{"dev":"tsx watch src/index.ts","lint":"eslint src","test":"vitest","build":"tsup src/index.ts --format cjs,esm --dts --clean","clean":"rm -rf dist","test:ui":"vitest --ui","type-check":"tsc --noEmit","test:coverage":"vitest --coverage","prepublishOnly":"pnpm build"},"_npmUser":{"name":"ainative-studio","email":"toby@rely.ventures"},"repository":{"url":"git+https://github.com/AINative-Studio/ai-kit.git","type":"git","directory":"packages/cli"},"_npmVersion":"10.9.4","description":"AI Kit - CLI tool for scaffolding and managing AI-powered applications","directories":{},"_nodeVersion":"22.21.0","dependencies":{"ora":"^7.0.1","tar":"^6.2.0","conf":"^12.0.0","glob":"^10.3.10","yaml":"^2.8.1","boxen":"^7.1.1","chalk":"^5.3.0","degit":"^2.8.4","execa":"^8.0.1","dotenv":"^16.3.1","listr2":"^8.0.0","semver":"^7.5.4","fs-extra":"^11.2.0","inquirer":"^9.2.12","commander":"^11.1.0","handlebars":"^4.7.8","node-fetch":"^3.3.2","update-notifier":"^7.0.0","validate-npm-package-name":"^5.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","tsup":"^8.0.1","memfs":"^4.6.0","vitest":"^1.1.0","@types/tar":"^6.1.11","@vitest/ui":"^1.1.0","typescript":"^5.3.3","@types/node":"^20.10.5","@types/semver":"^7.5.6","@types/fs-extra":"^11.0.4","@types/inquirer":"^9.0.7","@vitest/coverage-v8":"^1.1.0","@types/update-notifier":"^6.0.8","@types/validate-npm-package-name":"^4.0.2"},"_npmOperationalInternal":{"tmp":"tmp/ai-kit-cli_0.1.1-alpha.4_1765481023717_0.8261487462828492","host":"s3://npm-registry-packages-npm-production"}},"0.1.1-alpha.5":{"name":"@ainative/ai-kit-cli","version":"0.1.1-alpha.5","keywords":["ainative","ai","llm","typescript","ai-agents","ai-primitives","ainative-developer","cli","scaffold","generator","template","developer-tools","code-generation","claude","claude-code","openai","anthropic"],"author":{"name":"AINative Studio"},"license":"MIT","_id":"@ainative/ai-kit-cli@0.1.1-alpha.5","maintainers":[{"name":"ainative-studio","email":"toby@rely.ventures"}],"homepage":"https://www.ainative.studio/ai-kit","bugs":{"url":"https://github.com/AINative-Studio/ai-kit/issues"},"bin":{"aikit":"dist/index.js","ai-kit":"dist/index.js"},"dist":{"shasum":"6d0b6990f04dc329e67c91dc65fa567993fdb25e","tarball":"https://registry.npmjs.org/@ainative/ai-kit-cli/-/ai-kit-cli-0.1.1-alpha.5.tgz","fileCount":9,"integrity":"sha512-0D6kApunGuDT+46JlxZX/5cklU1i8IUaWeFCH9KOx50bW+drn2kwZOeLxnKT/ag5GOWKIaZm6lScbDCwLwbGAQ==","signatures":[{"sig":"MEUCIQDl4BF4dVVMm75B7kh4j/sjWo/qfkGBtrfw7Jwc/3C3FAIgB8Nuza5MWvGjOgSiV7qx/iL3P6znvkdSZKqQc2Mv48s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":878220},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"ae4c238a5b2f4d165ad0415aa32bb06d0b5ad137","scripts":{"dev":"tsx watch src/index.ts","lint":"eslint src","test":"vitest","build":"tsup src/index.ts --format cjs,esm --dts --clean","clean":"rm -rf dist","test:ui":"vitest --ui","type-check":"tsc --noEmit","test:coverage":"vitest --coverage","prepublishOnly":"pnpm build"},"_npmUser":{"name":"ainative-studio","email":"toby@rely.ventures"},"repository":{"url":"git+https://github.com/AINative-Studio/ai-kit.git","type":"git","directory":"packages/cli"},"_npmVersion":"10.9.4","description":"AI Kit - CLI tool for scaffolding and managing AI-powered applications","directories":{},"_nodeVersion":"22.21.0","dependencies":{"ora":"^7.0.1","tar":"^6.2.0","conf":"^12.0.0","glob":"^10.3.10","yaml":"^2.8.1","boxen":"^7.1.1","chalk":"^5.3.0","degit":"^2.8.4","execa":"^8.0.1","dotenv":"^16.3.1","listr2":"^8.0.0","semver":"^7.5.4","fs-extra":"^11.2.0","inquirer":"^9.2.12","commander":"^11.1.0","handlebars":"^4.7.8","node-fetch":"^3.3.2","update-notifier":"^7.0.0","validate-npm-package-name":"^5.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","tsup":"^8.0.1","memfs":"^4.6.0","vitest":"^1.1.0","@types/tar":"^6.1.11","@vitest/ui":"^1.1.0","typescript":"^5.3.3","@types/node":"^20.10.5","@types/semver":"^7.5.6","@types/fs-extra":"^11.0.4","@types/inquirer":"^9.0.7","@vitest/coverage-v8":"^1.1.0","@types/update-notifier":"^6.0.8","@types/validate-npm-package-name":"^4.0.2"},"_npmOperationalInternal":{"tmp":"tmp/ai-kit-cli_0.1.1-alpha.5_1765482318796_0.9392213586714331","host":"s3://npm-registry-packages-npm-production"}},"0.2.0-alpha.0":{"name":"@ainative/ai-kit-cli","version":"0.2.0-alpha.0","description":"AI Kit - CLI tool for scaffolding and managing AI-powered applications","main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"bin":{"aikit":"dist/index.js","ai-kit":"dist/index.js"},"scripts":{"build":"tsup src/index.ts --format cjs,esm --dts --clean","dev":"tsx watch src/index.ts","test":"vitest run","test:coverage":"vitest --coverage","test:ui":"vitest --ui","type-check":"tsc --noEmit","lint":"eslint src","clean":"rm -rf dist","prepublishOnly":"pnpm build"},"keywords":["ainative","ai","llm","typescript","ai-agents","ai-primitives","ainative-developer","cli","scaffold","generator","template","developer-tools","code-generation","claude","claude-code","openai","anthropic"],"author":{"name":"AINative Studio"},"license":"MIT","homepage":"https://ainative.studio/ai-kit","repository":{"type":"git","url":"git+https://github.com/AINative-Studio/ai-kit.git","directory":"packages/cli"},"bugs":{"url":"https://github.com/AINative-Studio/ai-kit/issues"},"dependencies":{"boxen":"^7.1.1","chalk":"^5.3.0","commander":"^11.1.0","conf":"^12.0.0","degit":"^2.8.4","dotenv":"^16.3.1","execa":"^8.0.1","fs-extra":"^11.2.0","glob":"^10.3.10","handlebars":"^4.7.8","inquirer":"^9.2.12","listr2":"^8.0.0","node-fetch":"^3.3.2","ora":"^7.0.1","semver":"^7.5.4","tar":"^6.2.0","update-notifier":"^7.0.0","validate-npm-package-name":"^5.0.0","yaml":"^2.8.1"},"devDependencies":{"@types/fs-extra":"^11.0.4","@types/inquirer":"^9.0.7","@types/node":"^20.10.5","@types/semver":"^7.5.6","@types/tar":"^6.1.11","@types/update-notifier":"^6.0.8","@types/validate-npm-package-name":"^4.0.2","@vitest/coverage-v8":"^1.1.0","@vitest/ui":"^1.1.0","memfs":"^4.6.0","tsup":"^8.0.1","tsx":"^4.7.0","typescript":"^5.3.3","vitest":"^1.1.0"},"engines":{"node":">=18.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_id":"@ainative/ai-kit-cli@0.2.0-alpha.0","gitHead":"d6b72c3dc5155c1f9ed5cf03652ec41ab173eeda","_nodeVersion":"22.21.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-CHM+4X91TZ+CJkjUr68EXjy4ZL4D0QEB9I5xyyn29kaDsQbbtUInYtktyTG7fJ414iJU0iFCiR6OuCw8iEipIg==","shasum":"550a935539cba75bb8636b95aa3a4ead59139c6c","tarball":"https://registry.npmjs.org/@ainative/ai-kit-cli/-/ai-kit-cli-0.2.0-alpha.0.tgz","fileCount":9,"unpackedSize":955885,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEMb54l3fzkRbNCiI1LbNTC/AkBg6s86izLwDJMVGB4VAiEA9dSUfvG13y3SeyQHh0AAH5MlZP6Oc7awAfpMKQFF1Fs="}]},"_npmUser":{"name":"ainative-studio","email":"toby@rely.ventures"},"directories":{},"maintainers":[{"name":"ainative-studio","email":"toby@rely.ventures"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ai-kit-cli_0.2.0-alpha.0_1765567556989_0.609461458906434"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-21T00:35:58.589Z","modified":"2025-12-12T19:25:57.410Z","0.1.0-alpha.0":"2025-11-21T00:35:58.920Z","0.1.1-alpha.0":"2025-11-21T20:13:26.861Z","0.1.1-alpha.1":"2025-12-11T18:41:42.187Z","0.1.1-alpha.2":"2025-12-11T18:49:51.733Z","0.1.1-alpha.3":"2025-12-11T18:58:25.750Z","0.1.1-alpha.4":"2025-12-11T19:23:43.918Z","0.1.1-alpha.5":"2025-12-11T19:45:18.969Z","0.2.0-alpha.0":"2025-12-12T19:25:57.190Z"},"bugs":{"url":"https://github.com/AINative-Studio/ai-kit/issues"},"author":{"name":"AINative Studio"},"license":"MIT","homepage":"https://ainative.studio/ai-kit","keywords":["ainative","ai","llm","typescript","ai-agents","ai-primitives","ainative-developer","cli","scaffold","generator","template","developer-tools","code-generation","claude","claude-code","openai","anthropic"],"repository":{"type":"git","url":"git+https://github.com/AINative-Studio/ai-kit.git","directory":"packages/cli"},"description":"AI Kit - CLI tool for scaffolding and managing AI-powered applications","maintainers":[{"name":"ainative-studio","email":"toby@rely.ventures"}],"readme":"# @ainative/ai-kit-cli\n\nOfficial CLI tool for the AI Kit framework - scaffold projects, add features, and manage your AI-powered applications with Claude.\n\n[![npm version](https://badge.fury.io/js/@ainative%2Fai-kit-cli.svg)](https://www.npmjs.com/package/@ainative/ai-kit-cli)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n## Features\n\n- 🚀 **Quick scaffolding** - Create production-ready AI projects in seconds\n- 📦 **12+ Templates** - Choose from Next.js, React, Vue, Svelte, Express, and more\n- 🎨 **Interactive prompts** - Intuitive CLI experience with smart defaults\n- 🔧 **Feature generation** - Add components, agents, tools, and routes on-demand\n- ⚡ **Dev server** - Start development with automatic environment validation\n- 🏗️ **Build & Deploy** - Production builds and multi-platform deployment\n- 🔄 **Upgrade system** - Keep dependencies up-to-date with automated upgrades\n- 🧪 **Testing support** - Built-in test runner integration\n- 🐳 **Docker support** - Generate Dockerfiles and container configurations\n- 📖 **Rich documentation** - Generated README and inline comments\n\n## Installation\n\n### Global Installation (Recommended)\n\n```bash\nnpm install -g @ainative/ai-kit-cli\n\n# Or with pnpm\npnpm add -g @ainative/ai-kit-cli\n\n# Or with yarn\nyarn global add @ainative/ai-kit-cli\n```\n\n### One-time Usage (npx)\n\n```bash\nnpx @ainative/ai-kit-cli create my-app\n```\n\n### Migration from Old Package Name\n\nIf you previously installed `@aikit/cli`, please uninstall it first:\n\n```bash\nnpm uninstall -g @aikit/cli\nnpm install -g @ainative/ai-kit-cli\n```\n\n## Quick Start\n\nCreate a new AI Kit project:\n\n```bash\naikit create my-ai-app\n```\n\nThis will prompt you to:\n1. Choose a template (Next.js, React, Express, etc.)\n2. Select features to include\n3. Choose TypeScript or JavaScript\n4. Select package manager (pnpm, npm, yarn)\n5. Initialize git repository\n6. Install dependencies\n\n## Commands\n\n### `aikit create`\n\nCreate a new AI Kit project from a template.\n\n**Usage:**\n\n```bash\naikit create [project-name] [options]\n```\n\n**Options:**\n\n- `-t, --template <template>` - Template to use (see Templates section)\n- `--typescript` - Use TypeScript (default: true)\n- `--no-typescript` - Use JavaScript instead\n- `-p, --package-manager <pm>` - Package manager (npm, yarn, pnpm)\n- `--git` - Initialize git repository (default: true)\n- `--no-git` - Skip git initialization\n- `--install` - Install dependencies (default: true)\n- `--no-install` - Skip dependency installation\n- `-y, --yes` - Skip prompts and use defaults\n\n**Examples:**\n\n```bash\n# Interactive mode\naikit create my-app\n\n# With specific template\naikit create my-app --template nextjs-chat\n\n# With all options\naikit create my-app \\\n  --template express-api \\\n  --typescript \\\n  --package-manager pnpm \\\n  --git \\\n  --install\n\n# Skip prompts\naikit create my-app --yes\n\n# JavaScript instead of TypeScript\naikit create my-app --no-typescript\n```\n\n### `aikit add`\n\nAdd features to an existing AI Kit project.\n\n**Usage:**\n\n```bash\naikit add [feature] [options]\n```\n\n**Features:**\n\n- `component` - React/Vue/Svelte component\n- `agent` - AI agent with tools and prompts\n- `tool` - Custom tool for agents\n- `route` - API route/endpoint\n- `test` - Test file\n\n**Options:**\n\n- `-t, --type <type>` - Type of feature to add\n- `-n, --name <name>` - Name of the feature\n- `-p, --path <path>` - Path where to create the feature\n\n**Examples:**\n\n```bash\n# Interactive mode\naikit add\n\n# Add a component\naikit add component --name UserProfile\n\n# Add an agent\naikit add agent --name DataAnalyzer --path agents\n\n# Add a tool\naikit add tool --name WebSearchTool\n\n# Add an API route\naikit add route --name users --path api\n\n# Add a test file\naikit add test --name utils\n```\n\n### `aikit test`\n\nRun tests for your AI Kit project.\n\n**Usage:**\n\n```bash\naikit test [path] [options]\n```\n\n**Options:**\n\n- `-w, --watch` - Run tests in watch mode\n- `-c, --coverage` - Generate coverage report\n- `--ui` - Open Vitest UI\n- `-f, --filter <pattern>` - Filter tests by pattern\n- `-r, --reporter <reporter>` - Test reporter (default, verbose, json)\n\n**Examples:**\n\n```bash\n# Run all tests\naikit test\n\n# Run specific test file\naikit test src/components/Button.test.ts\n\n# Watch mode\naikit test --watch\n\n# With coverage\naikit test --coverage\n\n# Open UI\naikit test --ui\n\n# Filter tests\naikit test --filter \"user profile\"\n```\n\n### `aikit dev`\n\nStart development server.\n\n**Usage:**\n\n```bash\naikit dev [options]\n```\n\n**Options:**\n\n- `-p, --port <port>` - Port to run on (default: 3000)\n- `-H, --host <host>` - Host to run on (default: localhost)\n- `--https` - Use HTTPS\n- `--open` - Open browser automatically\n\n**Examples:**\n\n```bash\n# Start dev server\naikit dev\n\n# Custom port\naikit dev --port 4000\n\n# Custom host\naikit dev --host 0.0.0.0\n\n# With HTTPS\naikit dev --https\n\n# Open browser\naikit dev --open\n```\n\n### `aikit build`\n\nBuild your AI Kit project for production.\n\n**Usage:**\n\n```bash\naikit build [options]\n```\n\n**Options:**\n\n- `--production` - Build for production (default: true)\n- `--analyze` - Analyze bundle size\n- `--sourcemap` - Generate source maps\n- `--no-typecheck` - Skip type checking\n\n**Examples:**\n\n```bash\n# Production build\naikit build\n\n# With bundle analysis\naikit build --analyze\n\n# With source maps\naikit build --sourcemap\n\n# Skip type checking\naikit build --no-typecheck\n```\n\n### `aikit deploy`\n\nDeploy your AI Kit project.\n\n**Usage:**\n\n```bash\naikit deploy [options]\n```\n\n**Options:**\n\n- `-p, --platform <platform>` - Deployment platform (vercel, railway, docker, netlify)\n- `--prod` - Deploy to production\n- `--env <environment>` - Environment to deploy to\n\n**Supported Platforms:**\n\n- **Vercel** - Recommended for Next.js applications\n- **Railway** - Full-stack applications with database\n- **Docker** - Containerized deployments\n- **Netlify** - Static sites and serverless functions\n\n**Examples:**\n\n```bash\n# Interactive platform selection\naikit deploy\n\n# Deploy to Vercel\naikit deploy --platform vercel --prod\n\n# Deploy to Railway\naikit deploy --platform railway --env production\n\n# Build Docker image\naikit deploy --platform docker\n\n# Deploy to Netlify\naikit deploy --platform netlify\n```\n\n### `aikit upgrade`\n\nUpgrade AI Kit dependencies to the latest version.\n\n**Usage:**\n\n```bash\naikit upgrade [options]\n```\n\n**Options:**\n\n- `--latest` - Upgrade to latest versions (including breaking changes)\n- `--check` - Check for available updates without upgrading\n- `-i, --interactive` - Choose which packages to upgrade\n\n**Examples:**\n\n```bash\n# Upgrade to compatible versions\naikit upgrade\n\n# Check for updates\naikit upgrade --check\n\n# Upgrade to latest (including breaking changes)\naikit upgrade --latest\n\n# Interactive mode\naikit upgrade --interactive\n```\n\n### `aikit prompt` ⭐ NEW\n\nTest, compare, and optimize AI prompts with real-time feedback and analytics.\n\n**Sub-commands:**\n\n- `aikit prompt test` - Test a single prompt\n- `aikit prompt compare` - Compare multiple prompts side-by-side\n- `aikit prompt optimize` - AI-powered prompt optimization\n- `aikit prompt batch` - Test prompts in batch mode\n- `aikit prompt history` - View and analyze test history\n\n---\n\n#### `aikit prompt test`\n\nTest a single prompt with real-time streaming feedback.\n\n**Usage:**\n\n```bash\naikit prompt test <config> [options]\n```\n\n**Options:**\n\n- `-p, --prompt <id>` - Specific prompt ID to test\n- `-i, --input <text>` - Input text for the prompt\n- `-m, --model <name>` - Model to use (gpt-4, claude-3-sonnet, etc.)\n- `--stream` - Enable streaming output (default: true)\n- `--test-cases` - Run all test cases from config\n- `--save` - Save results to history\n\n**Examples:**\n\n```bash\n# Test prompt with interactive input\naikit prompt test prompts/customer-support.yaml\n\n# Test specific prompt variant\naikit prompt test prompts/support.yaml --prompt v2-enhanced\n\n# Test with CLI input\naikit prompt test prompts/support.yaml --input \"How do I reset my password?\"\n\n# Test with different model\naikit prompt test prompts/support.yaml --model claude-3-opus\n\n# Run all test cases from config\naikit prompt test prompts/support.yaml --test-cases\n\n# Save results to history\naikit prompt test prompts/support.yaml --save\n```\n\n**Output:**\n\n```\n🧪 Testing Prompt\n\nConfig: prompts/customer-support.yaml\n\n✔ Prompt tested successfully (1250ms)\n\n📊 Metrics:\n──────────────────────────────────────────────────\nTokens: 342\nCost: $0.0034\nLatency: 1250ms\n──────────────────────────────────────────────────\n\n📝 Output:\n\nI'd be happy to help you reset your password...\n```\n\n---\n\n#### `aikit prompt compare`\n\nCompare 2-4 prompts side-by-side to find the best performer.\n\n**Usage:**\n\n```bash\naikit prompt compare <config1> <config2> [...configs] [options]\n```\n\n**Options:**\n\n- `-i, --input <text>` - Input text to test all prompts\n- `-m, --model <name>` - Model to use for all prompts\n- `-t, --test-cases <file>` - File with test cases (one per line)\n- `-o, --output <file>` - Export comparison results\n- `-f, --format <type>` - Output format (json, csv, markdown)\n- `--save` - Save results to history\n\n**Examples:**\n\n```bash\n# Compare two prompt versions\naikit prompt compare \\\n  prompts/support-v1.yaml \\\n  prompts/support-v2.yaml\n\n# Compare with specific input\naikit prompt compare \\\n  prompts/support-v1.yaml \\\n  prompts/support-v2.yaml \\\n  --input \"I need a refund\"\n\n# Compare with test cases file\naikit prompt compare \\\n  prompts/v1.yaml \\\n  prompts/v2.yaml \\\n  prompts/v3.yaml \\\n  --test-cases test-inputs.txt\n\n# Export results\naikit prompt compare \\\n  prompts/v1.yaml \\\n  prompts/v2.yaml \\\n  --output comparison.json \\\n  --format json\n```\n\n**Output:**\n\n```\n🔍 Comparing 2 prompts\n\nTesting: Customer Support v1\n✔ Prompt tested successfully (1150ms)\n\nTesting: Customer Support v2\n✔ Prompt tested successfully (980ms)\n\n📊 Comparison Results\n\n════════════════════════════════════════════════════════════════════════════════\nMetric               v1-basic         v2-enhanced\n────────────────────────────────────────────────────────────────────────────────\nTokens              342              298 (-12.9%)\nCost                $0.0034          $0.0030 (-11.8%)\nLatency             1150ms           980ms (-14.8%)\n════════════════════════════════════════════════════════════════════════════════\n\n🏆 Overall Winner: v2-enhanced\n```\n\n---\n\n#### `aikit prompt optimize`\n\nAI-powered prompt analysis and optimization with actionable suggestions.\n\n**Usage:**\n\n```bash\naikit prompt optimize <config> [options]\n```\n\n**Options:**\n\n- `--auto-test` - Automatically test optimization\n- `-o, --output <file>` - Save optimized prompt to file\n- `--save` - Save results to history\n\n**Examples:**\n\n```bash\n# Analyze and optimize\naikit prompt optimize prompts/draft.yaml\n\n# With automatic testing\naikit prompt optimize prompts/draft.yaml --auto-test\n\n# Save optimized version\naikit prompt optimize prompts/draft.yaml --output prompts/optimized.yaml\n\n# Save to history\naikit prompt optimize prompts/draft.yaml --save\n```\n\n**Output:**\n\n```\n🔧 Analyzing prompt for optimization...\n\nFound 5 optimization suggestions:\n\n1. [HIGH] structure: Add explicit task definition\n   Impact: Clarifies expected output\n\n2. [MEDIUM] structure: Add clear role definition\n   Impact: Improves response consistency and quality\n\n3. [MEDIUM] structure: Specify output format\n   Impact: Ensures consistent output formatting\n\n4. [MEDIUM] best_practice: Add examples for clarity\n   Impact: Improves output quality through few-shot learning\n\n5. [LOW] clarity: Replace ambiguous word: \"things\"\n   Impact: Increases precision\n\n✨ Optimized Prompt:\n\nYou are an expert customer support specialist with 10+ years of experience.\n\nYour task is to provide helpful, empathetic responses to customer inquiries.\n\nGuidelines:\n- Be professional and friendly\n- Acknowledge concerns\n- Provide actionable solutions\n- Offer further assistance\n\nCustomer inquiry:\n{{input}}\n\n✅ Optimization Results:\n\nToken Reduction: 45 tokens (11.5%)\nCost Reduction: $0.0005\nClarity Improvement: +18.3 points\n```\n\n---\n\n#### `aikit prompt batch`\n\nTest prompts against multiple inputs with parallel execution.\n\n**Usage:**\n\n```bash\naikit prompt batch <config> [options]\n```\n\n**Options:**\n\n- `--input <file>` - CSV file with test inputs (required)\n- `--column <name>` - Column name for inputs (default: 'input')\n- `-p, --prompt <id>` - Specific prompt ID to test\n- `-c, --concurrency <number>` - Parallel requests (default: 3)\n- `-o, --output <file>` - Export results to file\n- `-f, --format <type>` - Output format (json, csv)\n- `--save` - Save results to history\n\n**CSV Format:**\n\n```csv\ninput,category,priority\n\"How do I reset my password?\",account,high\n\"I need a refund\",billing,high\n\"App keeps crashing\",technical,critical\n```\n\n**Examples:**\n\n```bash\n# Run batch test\naikit prompt batch \\\n  prompts/support.yaml \\\n  --input test-inputs.csv\n\n# With specific prompt variant\naikit prompt batch \\\n  prompts/support.yaml \\\n  --prompt v2-enhanced \\\n  --input inputs.csv\n\n# Higher concurrency\naikit prompt batch \\\n  prompts/support.yaml \\\n  --input inputs.csv \\\n  --concurrency 5\n\n# Export results\naikit prompt batch \\\n  prompts/support.yaml \\\n  --input inputs.csv \\\n  --output results.csv \\\n  --format csv\n```\n\n**Output:**\n\n```\n🔄 Running batch test with 8 inputs...\n\n✔ Completed 8/8 tests in 4.2s\n\n📊 Batch Test Results\n\n════════════════════════════════════════════════════════\nTotal Tests:     8\nSuccessful:      8\nDuration:        4.2s\n────────────────────────────────────────────────────────\nAvg Tokens:      315\nAvg Cost:        $0.0032\nAvg Latency:     525ms\n────────────────────────────────────────────────────────\nTotal Cost:      $0.0256\n════════════════════════════════════════════════════════\n```\n\n---\n\n#### `aikit prompt history`\n\nView, analyze, and manage prompt test history.\n\n**Commands:**\n\n- `aikit prompt history list` - List test history\n- `aikit prompt history show <id>` - Show detailed entry\n- `aikit prompt history analytics <name>` - Show analytics for prompt\n- `aikit prompt history export` - Export history\n- `aikit prompt history clear` - Clear all history\n\n**Examples:**\n\n```bash\n# List recent tests\naikit prompt history list\n\n# Filter by prompt name\naikit prompt history list --filter \"customer-support\"\n\n# Filter by test type\naikit prompt history list --type compare\n\n# Show last 20 entries\naikit prompt history list --last 20\n\n# Show detailed entry\naikit prompt history show abc-123-def\n\n# View analytics\naikit prompt history analytics \"customer-support\"\n\n# Export history\naikit prompt history export --output history.json --format json\n\n# Clear history\naikit prompt history clear\n```\n\n**List Output:**\n\n```\n📜 History (10 entries)\n\n════════════════════════════════════════════════════════════════════════════════\nCustomer Support v1.0\n[single] ID: abc-123-def\nTime: 2024-01-15 10:30:45\nTags: #production #test\nTokens: 342 | Cost: $0.0034 | Latency: 1250ms\n────────────────────────────────────────────────────────────────────────────────\nCustomer Support v2.0\n[compare] ID: def-456-ghi\nTime: 2024-01-15 09:15:22\nCompared: 2 prompts | Winner: v2-enhanced\n────────────────────────────────────────────────────────────────────────────────\n...\n```\n\n**Analytics Output:**\n\n```\n📊 Analytics for \"Customer Support\"\n\n════════════════════════════════════════════════════\nTotal Tests:     45\nTotal Cost:      $0.1534\nAvg Tokens:      318\nAvg Latency:     612ms\n────────────────────────────────────────────────────\n\nTest Types:\n  single     : 30 (66.7%)\n  compare    : 10 (22.2%)\n  batch      : 3 (6.7%)\n  optimize   : 2 (4.4%)\n────────────────────────────────────────────────────\n\nRecent Activity:\n  2024-01-15  ███ 3\n  2024-01-14  █████ 5\n  2024-01-13  ██ 2\n  2024-01-12  ████ 4\n  2024-01-11  ██ 2\n════════════════════════════════════════════════════\n```\n\n## Prompt Testing Configuration\n\n### Prompt Config File Format\n\nCreate a YAML configuration file for your prompts:\n\n```yaml\nname: Customer Support Response\nversion: 1.0\ndescription: AI-powered customer support response generator\n\nprompts:\n  - id: v1-basic\n    content: |\n      You are a helpful customer support agent.\n\n      Respond to the following customer inquiry:\n\n      {{input}}\n    parameters:\n      temperature: 0.7\n      max_tokens: 500\n\n  - id: v2-enhanced\n    content: |\n      You are an expert customer support specialist.\n\n      Your task is to provide helpful, empathetic responses.\n\n      Guidelines:\n      - Be professional and friendly\n      - Acknowledge the customer's concern\n      - Provide clear solutions\n\n      Customer inquiry:\n      {{input}}\n    parameters:\n      temperature: 0.7\n      max_tokens: 500\n      top_p: 0.9\n\ntest_cases:\n  - input: \"How do I reset my password?\"\n    expected_topics: [\"password\", \"reset\", \"security\"]\n    expected_keywords: [\"email\", \"link\", \"account\"]\n\n  - input: \"I need a refund for my last order\"\n    expected_topics: [\"refund\", \"billing\"]\n\ndefaults:\n  model: gpt-4\n  temperature: 0.7\n  max_tokens: 500\n```\n\n### Configuration Options\n\n**Root Level:**\n\n- `name` (required) - Prompt configuration name\n- `version` (required) - Version string\n- `description` (optional) - Configuration description\n- `prompts` (required) - Array of prompt variants\n- `test_cases` (optional) - Test cases for validation\n- `models` (optional) - Model configurations\n- `defaults` (optional) - Default parameters\n\n**Prompt Variant:**\n\n- `id` (required) - Unique identifier for the prompt\n- `content` (required) - Prompt template with `{{input}}` placeholder\n- `parameters` (optional) - Model parameters\n- `metadata` (optional) - Additional metadata\n\n**Parameters:**\n\n- `temperature` - Creativity (0.0-2.0, default: 0.7)\n- `max_tokens` - Maximum output length\n- `top_p` - Nucleus sampling (0.0-1.0)\n- `frequency_penalty` - Reduce repetition (-2.0 to 2.0)\n- `presence_penalty` - Encourage new topics (-2.0 to 2.0)\n- `stop` - Stop sequences (array of strings)\n\n**Test Cases:**\n\n- `input` (required) - Test input text\n- `expected_topics` (optional) - Expected topic keywords\n- `expected_keywords` (optional) - Expected output keywords\n- `expected_format` (optional) - Expected output format\n- `metadata` (optional) - Additional metadata\n\n### Prompt Engineering Best Practices\n\n**1. Clear Role Definition**\n\n✅ Good:\n```yaml\ncontent: |\n  You are an expert customer support specialist with 10+ years of experience.\n\n  {{input}}\n```\n\n❌ Bad:\n```yaml\ncontent: |\n  Help the customer.\n\n  {{input}}\n```\n\n**2. Explicit Task Description**\n\n✅ Good:\n```yaml\ncontent: |\n  Your task is to provide step-by-step solutions to technical problems.\n\n  Requirements:\n  - List all steps clearly\n  - Use numbered lists\n  - Include troubleshooting tips\n\n  {{input}}\n```\n\n❌ Bad:\n```yaml\ncontent: |\n  Answer this question: {{input}}\n```\n\n**3. Output Format Specification**\n\n✅ Good:\n```yaml\ncontent: |\n  Provide your response in the following format:\n\n  1. Summary: [One sentence overview]\n  2. Details: [Detailed explanation]\n  3. Next Steps: [Action items]\n\n  {{input}}\n```\n\n**4. Few-Shot Examples**\n\n✅ Good:\n```yaml\ncontent: |\n  Classify customer inquiries into categories.\n\n  Example 1:\n  Input: \"My order hasn't arrived\"\n  Category: Shipping\n\n  Example 2:\n  Input: \"I can't log in\"\n  Category: Account\n\n  Now classify: {{input}}\n```\n\n**5. Constraints and Guidelines**\n\n✅ Good:\n```yaml\ncontent: |\n  Guidelines:\n  - Keep responses under 200 words\n  - Use friendly, professional tone\n  - Avoid technical jargon\n  - Always offer to help further\n\n  Constraints:\n  - Do not make promises about refunds\n  - Do not provide pricing without verification\n\n  {{input}}\n```\n\n### Environment Variables\n\nSet your API keys before using prompt testing:\n\n```bash\n# Required for OpenAI models\nexport OPENAI_API_KEY=sk-...\n\n# Required for Anthropic/Claude models\nexport ANTHROPIC_API_KEY=sk-ant-...\n\n# Required for Google models\nexport GOOGLE_API_KEY=...\n```\n\n### Supported Models\n\n**OpenAI:**\n- `gpt-4` - Most capable, best for complex tasks\n- `gpt-4-turbo` - Faster, cheaper than GPT-4\n- `gpt-3.5-turbo` - Fast and affordable\n\n**Anthropic:**\n- `claude-3-opus` - Most capable Claude model\n- `claude-3-sonnet` - Balanced performance and cost\n- `claude-3-haiku` - Fastest and most affordable\n\n**Google:**\n- `gemini-pro` - Google's most capable model\n\n### Cost Management\n\n**Token Estimation:**\n\nApproximate token counts:\n- 1 token ≈ 4 characters of English text\n- 100 tokens ≈ 75 words\n- 1,000 tokens ≈ 750 words\n\n**Cost Optimization Tips:**\n\n1. **Use cheaper models for simple tasks**\n   ```bash\n   aikit prompt test prompts/simple.yaml --model gpt-3.5-turbo\n   ```\n\n2. **Set max_tokens appropriately**\n   ```yaml\n   parameters:\n     max_tokens: 150  # Don't over-allocate\n   ```\n\n3. **Optimize prompts to reduce tokens**\n   ```bash\n   aikit prompt optimize prompts/verbose.yaml\n   ```\n\n4. **Batch test with controlled concurrency**\n   ```bash\n   aikit prompt batch prompts/test.yaml --input data.csv --concurrency 3\n   ```\n\n### Integration with CI/CD\n\n**GitHub Actions Example:**\n\n```yaml\nname: Prompt Testing\n\non:\n  pull_request:\n    paths:\n      - 'prompts/**'\n\njobs:\n  test-prompts:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Install AI Kit CLI\n        run: npm install -g @ainative/ai-kit-cli\n\n      - name: Test Prompts\n        env:\n          OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n        run: |\n          aikit prompt test prompts/support.yaml --test-cases\n\n      - name: Run Batch Tests\n        env:\n          OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n        run: |\n          aikit prompt batch prompts/support.yaml \\\n            --input test-inputs.csv \\\n            --output results.csv\n\n      - name: Upload Results\n        uses: actions/upload-artifact@v3\n        with:\n          name: test-results\n          path: results.csv\n```\n\n### Troubleshooting\n\n**API Key Issues:**\n\n```bash\n# Verify key is set\necho $OPENAI_API_KEY\n\n# Test with minimal prompt\naikit prompt test prompts/simple.yaml --input \"Hello\"\n```\n\n**Rate Limiting:**\n\nReduce concurrency if you hit rate limits:\n\n```bash\naikit prompt batch prompts/test.yaml \\\n  --input data.csv \\\n  --concurrency 1  # Slower but avoids rate limits\n```\n\n**YAML Parsing Errors:**\n\nValidate your YAML syntax:\n\n```bash\n# Use yamllint or online validators\nyamllint prompts/config.yaml\n```\n\n**Token Limit Exceeded:**\n\nReduce max_tokens or simplify your prompt:\n\n```yaml\nparameters:\n  max_tokens: 500  # Reduce from 1000\n```\n\n## Templates\n\nAI Kit CLI provides 12+ production-ready templates:\n\n### Web Applications\n\n#### Next.js Chat App (`nextjs-chat`)\n\nFull-featured chat application with Claude AI integration.\n\n**Features:**\n- Next.js 14 App Router\n- Server Components\n- Streaming responses\n- Chat history\n- Tailwind CSS\n\n**Optional Features:**\n- Authentication (NextAuth)\n- Database (Prisma)\n- Vector Search\n\n**Use Case:** Chat interfaces, conversational AI, customer support\n\n```bash\naikit create my-chat --template nextjs-chat\n```\n\n#### React Dashboard (`react-dashboard`)\n\nAnalytics dashboard with AI-powered insights.\n\n**Features:**\n- Vite + React 18\n- Recharts for visualizations\n- AI-powered data analysis\n- Responsive design\n\n**Optional Features:**\n- Dark mode\n- Real-time updates\n\n**Use Case:** Analytics, data visualization, business intelligence\n\n```bash\naikit create my-dashboard --template react-dashboard\n```\n\n#### Vue.js App (`vue-app`)\n\nVue 3 application with Composition API.\n\n**Features:**\n- Vue 3 Composition API\n- Vite\n- Pinia state management\n- TypeScript\n\n**Use Case:** Modern Vue applications with AI features\n\n```bash\naikit create my-vue-app --template vue-app\n```\n\n#### Svelte App (`svelte-app`)\n\nSvelteKit application with server-side rendering.\n\n**Features:**\n- SvelteKit\n- Svelte 5\n- TypeScript\n- SSR support\n\n**Use Case:** Fast, reactive applications\n\n```bash\naikit create my-svelte-app --template svelte-app\n```\n\n### Backend & API\n\n#### Express API (`express-api`)\n\nRESTful API with AI endpoints.\n\n**Features:**\n- Express.js\n- Rate limiting\n- CORS & Helmet\n- Error handling\n- TypeScript\n\n**Optional Features:**\n- JWT Authentication\n- OpenAPI/Swagger\n- Database (PostgreSQL + Prisma)\n\n**Use Case:** REST APIs, microservices, backend services\n\n```bash\naikit create my-api --template express-api\n```\n\n### AI-Specific\n\n#### Agent System (`agent-system`)\n\nAdvanced agent system with tools and memory.\n\n**Features:**\n- Multi-agent architecture\n- Tool integration\n- Memory management\n- Prompt chaining\n\n**Optional Features:**\n- Vector memory\n- Web search (Brave)\n- Code execution\n\n**Use Case:** Autonomous agents, task automation, complex workflows\n\n```bash\naikit create my-agent --template agent-system\n```\n\n#### Multi-Agent Swarm (`multi-agent-swarm`)\n\nCollaborative multi-agent system.\n\n**Features:**\n- Agent coordination\n- Task delegation\n- Shared context\n- Inter-agent communication\n\n**Use Case:** Complex problem-solving, distributed systems\n\n```bash\naikit create my-swarm --template multi-agent-swarm\n```\n\n#### Tool Integration Example (`tool-integration`)\n\nExamples of integrating external tools with AI.\n\n**Features:**\n- Custom tool examples\n- API integrations\n- File operations\n- Web scraping\n\n**Use Case:** Learning tool development, custom integrations\n\n```bash\naikit create tool-example --template tool-integration\n```\n\n### Full-Stack\n\n#### Full-Stack App (`fullstack-app`)\n\nComplete full-stack application with everything included.\n\n**Features:**\n- Next.js 14\n- Prisma ORM\n- NextAuth.js\n- tRPC\n- Tailwind CSS\n\n**Optional Features:**\n- Stripe payment processing\n- Email (Resend)\n\n**Use Case:** SaaS applications, production apps\n\n```bash\naikit create my-saas --template fullstack-app\n```\n\n### Starter & Library\n\n#### Minimal Starter (`minimal-starter`)\n\nMinimal setup to get started quickly.\n\n**Features:**\n- Simple Node.js setup\n- TypeScript\n- Basic Claude integration\n\n**Use Case:** Quick experiments, learning\n\n```bash\naikit create quick-start --template minimal-starter\n```\n\n#### TypeScript Library (`typescript-library`)\n\nLibrary template for creating AI Kit extensions.\n\n**Features:**\n- TypeScript\n- ESM/CJS dual export\n- Vitest\n- TSDoc\n- Changesets\n\n**Use Case:** Creating AI Kit packages, libraries\n\n```bash\naikit create my-library --template typescript-library\n```\n\n#### Monorepo Setup (`monorepo-setup`)\n\nTurborepo monorepo with multiple packages.\n\n**Features:**\n- Turborepo\n- pnpm workspaces\n- Shared configs\n- Multiple apps\n\n**Use Case:** Large projects, multiple apps/packages\n\n```bash\naikit create my-monorepo --template monorepo-setup\n```\n\n## Configuration\n\nProjects created with AI Kit CLI include an `aikit.config.ts` file for configuration:\n\n```typescript\nimport { defineConfig } from '@aikit/core';\n\nexport default defineConfig({\n  // Framework: nextjs, react, vue, svelte, express, node\n  framework: 'nextjs',\n\n  // Use TypeScript\n  typescript: true,\n\n  // Enabled features\n  features: ['auth', 'database'],\n\n  // Required environment variables\n  requiredEnvVars: ['ANTHROPIC_API_KEY', 'DATABASE_URL'],\n\n  // Test runner: vitest, jest\n  testRunner: 'vitest',\n\n  // Development port\n  devPort: 3000,\n\n  // Build output directory\n  distDir: 'dist',\n\n  // Entry point (for Node.js apps)\n  entry: 'src/index.ts',\n\n  // Docker image name\n  dockerImage: 'my-app',\n});\n```\n\n## Environment Variables\n\nAll AI Kit projects require at minimum:\n\n```bash\nANTHROPIC_API_KEY=your_api_key_here\n```\n\nGet your API key from: https://console.anthropic.com\n\nAdditional variables depend on your template and features:\n\n```bash\n# Database (if using Prisma)\nDATABASE_URL=postgresql://user:password@localhost:5432/mydb\n\n# Authentication (if using NextAuth)\nNEXTAUTH_SECRET=your_secret_here\nNEXTAUTH_URL=http://localhost:3000\n\n# Stripe (if using payments)\nSTRIPE_SECRET_KEY=sk_test_...\nSTRIPE_WEBHOOK_SECRET=whsec_...\n```\n\n## Project Structure\n\nTypical AI Kit project structure:\n\n```\nmy-app/\n├── src/\n│   ├── agents/          # AI agents\n│   ├── tools/           # Custom tools\n│   ├── components/      # UI components\n│   ├── lib/             # Utilities\n│   └── index.ts         # Entry point\n├── __tests__/           # Test files\n├── .env.example         # Environment template\n├── .gitignore\n├── aikit.config.ts      # AI Kit configuration\n├── package.json\n├── tsconfig.json\n└── README.md\n```\n\n## Development Workflow\n\n### 1. Create Project\n\n```bash\naikit create my-app\ncd my-app\n```\n\n### 2. Set Up Environment\n\n```bash\ncp .env.example .env\n# Edit .env with your API keys\n```\n\n### 3. Start Development\n\n```bash\naikit dev\n```\n\n### 4. Add Features\n\n```bash\n# Add an agent\naikit add agent --name DataAnalyzer\n\n# Add a component\naikit add component --name ChatInterface\n\n# Add a tool\naikit add tool --name SearchTool\n```\n\n### 5. Test\n\n```bash\naikit test\n```\n\n### 6. Build\n\n```bash\naikit build\n```\n\n### 7. Deploy\n\n```bash\naikit deploy\n```\n\n## Testing\n\nAI Kit CLI integrates with Vitest and Jest for testing.\n\n### Running Tests\n\n```bash\n# All tests\naikit test\n\n# Watch mode\naikit test --watch\n\n# Coverage\naikit test --coverage\n\n# Specific file\naikit test src/agents/MyAgent.test.ts\n```\n\n### Writing Tests\n\nAgent test example:\n\n```typescript\nimport { describe, it, expect } from 'vitest';\nimport { MyAgent } from '../MyAgent';\n\ndescribe('MyAgent', () => {\n  it('processes messages correctly', async () => {\n    const agent = new MyAgent();\n    const response = await agent.execute('Hello');\n    expect(response).toBeDefined();\n  });\n});\n```\n\n## Deployment\n\n### Vercel\n\nBest for Next.js applications:\n\n```bash\naikit deploy --platform vercel --prod\n```\n\n### Railway\n\nFor full-stack apps with database:\n\n```bash\naikit deploy --platform railway\n```\n\n### Docker\n\nFor containerized deployments:\n\n```bash\naikit deploy --platform docker\n```\n\nThis generates a production-ready Dockerfile and builds the image.\n\n### Netlify\n\nFor static sites:\n\n```bash\naikit deploy --platform netlify --prod\n```\n\n## Troubleshooting\n\n### Port Already in Use\n\n```bash\naikit dev --port 4000\n```\n\n### Missing Environment Variables\n\nCheck your `.env` file has all required variables:\n\n```bash\ncat .env.example\n```\n\n### Type Errors After Upgrade\n\nRun type checking:\n\n```bash\ntsc --noEmit\n```\n\n### Build Failures\n\nClean and rebuild:\n\n```bash\nrm -rf node_modules dist .next\npnpm install\naikit build\n```\n\n### Git Not Initialized\n\nInitialize manually:\n\n```bash\ngit init\ngit add .\ngit commit -m \"Initial commit\"\n```\n\n## Plugin Development\n\nExtend AI Kit CLI with custom plugins:\n\n```typescript\n// aikit-plugin-custom.ts\nimport { Plugin } from '@ainative/ai-kit-cli';\n\nexport const customPlugin: Plugin = {\n  name: 'custom',\n  version: '1.0.0',\n\n  commands: [\n    {\n      name: 'custom',\n      description: 'Custom command',\n      action: async () => {\n        console.log('Custom command executed');\n      },\n    },\n  ],\n\n  hooks: {\n    beforeCreate: async (options) => {\n      // Modify options\n      return options;\n    },\n    afterCreate: async (projectPath) => {\n      // Post-creation tasks\n    },\n  },\n};\n```\n\nRegister plugin in `aikit.config.ts`:\n\n```typescript\nimport { defineConfig } from '@aikit/core';\nimport { customPlugin } from './aikit-plugin-custom';\n\nexport default defineConfig({\n  plugins: [customPlugin],\n});\n```\n\n## Best Practices\n\n### Project Organization\n\n- Keep agents in `agents/` directory\n- Store tools in `tools/` directory\n- Use clear, descriptive names\n- Write comprehensive tests\n- Document complex logic\n\n### Environment Management\n\n- Never commit `.env` files\n- Use `.env.example` as template\n- Validate env vars at startup\n- Use different `.env` files per environment\n\n### Development\n\n- Use TypeScript for better DX\n- Enable strict mode\n- Write tests for agents and tools\n- Use ESLint and Prettier\n- Keep dependencies updated\n\n### Production\n\n- Build and test before deploying\n- Use environment-specific configs\n- Enable error tracking\n- Monitor API usage\n- Set up logging\n\n## FAQ\n\n### Can I use JavaScript instead of TypeScript?\n\nYes, use the `--no-typescript` flag:\n\n```bash\naikit create my-app --no-typescript\n```\n\n### Which template should I choose?\n\n- **Chat/conversation**: `nextjs-chat`\n- **Dashboard/analytics**: `react-dashboard`\n- **REST API**: `express-api`\n- **Agents/automation**: `agent-system`\n- **Full app**: `fullstack-app`\n- **Quick start**: `minimal-starter`\n\n### How do I update dependencies?\n\n```bash\naikit upgrade\n```\n\n### Can I use with existing projects?\n\nThe `add` command works in existing AI Kit projects:\n\n```bash\ncd existing-project\naikit add component --name NewComponent\n```\n\n### How do I customize templates?\n\nFork the template and modify, or use the minimal starter and build up.\n\n### Is Windows supported?\n\nYes, AI Kit CLI works on Windows, macOS, and Linux.\n\n## Resources\n\n- **Documentation**: https://ainative.studio/ai-kit\n- **GitHub**: https://github.com/AINative-Studio/ai-kit\n- **Discord**: https://discord.gg/ai-kit\n- **Examples**: https://github.com/AINative-Studio/ai-kit/tree/main/examples\n- **Blog**: https://ainative.studio/blog\n\n## Contributing\n\nWe welcome contributions! Please see our [Contributing Guide](../../CONTRIBUTING.md).\n\n### Development Setup\n\n```bash\ngit clone https://github.com/ai-native/ai-kit\ncd ai-kit/packages/cli\npnpm install\npnpm dev\n```\n\n### Running Tests\n\n```bash\npnpm test\npnpm test:coverage\n```\n\n### Building\n\n```bash\npnpm build\n```\n\n## License\n\nMIT © [AI Native](https://ai-native.dev)\n\n## Support\n\n- **Issues**: https://github.com/ai-native/ai-kit/issues\n- **Discussions**: https://github.com/ai-native/ai-kit/discussions\n- **Discord**: https://discord.gg/ai-kit\n- **Email**: support@ai-native.dev\n\n## Acknowledgments\n\nBuilt with:\n- [Commander.js](https://github.com/tj/commander.js) - CLI framework\n- [Inquirer](https://github.com/SBoudrias/Inquirer.js) - Interactive prompts\n- [Chalk](https://github.com/chalk/chalk) - Terminal styling\n- [Ora](https://github.com/sindresorhus/ora) - Elegant spinners\n- [Listr2](https://github.com/listr2/listr2) - Task lists\n\nSpecial thanks to all [contributors](https://github.com/ai-native/ai-kit/graphs/contributors)!\n\n---\n\n**Made with ❤️ by the AI Native team**\n","readmeFilename":"README.md"}