Two halves that meet at one function call: internal/diff — the Go diff engine. Pure, UI-free, and the only place the comparison logic lives. Compiled to WebAssembly. src/ — the TypeScript frontend.