CLIのデバッグモードと/btwコマンドのサポート
Cursor開発チームはCLIにデバッグモードと/btwコマンドを追加し、バグ特定作業の効率化と並列質問の実現を実現した。
ターミナルでエージェントと作業する際により快適な体験を提供するため、Cursor CLI に品質向上の改善を施しました。
CLI のデバッグモード
/debug を使用して、再現や理解が難しい厄介なバグの根本原因を特定し、修正します。デバッグモードでは、Cursor が仮説を生成し、ログ文を追加し、ランタイム情報を用いて問題を特定してから、対象を絞った修正を行います。
CLI での /btw サポート
エージェントのメインタスクを逸脱させることなく、簡単なサイド質問を行います。/btw を使用すると、現在の処理を停止することなく、Cursor が行っている変更に関する確認を行うことができます。
CLI の設定メニュー
/config を使用すると、CLI 内にインタラクティブな設定パネルが開き、モデルの選択やデフォルト値、ランタイムの環境設定など、動作を変更したり確認したりすることができます。
また、/update-cli-config スキルを使用して、Cursor に設定変更を適用させることもできます。
CLI のカスタムステータスバー
/statusline を使用して、現在のモード、ブランチ、環境、アクティブなタスクのヒント、その他のセッションメタデータなど、関心のあるセッションおよびランタイムのシグナルを表面化させることで、ステータスバーをカスタマイズできます。
CLI の改善点
プロンプトをクリアすることなく、どこからでもモデルピッカーをトリガーしてモデルを切り替えることができます。
Cursor がユーザーが自動実行を3回連続で有効にしていることを検出した場合、無限の承認ループを避けるために自動実行をオンにするよう積極的に提案するようになりました。
AskQuestion ツールとデバッグモードは、プレーンテキストのレスポンスをよりスムーズに処理できるようになりました。
クリップボードからの画像貼り付けがサポートされました。ネイティブな貼り付け機能を持たない一部のターミナルでも、Ctrl+V による貼り付けが可能です。
フッターには、現在作業中のディレクトリ(ワーキングディレクトリ)、ワークツリー、および現在のブランチが表示されるようになりました。
CLI のバグ修正
Ctrl+Z を使用して、CLI をバックグラウンドに安全に移動できるようになりました。
自動実行(Auto-run)は、デバッグモードやプランモードなどの他のモードでも正常に動作するようになりました。
CLI を終了した後、バックグラウンドのシェルプロセスが実行されたままになる問題を修正しました。
スラッシュコマンド(Slash command)の処理とマッチングを修正しました。
Cmd+Delete、Vim のキーバインディング、および Ctrl 修飾子の組み合わせに関するキーボード入力の処理を修正しました。
原文を表示
We've shipped quality-of-life improvements to the Cursor CLI to make working with agents in the terminal more delightful.
Debug Mode in CLI
Use /debug to find root causes and fix tricky bugs that are hard to reproduce or understand. In Debug Mode, Cursor generates hypotheses, adds log statements, and uses runtime information to pinpoint the issue before making a targeted fix.
/btw support in CLI
Ask a quick side question without derailing the agent's main task. /btw allows you to get clarification on the change Cursor is making without stopping the current run.
Configuration menu in CLI
/config opens an interactive settings panel inside the CLI where you can view and change behavior, such as model choices, defaults, runtime preferences, and more.
You can also ask Cursor to apply configuration changes for you using the /update-cli-config skill.
Custom status bars in CLI
Customize the status bar using /statusline to surface the session and runtime signals you care about, including current mode, branch, environment, active task hints, or other session metadata.
CLI Improvements
Trigger the model picker from anywhere to switch models without clearing your prompt first.
If Cursor detects you've enabled auto-run three times in a row, it will now proactively suggest turning it on to help avoid endless approval loops.
The AskQuestion tool and Debug Mode now handle plaintext responses more smoothly.
Image paste from clipboard is now supported, including Ctrl+V in some terminals without native paste support.
The footer now shows your working directory, worktree, and current branch.
CLI Bug Fixes
You can now reliably send the CLI to the background using Ctrl+Z.
Auto-run now works in other modes like Debug Mode and Plan Mode.
Fixed an issue where background shell processes could remain running after quitting the CLI.
Fixed slash command handling and matching.
Fixed keyboard handling for Cmd+Delete, Vim keybindings, and Ctrl modifier combinations.
関連記事
Cursor のデザインモード機能強化
Cursor ブラウザのデザインモードが更新され、ユーザーは要素を複数選択したり音声で指示を出したりして、エージェントに UI 変更を依頼できるようになった。
Cursor SDK にカスタムストア、カスタムツール、自動レビュー機能を追加
Cursor は TypeScript および Python SDK の新機能として、エージェントや実行メタデータの保存方法の選択、独自関数のツール化、ローカルツールの自動レビュールーティング、サブエージェントのネスト対応を実装しました。これにより、プロダクションスクリプトや CI 環境での利用が容易になります。
Canvas のデザインモードとコンテキスト使用状況レポート機能の追加
Cursor が Canvas にデザインモードを追加し、UI 要素を直接選択・注釈して編集を指示できるようになった。また、コンテキストの使用状況を把握する新機能も導入された。
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み