pub fn dialect_from_args<I: IntoIterator<Item = String>>(args: I) -> DialectExpand description
Parse the --agent <id> flag from argv, defaulting to Claude Code.
Unknown ids fall back to Claude with a warning rather than failing — a misconfigured hook should still guard, not crash the agent.