monoai
v0.4.0
Published
MonoAI CLI for syncing codebase history
Readme
MonoAI CLI
Builds a structural map of your TypeScript codebase and syncs it to monoai.space. Analyzes alignment between your code and PRD, then surfaces the issues you should focus on next.
Product Flow
monoai push → AST + KG + change signals
PRD + structure → grounded issuesWhy a Knowledge Graph
For issues to be grounded in actual code structure, you need structured data refined from code — not raw files.
monoai push builds that map:
- AST extraction (ts-morph) — functions, classes, interfaces, dependencies
- Knowledge graph — relationships between code entities (calls, imports, inheritance)
- Change signals — added, modified, or removed functions, classes, and files
The LLM reasons on top of this map.
Usage
npx monoai login # first time only
npx monoai push # build and sync the structural mapRequirements: TypeScript (.ts, .tsx) · Node.js 18+ · Git
.monoaiignore
Paths to exclude from AST scanning. Auto-generated on first push.
node_modules
dist
build
coverage
**/_generated/**
**/.agent/**
*.log.monoaiwhitelist
Include-only filter — use this to scope a single app in a monorepo.
my-app/**Only matched paths are scanned. .gitignore and .monoaiignore still apply inside.
