pub fn get_platform_adapter(client_name: &str) -> Box<dyn PlatformAdapter>Expand description
Dispatch by client name. Unknown names fall through to the
Claude Code adapter as the pragmatic default — almost every
DiffLore user today is on Claude Code, and a wrong-but-compatible
parse fails loudly (via parse_stdin) while a panic would kill the
user’s whole assistant session.
Accepted aliases: "claude-code" / "claude_code" / "claude" all
map to the Claude Code adapter so env-var typos don’t silently
reach a Cursor/Zed codepath that doesn’t yet exist.