Build cross-platform Node theme-detection library in TypeScript, then pivot to napi-rs Rust core
Takeaway: Next time I'd state the native-Rust/napi-rs requirement up front instead of letting the agent build a pure-JS/exec-shell-command implementation first, since that whole approach got shelved once I clarified I wanted Rust-only native bindings.