CLIの改善とMermaid ASCIIダイアグラム
このリリースは、CLIからクラウドへの計画引き継ぎ機能とMermaid ASCII図を追加した。開発チームはビルド場所の選択やキーボードショートカットを実装し、操作性を向上させた。
今回のリリースでは、CLI からクラウドへプランを渡す機能、ASCII ダイアグラムのインラインレンダリング、そして多くの生活の質向上のための改善が導入されました。
CLI におけるプランモードの改善
プランが生成されると、CLI は永続的な意思決定メニューを表示します。ユーザーは、プランを実行するためにクラウドでビルドするか、ローカルでビルドするかを選択できます。
/plan と入力すると、現在のプランとそのアクションメニューに戻ることができます。また、プロンプトバーにキーボードショートカットを追加し、矢印キーでオプションを移動したり、Enter キーで選択したオプションを実行したり、Shift+Enter を「クラウドでビルド」のショートカットとして使用できるようにしました。
CLI における Mermaid ASCII ダイアグラム
Mermaid コードブロックは、CLI の会話内で ASCII ダイアグラムとしてインラインレンダリングされるようになりました。フローチャート、シーケンス図、状態機械、クラス図、ER データベース図(Entity-Relationship Diagram)をすべてターミナル上で直接表示できます。
Ctrl+O を押すことで、レンダリングされたダイアグラムと元の Mermaid ソースコードの間で切り替えることができ、両方の表現を確認できます。
その他の改善点
また、ツール機能、生活の質向上、信頼性-focused に多くの CLI 改善を行いました。
一般(6)
CLI 内の AI コードおよび会話内容は、Cursor Blame によって追跡されるようになりました。
Prettier、Biome、または pre-commit フックなどのフォーマッターがコードを書き換えた際も、AI コードの帰属情報は Cursor Blame によって保持されます。
ファイル削除も Cursor Blame によって追跡され、コードの完全なライフサイクルを反映します。
Linux におけるクリップボード操作は、デスクトップ環境間での互換性を高めるため、Wayland (wl-copy) および X11 (xclip) で動作するようになりました。
エージェントセッションは JSONL 形式のトランスクリプトとして保存されるようになりました。ヘッドレスモードでもトランスクリプトが書き出されるため、非対話型の実行をレビューおよびデバッグしやすくなりました。
CLI は現在、エージェントがコンテキストとして利用可能な会話トランスクリプトを保存します。
ツール (5)
WebSearch および WebFetch に対する統一ドメインのホワイトリスト化が導入されました。
既知の安全な URL(例:Cursor のドキュメント)は、許可プロンプトなしで自動的に承認されます。
MCP サーバーの認証情報がセッション中に期限切れになった場合、エージェントは静かに失敗するのではなく、必要に応じてオンデマンドで再認証できるようになりました。
MCP サーバーの承認をスキップした場合、そのサーバーはセッション終了まで無効なままとなり、繰り返しプロンプトが表示されることはありません。
CLI のサンドボックスでは、より細粒度なネットワークアクセス制御がサポートされました:ユーザー設定のみ、デフォルトを含むユーザー設定、またはすべての許可です。
UX (14)
/resume コマンドは、作成時刻ではなく最後のインタラクション時刻でソートされるため、最も最近の会話が表示されます。
モデルの推論ブロックおよび思考ブロックは、ストリーミング中にインラインとしてレンダリングされるようになりました。
Markdown テーブルでは、セル内のテキストが折り返され、枠線描画ボーダーが使用され、エスケープされたパイプ文字も正しく処理されるようになりました。
メッセージ送信直後に表示され、「生成中...」のインジケーターは、ストリーミング全体が閉じるのを待たずに、モデルの処理完了と同時に消去されます。
/auto-run、/max-mode、/vim および同様のコマンドは、単一の呼び出しで切り替え可能になりました。現在のステータスはコマンドの説明に表示されます。
スラッシュコマンドは、入力内容との一致度に基づいてランク付けされ、同点の場合は直近の入力が優先されます。
Emacs スタイルのナビゲーションを追加しました:Ctrl+N/Ctrl+P で上下移動、Ctrl+G でキャンセルまたは閉じることができます。既存の矢印キーや Esc キーも引き続き利用可能です。
キーバインドを追加しました:Alt+Delete で前の単語を削除、Ctrl+D でアンケートプロンプトを終了します。
--yolo および --force フラグを使用して、ワークスペースの信頼承認、MCP 確認プロンプトのスキップ、自動実行の有効化、Web ツールのアクティブ化を行うことができます。
ツールの出力結果は、「キャンセル済み」(ユーザーが停止した)と「中断済み」(外部要因で停止された)を区別して表示します。
サンドボックスが利用できない場合、メッセージには特定の OS 環境における理由が説明されます。
パディングを削減し、シェルプロンプトからサンドロックアイコンを削除し、CLI インターフェース全体の視的な間隔を調整しました。
CLI の出力は、ターミナルのダークモードまたはライトモードの背景を検知し、色を自動的に調整します。
シェルの実行時間とタスクの所要時間は、分と秒で表示されます。
信頼性とバグ修正 (17 件)
自動アップデートがバックグラウンドで実行されるようになり、対話可能になるまでの時間が短縮されました。
起動時間が削減されました。
トランスポートエラーやストール時に自動的に再接続を試行し、チェックポイント対応の状態復旧を行います。
バックグラウンドのサブエージェント再開は、実行中のサブエージェントを中断するのではなく、キューに追加されるようになりました。
403 エラーによりログアウトがトリガーされなくなりました。
ワークスペースの信頼が必要な場合にヘッドレスモードが停止する不具合を修正し、-force オプションは自動的にワークスペースを信頼するように変更されました。
approvalMode: "unrestricted" は、もはや -force を必要とせずに正しく適用されるようになりました。
中止復元機能を修正し、チェックポイントが存在しない場合に状態がクリーンにロールバックされ、ユーザーが入力したテキストが保持されるようにしました。
Git 以外のワークスペースにおける resume コマンドの不具合を修正しました。
モデル名変更後の stale モデル参照の問題を修正しました。
Shift+Tab で切り替えた際に、削除ツールと MCP ツールに対して自動実行が適用されない不具合を修正しました。
iTerm2 での Ctrl+J キーによる改行入力を修正しました。
sudo の askpass ヘルパーを強化し、macOS における sudo プロンプトの問題を修正しました。
Windows 環境で Delete キーがバックスペースではなくフォワードデリートとして送信される不具合を修正しました。
状態遷移中に重複する描画アーティファクトが発生する問題を修正しました。
明るい背景色上でのユーザーメッセージの色の可読性に関する問題点を修正しました。
sandbox.json 内の相対パスが、設定ファイルの場所に対して正しく解決されるようになりました。
原文を表示
This release introduces the ability to hand off plans from the CLI to the cloud, in-line rendering of ASCII diagrams, and many quality-of-life improvements.
Plan mode improvements in CLI
When a plan is generated, the CLI now shows a persistent decision menu. You can choose to build in the cloud or build locally to execute the plan.
Typing /plan takes you back to your current plan and its action menu. We've also added keyboard shortcuts in the prompt bar so you can use arrow keys to navigate options, Enter to execute the selected option, and Shift+Enter as a shortcut for "Build in cloud."
Mermaid ASCII diagrams in CLI
Mermaid code blocks now render inline as ASCII diagrams in your CLI conversation. Flowcharts, sequence diagrams, state machines, class diagrams, and ER diagrams can all be displayed directly in the terminal.
Ctrl+O allows you to switch between the rendered diagram and the original mermaid source to see both representations.
Other improvements
We've also made lots of improvements to the CLI focused on tooling, quality of life, and reliability.
General (6)
AI code and conversations in CLI are now tracked by Cursor Blame.
AI code attribution is now preserved by Cursor Blame when formatters like Prettier, Biome, or pre-commit hooks rewrite code.
File deletions are tracked by Cursor Blame to reflect the full lifecycle of code.
Clipboard operations on Linux now work with Wayland (wl-copy) and X11 (xclip) for better compatibility across desktop environments.
Agent sessions are now saved as JSONL transcripts. Headless mode also writes transcripts, making it easier to review and debug non-interactive runs.
CLI now stores conversation transcripts that the agent can use as context.
Tools (5)
Unified domain allowlisting for WebSearch and WebFetch.
Known-safe URLs (e.g. Cursor docs) are auto-approved without permission prompts.
When an MCP server's credentials expire mid-session, the agent can now re-authenticate on demand instead of failing silently.
If you skip approving an MCP server, it stays disabled for the rest of the session rather than prompting you repeatedly.
The sandbox in the CLI now supports granular network access controls: user config only, user config with defaults, or allow all.
UX (14)
/resume now sorts by last interaction time, not creation time, so your most recent conversations appear first.
Model reasoning and thinking blocks are now rendered inline as they stream in.
Markdown tables now wrap text within cells, use box-drawing borders, and correctly handle escaped pipes.
Your message appears right after sending, and the "Generating..." indicator clears as soon as the model finishes rather than waiting for the full stream to close.
/auto-run, /max-mode, /vim, and similar commands now toggle with a single invocation. Current status is shown in the command description.
Slash commands are ranked by how closely they match what you've typed, with recency as a tie-breaker.
Added Emacs-style navigation: Ctrl+N/Ctrl+P for up/down and Ctrl+G for cancel/dismiss, alongside the existing arrow keys and Esc.
Added keybindings: Alt+Delete deletes the previous word; Ctrl+D exits questionnaire prompts.
Use --yolo and --force flags to approve workspace trust, skip MCP confirmation prompts, enable auto-run, and activate web tools.
Tool output now distinguishes "Cancelled" (you stopped it) from "Interrupted" (stopped externally).
When the sandbox isn't available, the message now explains why for your specific OS.
Reduced padding, removed the sandbox lock icon from shell prompts, and tightened up visual spacing throughout the CLI interface.
CLI output now detects your terminal's dark or light background and adjusts colors to match.
Shell and task durations now display in minutes and seconds.
Reliability and Bug Fixes (17)
Auto-updates now run in the background for faster time-to-interactive.
Reduced boot time.
Automatically retries connection on transport errors and stalls, with checkpoint-aware state recovery.
Background subagent resumes are now queued instead of interrupting running subagents.
403 errors no longer trigger logout.
Fixed hanging headless mode when workspace trust is required; -force now implicitly trusts the workspace.
approvalMode: "unrestricted" is now respected without requiring -force.
Fixed abort restore so when no checkpoint exists, state rolls back cleanly and user text is preserved.
Fixed resume in non-git workspaces.
Fixed stale model lookup after model renames.
Fixed auto-run not applying to delete and MCP tools when toggling with Shift+Tab.
Fixed iTerm2 Ctrl+J for newlines.
Hardened sudo askpass helper and fixed sudo prompts on macOS.
Fixed Windows Delete key sending forward-delete instead of backspace.
Fixed duplicate rendering artifacts during state transitions.
Fixed a readability issue with user message colors on light backgrounds.
Relative paths in sandbox.json now resolve correctly against their config file location.
関連記事
Cursor のデザインモード機能強化
Cursor ブラウザのデザインモードが更新され、ユーザーは要素を複数選択したり音声で指示を出したりして、エージェントに UI 変更を依頼できるようになった。
Cursor SDK にカスタムストア、カスタムツール、自動レビュー機能を追加
Cursor は TypeScript および Python SDK の新機能として、エージェントや実行メタデータの保存方法の選択、独自関数のツール化、ローカルツールの自動レビュールーティング、サブエージェントのネスト対応を実装しました。これにより、プロダクションスクリプトや CI 環境での利用が容易になります。
Canvas のデザインモードとコンテキスト使用状況レポート機能の追加
Cursor が Canvas にデザインモードを追加し、UI 要素を直接選択・注釈して編集を指示できるようになった。また、コンテキストの使用状況を把握する新機能も導入された。
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み