host: palette commands and developer mode watcher
plugins::commands: the palette commands a site tab reports (validated and capped as a whole) and the page script that runs one, now built from the SiteSpec (runtime global, primary origin) instead of a hard-coded x.com. devmode: the debounced polling watcher (plugins, custom.css, one theme file), reload order, DevError and theme-file reading; the app turns the document into its own theme state through a callback. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
d5b5c3f71d
commit
63e8a9c0b6
4 changed files with 434 additions and 1 deletions
|
|
@ -12,6 +12,8 @@
|
|||
//! That is a declaration plus a guard rail, not a sandbox: page JavaScript can always reach around
|
||||
//! it. A plugin without the line is "legacy" (full API, labelled so in the app).
|
||||
|
||||
pub mod commands;
|
||||
|
||||
use serde::Serialize;
|
||||
use sha2::{Digest, Sha256};
|
||||
use std::collections::{BTreeMap, BTreeSet};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue