Host: 256 feature flags, the onboarding mode (mode_get/mode_set, shell-only), and the one-time move of replaced plugin files to feature flags
- settings: MAX_FEATURES 64 -> 256 (an older app's whole-map backup still validates)
- modes: ModeState {mode, onboarded, existing} in modes.json; existing is decided natively on the first start
- plugins::migrate: PluginHost.superseded (file -> flag); enabled and as shipped -> flag on and the file goes; edited -> kept, flag left off; marker written last, every step repeatable; map_backup for imported enabled lists
- a superseded file is never written again by install_bundled
- create-waybetter: the host command list and PluginHost.superseded
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
ca9eec05ab
commit
e7e744f66d
9 changed files with 477 additions and 6 deletions
|
|
@ -10,6 +10,7 @@
|
|||
//! - [`policy`]: webview labels, origin checks and the tab rectangle clamp (security boundary).
|
||||
//! - [`profiles`]: account profiles, one WebView data directory each, with the account seen inside.
|
||||
//! - [`plugins`]: owner-installed `*.plugin.js` files, custom CSS and bundled-plugin upgrades;
|
||||
//! [`plugins::migrate`]: the one-time move of replaced plugin files to feature flags;
|
||||
//! [`plugins::commands`]: the palette commands site tabs report and the script that runs one.
|
||||
//! - [`hotfix`]: the signed, data-only hotfix channel.
|
||||
//! - [`update`]: silent-update scheduling and the crash handshake.
|
||||
|
|
@ -25,6 +26,7 @@
|
|||
//! - [`devmode`]: developer mode's debounced watcher of plugins, custom CSS and a theme file.
|
||||
//! - [`settings`]: the shell's settings (home page, where links open, session restore) and the page's
|
||||
//! feature flags, as validated data and the scripts that hand them to site tabs.
|
||||
//! - [`modes`]: the onboarding mode the owner started from (the presets are the app's feature table).
|
||||
//! - [`alerts`]: local keyword alerts (keywords, snippets, per-item/per-keyword rate limits).
|
||||
//! - [`media`]: gallery folders (path containment) and the opt-in clipboard history (private copies skipped).
|
||||
//! - [`gfonts`]: self-hosted Google Fonts: CSS parsing, URL/woff2 checks, the cache format, the page script;
|
||||
|
|
@ -54,6 +56,7 @@ pub mod hotfix;
|
|||
pub mod i18n;
|
||||
pub mod layout;
|
||||
pub mod media;
|
||||
pub mod modes;
|
||||
pub mod plugins;
|
||||
pub mod policy;
|
||||
pub mod profiles;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue