pub fn normalize_include_module(module: &str) -> (String, Option<&'static str>)Expand description
Normalize an agent-supplied C/C++ include module.
Agents naturally pass the include with its delimiter (<vector> or
"foo.h") because that is how includes are written. Strip the delimiter and
infer the include kind so dedup, classification, and generation all see the
bare header path — otherwise generation double-wraps into #include <<vector>>, which fails syntax validation and rolls the edit back.
Returns the bare header path plus the inferred include kind, or the input
unchanged with None when no delimiter is present (the caller then honors an
explicit import_kind, defaulting to a system include).