pub trait Plugin: Send + Sync {
// Required methods
fn name(&self) -> &str;
fn on_change(&self, doc: &Document) -> Result<Option<Document>>;
}Expand description
A Scrybe plugin can observe and transform documents.
Implementations live in scrybe-py (PyO3 bindings) and in native
Rust for first-party extensions. The scrybe-app frontend invokes
plugins via scrybe-panels (P3.3).