Official Target Packages
How Resolution Works
AiLang keeps the CLI generic. Built-in SDK targets are resolved first, then restored package targets are resolved from the project lockfile. Target packages own their run, publish, doctor, and flash tools.
ailang package restore
ailang publish . --target wasm --target-option wasm-profile=spa
ailang run . --target aios-gui --target-option arch=aarch64
AiOS Base Images
AiOS uses reusable Buildroot base images. Building a base requires a Linux host, but macOS can run and publish applications against an already cached or imported base image.
ailang aios build-base --target aios-gui --version 0.0.1-alpha.1 --arch aarch64
ailang run . --target aios-gui \
--target-option arch=aarch64 \
--target-option base-version=0.0.1-alpha.1
The target package version and base image version are deliberately separate. A target tooling release can reuse a compatible base image without rebuilding Buildroot.
Current Target Releases
- AiOS GUI/service targets:
0.0.1-alpha.5 - WASM target:
0.0.1-alpha.3 - Linux target:
0.0.1-alpha.6 - macOS, Windows targets:
0.0.1-alpha.2