{"_id":"@aineos/cli","name":"@aineos/cli","dist-tags":{"latest":"1.9.0"},"versions":{"1.9.0":{"name":"@aineos/cli","version":"1.9.0","description":"AINEOS CLI — AI-Native Enterprise Operating System: Truth Store, Consistency Engine, Self-Healing Pipeline","keywords":["aineos","truth-store","mcp","cli","enterprise","ai-native","spec-driven","consistency-engine","self-healing","pipeline","api-spec","schema-management"],"homepage":"https://github.com/TC-daniushou/AINEOS#readme","bugs":{"url":"https://github.com/TC-daniushou/AINEOS/issues"},"repository":{"type":"git","url":"git+https://github.com/TC-daniushou/AINEOS.git"},"license":"BSL-1.1","copyright":"Copyright (c) 2026 AINEOS Project","author":{"name":"AINEOS Team"},"main":"lib/utils.js","type":"commonjs","bin":{"aineos":"bin/aineos.js"},"scripts":{"postinstall":"node lib/postinstall.js"},"dependencies":{"commander":"^11.0.0","yaml":"^2.9.0"},"engines":{"node":">=18"},"funding":{"type":"github","url":"https://github.com/sponsors/TC-daniushou"},"_id":"@aineos/cli@1.9.0","gitHead":"791992ada9e1263302d4f9c9830f17ce4ad82034","_nodeVersion":"22.22.1","_npmVersion":"10.9.4","dist":{"integrity":"sha512-sGFuRquhIwhAZigU0bByOs6E3INRvTol7io/yM83K44MUYmzMsRZxVVpJ5FnraLWpIlgF9q3t04rdM0e9wRlzA==","shasum":"bc807fd7ae368868e0615cc7d7a21ce7fd0db6f9","tarball":"https://registry.npmjs.org/@aineos/cli/-/cli-1.9.0.tgz","fileCount":129,"unpackedSize":2907885,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCVPY/nHMyKU7l1FvLchXZ/pfqi16wuLQ2VhVSDln1xVAIhAPec5tS4bNk5y/fCmVfTaV2iFW2b0nU7/NQMXSJzXdCs"}]},"_npmUser":{"name":"daniushou","email":"danius.hou@gmail.com"},"directories":{},"maintainers":[{"name":"daniushou","email":"danius.hou@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli_1.9.0_1780348861186_0.5261560324906389"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-01T21:21:01.013Z","1.9.0":"2026-06-01T21:21:01.477Z","modified":"2026-06-01T21:21:01.749Z"},"maintainers":[{"name":"daniushou","email":"danius.hou@gmail.com"}],"description":"AINEOS CLI — AI-Native Enterprise Operating System: Truth Store, Consistency Engine, Self-Healing Pipeline","homepage":"https://github.com/TC-daniushou/AINEOS#readme","keywords":["aineos","truth-store","mcp","cli","enterprise","ai-native","spec-driven","consistency-engine","self-healing","pipeline","api-spec","schema-management"],"repository":{"type":"git","url":"git+https://github.com/TC-daniushou/AINEOS.git"},"author":{"name":"AINEOS Team"},"bugs":{"url":"https://github.com/TC-daniushou/AINEOS/issues"},"license":"BSL-1.1","readme":"# @aineos/cli\n\n**AINEOS CLI** — AI 原生工程操作系统的命令行工具。\n\n以 Truth Store（真相存储）为核心，提供从需求分析到 API 设计、数据建模、一致性验证、自动修复的完整 AI 辅助工程链路。\n\n[![npm version](https://img.shields.io/npm/v/@aineos/cli)](https://www.npmjs.com/package/@aineos/cli)\n[![Node.js >= 18](https://img.shields.io/badge/node-%3E%3D%2018-brightgreen)](https://nodejs.org)\n\n## 5 分钟体验\n\n```bash\n# 一键创建项目\nnpx @aineos/cli init my-project --template auth-flow\n\ncd my-project\n\n# AI 生成 BRD\naineos create --type BRD --description \"用户认证系统，支持 JWT + RBAC\"\n\n# 运行全流程 Pipeline: BRD → API → Schema\naineos run --pipeline full\n\n# 检查一致性\naineos check\n\n# 自动修复不一致\naineos heal --fix\n```\n\n## 安装\n\n```bash\nnpm install -g @aineos/cli\n```\n\n或使用 npx（无需安装）：\n\n```bash\nnpx @aineos/cli init my-project\n```\n\n## 命令概览\n\n| 命令 | 说明 |\n|------|------|\n| `aineos init [dir]` | 初始化新项目 |\n| `aineos create <type> <name>` | 创建资产（BRD/API-SPEC/SCHEMA 等） |\n| `aineos list` | 列出 Truth Store 中的资产 |\n| `aineos read <path>` | 读取资产内容 |\n| `aineos write <path> [content]` | 写入/更新资产 |\n| `aineos diff <path>` | 对比资产版本差异 |\n| `aineos check` | 运行一致性检查（7 条规则） |\n| `aineos heal [--fix]` | 检测并修复不一致 |\n| `aineos run --pipeline <name>` | 执行 Pipeline |\n| `aineos predict [path]` | AI 风险预测 |\n| `aineos templates list` | 列出可用项目模板 |\n| `aineos config [get\\|set\\|list]` | 管理配置 |\n| `aineos audit <query\\|stats>` | 审计与统计 |\n| `aineos status` | 查看项目状态 |\n| `aineos propagate <path>` | 变更传播分析 |\n| `aineos sync [push\\|pull\\|status]` | 与 Cloud API 同步 |\n| `aineos notify ui` | 启动 Admin Portal |\n\n运行 `aineos --help` 查看完整帮助。\n\n## 文档\n\n- [快速开始](https://aineos.dev/guide/quickstart)\n- [命令参考](https://aineos.dev/cli/overview)\n- [API 参考](https://aineos.dev/api/overview)\n- [GitHub](https://github.com/TC-daniushou/AINEOS)\n\n## 许可证\n\nBSL-1.1 — 非商业用途免费，详见 [LICENSE](./LICENSE)。\n\n© 2026 AINEOS Project\n","readmeFilename":"README.md","_rev":"1-d202cc686567981fb48d7082aac5f192"}