Add used Commands to beforeSubmitPrompt hook

Feature request for product/service

Cursor IDE

Describe the request

I have found Cursor hooks to be quite useful, especially for internal metrics tracking of feature usage. As part of beforeSubmitPrompt I think it would be useful to add a new type for command that refers to the command filename that was used within the prompt. Right now the beforeSubmitPrompt logs don’t show the context that gets injected and only show /<command-name>