Very cool, thanks for sharing!
It looks like this fits Stan models using CmdStanR through brms, right? Can you check that the package is compatible with the upcoming CmdStanR v1.0 release? In that linked post there’s a section on brms compatibility. Currently brms on GitHub should be compatible but the CRAN version of brms hasn’t been updated quite yet, although I think it will be soon.