People already rebuilt Claude Code in Rust after the Claude Code leak, it's on github as claw code (and other variants)