I wanted to sanity check a couple of things with the experts
1. From what I can see, a plugin can only have one solo Lua file associated with it, and including multiple lua files is not possible.
2. From what I can see, things are sandboxed in such a way that it's not possible to include other Lua files, eg via use of the "include" or "import" Lua commands.
Can someone confirm if I've understood things correctly? Ideally it would be great to be able to keep my code modular, but not a deal breaker if this is a limitation.
That's correct, you can only one run solo Lua at a time. For now, you'll need to use a script to build a single file from your modules before adding it to the plugin.