Cursor: CLI Improvements and Mermaid ASCII Diagrams

Cursor

Cursor's February 18 CLI release adds plan-to-cloud handoff, inline Mermaid ASCII diagram rendering in the terminal, and a broad sweep of developer experience improvements. Plan mode now surfaces a persistent decision menu that lets developers choose between local or cloud-based execution directly from the command line. The update also ships 14 UX refinements, 17 reliability fixes, and expanded tooling controls including unified domain allowlisting and granular sandbox network access.


Plan Mode Gets Cloud Handoff

The centrepiece of this CLI release is an upgraded plan mode workflow. When Cursor generates a plan, a persistent decision menu now appears in the terminal, letting developers choose between executing the plan locally or handing it off to a cloud agent. Keyboard navigation is fully supported: arrow keys move between options, Enter executes the selected action, and Shift+Enter shortcuts directly to "Build in cloud." Typing /plan at any point returns to the current plan and its action menu, keeping the developer oriented without losing context.

This handoff capability tightens the loop between the local CLI and Cursor's cloud infrastructure. Rather than switching contexts manually, developers can author a plan in their terminal and escalate to a background cloud agent in a single keystroke.

Mermaid Diagrams Render Natively in the Terminal

Cursor's CLI now renders Mermaid code blocks as ASCII diagrams directly in the terminal window, powered by the open-source mermaid-ascii library. Supported diagram types include flowcharts, sequence diagrams, state machines, class diagrams, and ER diagrams — covering the most common diagramming use cases developers encounter during system design and documentation sessions. Pressing Ctrl+O toggles between the rendered ASCII diagram and the original Mermaid source code, making it easy to inspect or copy the underlying markup at any time.

Developer Experience Overhaul

This release ships an unusually large batch of UX refinements across the board:

  • /resume now sorts previous sessions by interaction time, surfacing the most recently active sessions first
  • Reasoning blocks stream inline as they are generated, rather than appearing only after completion
  • Markdown tables render with improved formatting fidelity
  • Messages display immediately upon receipt, with a faster "Generating" indicator that clears without delay
  • Slash commands are now ranked by relevance to the current context
  • Emacs-style navigation shortcuts (Ctrl+N/P for history, Ctrl+G to cancel) are now supported, alongside additional bindings for Alt+Delete and Ctrl+D
  • The --yolo and --force flags enable full approval automation for scripted or unattended workflows
  • Tool output now clearly distinguishes between a cancelled operation and an interrupted one, reducing ambiguity during debugging

Tooling and Sandbox Controls

Web tool configuration gains unified domain allowlisting, so developers can whitelist a domain once and have it apply across all web-enabled tools rather than configuring each individually. Known-safe URLs auto-approve without prompting. MCP servers now re-authenticate automatically when credentials expire, and can be persistently disabled without resetting on restart.

Sandbox controls become more granular in this release: network access can now be scoped at a per-tool level, complementing the filesystem directory and file controls that already existed.

Reliability and Bug Fixes

The release addresses 17 bugs and stability issues, including:

  • Background auto-update improvements and reduced boot time
  • Connection retry with checkpoint recovery for interrupted sessions
  • Fixes to 403-error logout prevention and headless mode workspace trust handling
  • Correct handling of approvalMode: "unrestricted" without requiring the --force flag
  • Resume support for non-git workspaces
  • macOS sudo prompt hardening and Windows Delete key correction
  • State transition rendering artifact fixes and light-background color readability improvements
Cursor: CLI Improvements and Mermaid ASCII Diagrams | Yet Another Changelog