By way of example, for anyone interested, if you want to get refs to some plugins to build some cross-plugin communications, then this works (see below). I use it to keep VamMoan in sync with other relevant plugins. So much easier than other methods (imo).
import { scripter, scene } from...