e5e93ff762
- Deferred setup wizard import until setup was forced or version stale. - Dynamically loaded ACP, RPC, and print mode runners only when used. - Added a marketplace auto-update scheduler with off-mode early exit and non-blocking errors. - Added setup-version assertions to keep CURRENT_SETUP_VERSION aligned with scenes.
12 lines
598 B
TypeScript
12 lines
598 B
TypeScript
/**
|
|
* Setup version the wizard advances a fresh install to. Bump it whenever a new
|
|
* setup scene lands (or an existing scene raises its `minVersion`).
|
|
*
|
|
* Kept in its own dependency-free module so the cold-launch gate in `main.ts`
|
|
* can answer "is the stored setup version stale?" without statically importing
|
|
* the full wizard — every scene (sign-in/OAuth, web search, theme previews) plus
|
|
* the overlay component and their TUI deps. MUST equal `max(scene.minVersion)`
|
|
* across `ALL_SCENES`; the `setup-wizard` barrel and test suite guard it.
|
|
*/
|
|
export const CURRENT_SETUP_VERSION = 1;
|