I’ve been doing some simple CEP photoshop panels lately and made an npm node module that lets you call native JS or jsx files with arguments and get back a promise instead of having to attach a callback.
I realize most everyone here would prefer a python interface, but if you are doing CEP panel dev, this might be useful!
Thanks. The CEP ecosystem is a special bag of crazy, but the past year or two there are some automations and example projects others have made that help. Still an asynchronous rickity tower of outdated node/chromium interacting with an ECMA3 script language, though.