Mantle handbook
Mantle compiles a closed v2 manifest into native SQL and typed TypeScript. The app owns its database handle, verified Caller, routes, auth, migrations and deployment.
| Package | Responsibility |
|---|---|
@aotter/mantle | SDK, private compiler, generator and mantle CLI |
@aotter/mantle-ui | Pure UI kit and generic interaction controller; no SDK dependency |
@aotter/mantle-admin | Admin server, app-built SPA library, preview and MCP App; SDK peer |
Start with a Worker or CLI and targets. Existing TypeScript/Node apps can import selected generated operations using their own handle and verified Caller; no router or identity replacement is required. See the packaged integrate skill.
Choose Store or internal Views, review database and migration ownership, and mount only selected surfaces. Optional Admin lives in its own package. Installed SDK docs are the authority for that exact version. Release notes describe historical releases.