moonbit-community/proton_codegen is the WASM code generator for typed Protoncommand registrars. Run it directly from the Mooncakes registry with moonx:
Proton application packages should declare this invocation as a Moon prebuildrule so moon check, moon build, and moon run regenerate the registrar fromits explicit inputs.
The library package moonbit-community/proton_codegen/lib contains the parserand renderer used by the executable and by Proton's own tooling.