Developer Summary · v1.0
Orion OS — Developer Summary
One-pager orientation — read this first; use the Developer Handbook for depth, boot/env detail, and the full API appendix.
What Orion OS is
A modular Linux desktop (Alpine userland) with:
- Custom PID 1 (
init/init.sh→/init) - Weston / Wayland session
- Catalog-driven apps (
catalog/apps.yaml) - SAL — system control via JSON-RPC over HTTP (
sal-backend-linux) - AI backend — HTTP UI +
POST /promptintegration point - Internet Hub — navigation from
internet-hub/hub.yaml - First-boot wizard —
first-bootd+first-bootuntil/etc/myo/firstboot-doneexists
Naming: User-facing name is Orion OS. Paths on disk still use myo in many places (/etc/myo,/var/log/myo) until a repo-wide rename completes.
How it boots (short)
Firmware → kernel → /init → udev/seatd → (Weston or compositor-watchdog) → devtoolsd → SAL → ai-backend / ai-shell → background-loader → first-boot or session-launcher → Hub / AI UI.
Repositories that matter
| Path | What |
|---|---|
apps/ | Applications |
services/ | Daemons (net-status, first-bootd, …) |
sal/backends/linux | SAL server |
ai/backend, ai/ai-ui | AI stack |
init/init.sh | Boot orchestration |
catalog/ | App definitions |
profiles/ | Boot profiles for SAL |
build/ | Rootfs overlay + disk/ISO scripts |
Add an app (checklist)
- Crate under
apps/<id>/, add to workspaceCargo.toml. - Ensure
build/scripts/assemble-rootfs.shlists the binary to copy. - Add
catalog/apps.yamlentry (command:= binary name). - Optionally:
internet-hub/hub.yamltile,ai/backend/src/intent.rsphrases.
Add a service (checklist)
- Crate under
services/<name>/. - Start it from
init/init.sh(start_bg …), log under/var/log/myo/services/. - Prefer localhost HTTP with small JSON contracts.
- Document stable endpoints (handbook Appendix A if user-facing).
Editions
File /etc/myo/edition: user or developer. Read it at runtime for conditional UX.
Build OS images
Requires Linux (or WSL2 + deps / Docker). See build/SHIP.txt.
./build/scripts/build-images.sh userOutputs under build/out/ (.raw + .iso). Windows-only hosts cannot run the full pipeline without WSL/Docker.
Debug quickly
/var/log/myo/init.log— init/var/log/myo/services/*.log— services- log-viewer app on device
Local dev: scripts/run-dev.sh / run-dev.ps1.
Key URLs (localhost)
| Service | Default |
|---|---|
| SAL JSON-RPC | http://127.0.0.1:8750/rpc |
| AI backend | http://127.0.0.1:8787 |
| Internet Hub | http://127.0.0.1:8790 |
| net-status | http://127.0.0.1:8791 |
| first-bootd | http://127.0.0.1:8793 |
Privileged SAL actions need SAL_DANGEROUS=1 (documented in init/init.sh).
Full documentation
→ The on-site Developer Handbook (Developer Onboarding) — architecture, init env, profiles, and Appendix A — API reference.
Orion OS Developer Summary v1.0