pub(crate) fn clear(state: &AppState, def_id: &str, key: &str)
Takes key off every open pane of the agent that carries it.
key