Hmm… I think I might be able to create what I want by maintaining a component registry manually in my ES Module Loader and communicating it to the main process via an interprocess communication channel… but, yeah, being able to reference the current scope would be nice.
🤷♂️