//! Shared helpers for agent-specific input adapters.
use ;
/// Remove the first key in `keys` whose value is a JSON string and
/// return the owned string. Used by the Copilot and Kiro adapters to
/// promote alias keys (e.g. `cmd`/`script` → `command`) into the
/// canonical input shape consumed by the engine.
pub