Engine Architecture
Internal Directory Structure
Lown isolates all user-space state under ~/.lown/:
~/.lown/
├── bin/ # Extracted & compiled executables (on PATH)
├── apps/ # Cloned Git repositories & source code
└── lown.db # SQLite / JSON metadata registry
Build Engine Dispatch
When lown install is called:
ResolveURIparses shorthand input or alias lookup.Git.CloneOrFetchclones source into~/.lown/apps/<pkg>.Manifest.LoadFromDirvalidateslown.toml.Builderinvokes language compiler (go,cargo,revoq) or script fallback.- Executable is symlinked/copied to
~/.lown/bin/.