I'm trying to use the new Shortcuts for Mac scripting interface on the first Monterey beta.
I'm having trouble running the example AppleScript shown in WWDC21 Meet Shortcuts For Mac (10232):
tell application "Shortcuts Events"
run the shortcut named "Dummy"
end tell
It doesn't seem to recognise a process called 'Shortcuts Events', and I get this error:
The command-line utility works as expected in terminal.