pub fn cap_lines_for_command_request(caps: &[String]) -> Vec<String>Expand description
Build the capability lines a client echoes back when issuing a follow-up v2 command
(e.g. command=bundle-uri or command=fetch).
Mirrors the client capability handling in connect.c: the agent= line is forwarded
verbatim and object-format=<hash> is re-emitted. Other advertised capabilities are not
echoed in the per-command capability list.