pub fn build_capabilities_with(
cfg: &Config,
engine: &dyn Engine,
auto_enabled: bool,
) -> WorkerCapabilitiesExpand description
Same as build_capabilities but lets the caller drive
auto_enabled from a runtime pause flag (the UI’s Pause/Resume
button). The persisted Config no longer carries that bit —
it’s an in-process toggle.