pub struct OverlayFile {
pub overlay: u32,
pub system_prompt: Option<String>,
pub mount: Vec<OverlayMount>,
pub unmount: Vec<String>,
pub bind: HashMap<String, HashMap<String, Value>>,
}Expand description
A parsed overlay document.
deny_unknown_fields is load-bearing rather than tidiness: it is what makes an unsupported
key a loud failure instead of a patch that silently does less than it appears to. Someone
reasonably assuming that, say, a tier override belongs here finds out immediately.
Fields§
§overlay: u32Version of this document format. Unrelated to warble_ir_version — an overlay adds no IR
field, so it never moves the IR line and is deliberately not part of that lockstep.
system_prompt: Option<String>Replaces the profile’s charter wholesale.
mount: Vec<OverlayMount>Behaviors to add.
unmount: Vec<String>Behaviors to remove, by id.
bind: HashMap<String, HashMap<String, Value>>Values to change on an already-mounted behavior, keyed by its id. Merged key by key into whatever the base profile supplied, so changing one value cannot silently drop the others — including a value the component declares as required.