CLIのデバッグモードと/btwコマンドのサポート
Cursor は CLI のデバッグ機能強化、対話型設定パネル、およびクリップボード画像貼り付けなどの新機能を追加し、ターミナル環境でのエージェント運用体験を大幅に向上させた。
キーポイント
高度なデバッグモードの導入
/debug コマンドにより、再現困難なバグの原因特定のために仮説生成やログ追加が自動実行され、ターミナル上でのトラブルシューティング能力が強化された。
非破壊的な対話と設定管理
/btw コマンドでメインタスクを中断せずに質問が可能になり、/config でモデル選択やランタイム設定をインタラクティブに変更できる機能が付加された。
ターミナル操作の利便性向上
クリップボードからの画像貼り付け(Ctrl+V 対応含む)、カスタムステータスバー、バックグラウンド実行(Ctrl+Z)などの操作性と安定性が改善された。
重要な引用
Use `/debug` to find root causes and fix tricky bugs that are hard to reproduce or understand.
Ask a quick side question without derailing the agent's main task.
`/config` opens an interactive settings panel inside the CLI where you can view and change behavior
影響分析・編集コメントを表示
影響分析
この更新は、CLI を介して AI エージェントと対話する際の信頼性と効率性を劇的に高めるものであり、特に複雑なコードベースのデバッグや設定管理において、従来の手動プロセスを大幅に削減します。開発者がターミナル環境でより深く AI と協働できる基盤が整ったことで、ローカル開発ワークフローにおける AI の役割がさらに強化されます。
編集コメント
ターミナル操作の細部まで最適化されたこのアップデートは、開発者が AI エージェントをより自然な「パートナー」として扱えるようになり、実務での採用ハードルを下げます。
ターミナルでエージェントと作業する際により快適な体験を提供するため、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.
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み