Integration

mrq + Windsurf

Automatic snapshots for Windsurf's Cascade AI. Recover instantly when AI-generated changes don't work out.

Why Windsurf Needs Backup Protection

Windsurf is Codeium's AI-native IDE with Cascade, an agentic AI that can understand your entire codebase and make coordinated changes across multiple files.

Cascade's capabilities mean it can:

  • Refactor code across many files at once
  • Make architectural decisions autonomously
  • Modify configurations and dependencies
  • Delete code it considers redundant

When Cascade's changes don't align with your expectations, manual recovery is time-consuming. mrq provides automatic protection.

How mrq Works with Windsurf

mrq monitors your file system directly. It captures snapshots whenever files change, regardless of which tool or IDE feature makes the change.

npm install -g mrq-cli@latest
mrq login
mrq watch --daemon

Start mrq before your Windsurf session. Every meaningful change is captured automatically.

Recovery Flow

$ mrq history

Recent Snapshots
────────────────────────────────────────────────────
  11:32:18  abc123  Cascade: Reorganized component structure
                    +234 lines, -189 lines across 14 files

  11:28:45  def456  Updated state management
                    +78 lines, -23 lines across 4 files

  11:24:12  ghi789  Initial feature setup
                    +145 lines across 6 files
────────────────────────────────────────────────────

$ mrq restore def456
✓ Restored to snapshot def456

If Cascade's component reorganization broke something, you're back to a working state immediately.

Best Practices

Use Daemon Mode

mrq watch --daemon runs mrq in the background. You don't need to keep a terminal window open.

Check Snapshots Before Complex Tasks

Before asking Cascade to make major changes, run mrq history to confirm your current state is captured.

Browse Changes in Dashboard

The mrq dashboard at dashboard.getmrq.com shows exactly what changed in each snapshot. Review diffs before deciding whether to restore.

Works with All Windsurf Features

  • Cascade: Multi-file agentic changes captured
  • Autocomplete: Accepted completions tracked
  • Chat: Code applied from chat captured
  • Command Palette: All AI-triggered changes included

Related Resources

Get Started

npm install -g mrq-cli@latest
mrq login
mrq watch

Code confidently with Windsurf

Automatic snapshots. Instant recovery. Let Cascade work without worry.

Get Started Free →