Files
doona/apps/lite/scripts
Zakk 7c7e09fadd refactor(engines): reach engine facts through the adapter
The configuration export, import and revision routes, the export file
name, the store state, the restart command and the restart-only global
settings now come from src/api/engines instead of honk literals in the
app and in Lite.

- configOf(version) in engines/config.ts returns an engine's
  configuration extension, or null for an engine without one; every
  caller and the client methods take it, so an unknown engine offers
  no configuration history and reports none of it off. The module does
  not load the adapters, so the shell can use it at startup.
- Engine gains restartCommand and restartOnly. The restart notice and
  Lite show the command only when the engine names one.
- Lite reads the version when Settings opens and takes the global
  settings from engineOf; an engine doona does not know gets no forms.
- The suggested backend port is the native API's default, and the
  retired API names that block sign-in are kept in one list.

Raises the startupActivity budget from 326250 to 326482 and routeConfig
from 196050 to 196062, with the owner's approval: the shell now asks
the engine whether it manages configuration, which adds 232 B to the
Activity start and 12 B to the config route (Node 22 gzip).
2026-10-31 11:14:05 +00:00
..