@aineos/cli
v1.9.0
Published
AINEOS CLI — AI-Native Enterprise Operating System: Truth Store, Consistency Engine, Self-Healing Pipeline
Maintainers
Readme
@aineos/cli
AINEOS CLI — AI 原生工程操作系统的命令行工具。
以 Truth Store(真相存储)为核心,提供从需求分析到 API 设计、数据建模、一致性验证、自动修复的完整 AI 辅助工程链路。
5 分钟体验
# 一键创建项目
npx @aineos/cli init my-project --template auth-flow
cd my-project
# AI 生成 BRD
aineos create --type BRD --description "用户认证系统,支持 JWT + RBAC"
# 运行全流程 Pipeline: BRD → API → Schema
aineos run --pipeline full
# 检查一致性
aineos check
# 自动修复不一致
aineos heal --fix安装
npm install -g @aineos/cli或使用 npx(无需安装):
npx @aineos/cli init my-project命令概览
| 命令 | 说明 |
|------|------|
| aineos init [dir] | 初始化新项目 |
| aineos create <type> <name> | 创建资产(BRD/API-SPEC/SCHEMA 等) |
| aineos list | 列出 Truth Store 中的资产 |
| aineos read <path> | 读取资产内容 |
| aineos write <path> [content] | 写入/更新资产 |
| aineos diff <path> | 对比资产版本差异 |
| aineos check | 运行一致性检查(7 条规则) |
| aineos heal [--fix] | 检测并修复不一致 |
| aineos run --pipeline <name> | 执行 Pipeline |
| aineos predict [path] | AI 风险预测 |
| aineos templates list | 列出可用项目模板 |
| aineos config [get\|set\|list] | 管理配置 |
| aineos audit <query\|stats> | 审计与统计 |
| aineos status | 查看项目状态 |
| aineos propagate <path> | 变更传播分析 |
| aineos sync [push\|pull\|status] | 与 Cloud API 同步 |
| aineos notify ui | 启动 Admin Portal |
运行 aineos --help 查看完整帮助。
文档
许可证
BSL-1.1 — 非商业用途免费,详见 LICENSE。
© 2026 AINEOS Project
