Skip to main content

apply_to_meta

Function apply_to_meta 

Source
pub(crate) fn apply_to_meta(
    meta: &mut HashMap<String, Value>,
    seeded: SeededLaunch,
    provider_flags: &str,
)
Expand description

Write the three keys that must travel together into a new pane’s meta: cmd:args (what runs), agent:runtime (what the menu shows) and agent:provider_flags (what the frontend’s per-send rebuild reapplies — it starts from the catalog and would drop the definition’s flags on the first send otherwise, #2872). One call, so no caller can write one without the others.