Per the docs, sandbox is officially supported only on macOS right now, and Linux support is still in progress. It looks like in 2.2.14 the sandbox partially enabled on Linux, which causes:
the pre-discovery step with ripgrep to fail
your aliases from .bashrc not to load
dump_bash_state: command not found to appear
As a workaround, you can try:
Go to Settings → Cursor Settings → Agents → Auto-Run
Set Auto-Run Mode to Ask Every Time or Run Everything (so commands run without sandbox)
Restart Cursor and check if your mm works via the agent and in the integrated terminal
Could you also share:
A screenshot or full error text showing Failed to apply sandbox... and dump_bash_state
Your current Auto-Run Mode from settings
Confirmation that rg --version and mm work in Cursor’s integrated terminal when run manually
I’ll pass this to the team to fix sandbox behavior on Linux. Let me know if the Auto-Run workaround helps.