Query Capture One's Scripting Definitions for Available Scripts
After working with XPath a bit over the last week I realize that it doesn't really make sense to hard code the available scripts into the plugin. Mostly because it means having to update the plugin with any additions or removals, and as C1 branches off into different versions (Pro, Studio, etc.) these might have the same version numbers but possibly different available scripts.
Reading the scripting definition and parsing the XML will find the scripts:
/dictionary/suite[@name="Capture One Suite"]/class[@name="application"]/property[ends-with(@name, 'script')]
This could either be done with sdef or by reading the file directly on disk.