WorkspaceOpen hooks doesn't seem to be called correctly

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I need an automatic plugins setup from a workspace folder. I planned to use WorkspaceOpen hook. While I’m able to register the hook and see it called the script itself seems to be never called. The script works in other hooks. Hook seem to be called yet I don’t see any output or result or logged execution of it. And plugins are not loaded as a result.

Steps to Reproduce

  • Open repo
  • Write .sh script for a hook.
  • Configure hook in .cursor/hooks.json
  • Quit cursor
  • Open cursor

Expected Behavior

Hook scrip is running to setup plugins.

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Cursor: 3.15.6
MacOS: 15.5 (24F74)

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey there. Install those workspace plugins from Customize or the Marketplace for now, instead of waiting on the workspaceOpen script to load them.

If you’re still stuck after that, quit fully (Cmd+Q), reopen the folder, and paste a fresh Hooks Output.

I’m building ecosystem of different roles related skills for different repos. I want it to be installed without involvement of dev. So I plan to use workspaceOpen script to make such automated setups. Customise or Marketplace requires user involvement. Team managed installations limits per repos setups. So can I expect workspaceOpen hook to work or it is something you plan to deprecate?

@mohitjain any more updates or advices?