V2 CLI Documentation
The V2 CLI is a generic execution engine that works with any marketplace. It handles framework bootstrap, module execution, and path resolution.
Overview
The V2 CLI architecture:
βββββββββββββββββββββββ
β OrchestratorAgent β Main coordinator
ββββββββββββ¬βββββββββββ
β
ββββββββ΄βββββββ
β β
βΌ βΌ
βββββββββββ ββββββββββββββββ
βBootstrapβ βModule Executeβ
βββββββββββ ββββββββββββββββCore Services
- Framework Bootstrap - Framework initialization
- Composition Engine - Package β Module resolution
- V2Genome Handler - V2Genome transformation
- Recipe Book Resolver - Package resolution
- Path Mapping Generator - Path generation
Execution Flow
- Load V2Genome from user
- Transform via marketplace adapter
- Generate paths for all path keys
- Bootstrap frameworks (Next.js, Expo, Hono)
- Execute modules in dependency order
Key Features
- Metadata-Driven: No hardcoded patterns
- Marketplace-Agnostic: Works with any marketplace
- Framework Bootstrap: Frameworks initialize first
- Path Resolution: Semantic path keys
Learn More: