Shared React state, onboarding, API client, and shell helpers used by all Eliza app shells (desktop, mobile, web).
| Subdir | Contains |
|---|---|
src/api/ |
API client, auth bootstrap, onboarding routes, pairing routes. |
src/onboarding/ |
Onboarding config + server-target resolution shared across shells. |
src/platform/ |
Per-platform bootstrap (Capacitor for mobile, browser for web). |
src/components/ |
Shared React components used by app shells. |
src/config/branding.ts |
DEFAULT_APP_DISPLAY_NAME, branding interpolation vars for {{appName}} in locale JSON. White-label shells override BrandingContext; copy must not hardcode "Eliza." |
src/runtime/ |
Runtime entry points exported to consumers. |
Native menus and IPC are not in this package; the Electrobun app forwards certain actions (e.g. Reset Eliza…) to the renderer so handleReset stays the single source of truth.
The end-user onboarding flow is documented at packages/docs/guides/onboarding-ui-flow.md. The agent-app track in the docs site covers shipping app shells: /tracks/agent-app/overview.