新しいCLI機能とCLIパフォーマンスの向上
Cursor は CLI を中心としたエディタ体験を強化し、モデル管理、MCP サーバー制御、ルール作成機能をコマンドラインから直接実行可能にし、フック処理の並列化によりパフォーマンスを劇的に向上させた。
キーポイント
CLI コマンドによる包括的な管理機能の追加
モデル一覧表示・切り替え(`agent models`, `/models`)、MCP サーバーのオンオフ(`/mcp enable/disable`)、ルールおよびコマンドの作成編集(`/rules`, `/commands`)が CLI から直接可能になった。
フック実行パフォーマンスの劇的改善
フックの実行を並列化し、レスポンスをマージすることで処理速度を 10 倍に向上させ、ファイル編集後の差分取得機能も修正された。
UX および安定性の強化
タブの自動命名、Ctrl+D の標準シェル動作への統一、Shift+Enter の改行動作変更など、使い勝手が向上し、競合状態や表示バグも修正された。
重要な引用
Hooks now execute in parallel with merged responses, improving performance for projects with multiple hook scripts.
Hooks execution latency reduced by 10x.
Use the new **`agent models`** command... to list all available models and quickly switch between them.
影響分析・編集コメントを表示
影響分析
このアップデートは、Cursor を単なるエディタから、AI エージェントの構成要素を直接制御できる強力な CLI ツールへと進化させました。特に MCP(Model Context Protocol)サーバーの管理機能とフック処理の高速化は、複雑な AI アプリケーション開発や自動化ワークフローにおいて、開発者の生産性とシステム安定性を大きく向上させる要因となります。
編集コメント
CLI を介して AI エージェントの挙動を細かく制御できる点は、開発者にとって非常に強力な機能です。特にフック処理の高速化は、大量のファイル編集を行う際の実用性を飛躍的に高めるでしょう。
今回のリリースでは、モデル、MCP マネージメント、ルール、コマンドに関する新しい CLI コントロールに加え、主要フックのパフォーマンス向上とバグ修正が導入されました。
モデルリストと選択
新しい agent models コマンド、--list-models フラグ、または /models スラッシュコマンドを使用して、利用可能なすべてのモデルを一覧表示し、素早く切り替えることができます。
ルール生成と管理
/rules コマンドを使用して、新しいルールの作成や既存のルールの編集を CLI から直接行えます。
MCP サーバーの有効化
/mcp enable および /mcp disable コマンドを使用して、MCP サーバーをその場で有効化・無効化できます。
新機能 (7)
タブがチャットに基づいて自動的に名前付けされるようになりました。
新しい agent コマンドが主要な CLI エントリーポイントとなりました。cursor-agent は後方互換性を持つエイリアスとして残されています。
利用可能なすべてのモデルを一覧表示するための agent models コマンド、-list-models フラグ、および /models スラッシュコマンドが追加されました。
MCP サーバーを管理するための /mcp enable および /mcp disable コマンドが追加されました。
新しいルールの作成や既存のルール編集のための /rules が追加されました。
新しいコマンドの作成や既存のコマンド編集のための /commands が追加されました。
実行されたサブコマンドは、コマンド履歴に記録されるようになりました。
スペースを含む MCP サーバー名が、すべての /mcp コマンドでサポートされるようになりました。
フック (3)
フックは並列で実行され、レスポンスがマージされるようになり、複数のフックスクリプトを持つプロジェクトのパフォーマンスが向上しました。
フックの実行遅延が 10 倍に短縮されました。
afterFileEditフックは、適切な差分キャプチャのためにファイルの以前のコンテンツを含むold_stringを正しく提供するように修正されました。
改善点とバグ修正 (7)
Ctrl+Dは標準的なシェル動作に従うようになり、終了するにはダブルプレスが必要になりました。
Shift+Enterは送信ではなく改行を挿入するようになり、複数行のプロンプト作成が容易になりました。
削除された行が画面上に視覚的アーティファクトを残す「ゴーストライン」描画バグを修正しました。
ターン完了中に会話状態が上書きされる可能性があった競合条件(race condition)を修正しました。
一部のプラットフォームで発生する、node-pty に関連する「モジュールが見つかりません」というエラーを修正しました。
チャット名の生成機能を修正しました。
フォローアップメッセージに関するいくつかのバグを修正しました。
原文を表示
This release introduces new CLI controls for models, MCP management, rules and commands, alongside major hooks performance improvements and bug fixes.
Model list and selection
Use the new agent models command, --list-models flag, or /models slash command to list all available models and quickly switch between them.
Rules generation and management
Create new rules and edit existing ones directly from the CLI with the /rules command.
Enabling MCP servers
Enable and disable MCP servers on the fly with /mcp enable and /mcp disable commands.
New Features (7)
Tabs are now automatically named based on chats.
New agent command is now the primary CLI entrypoint. cursor-agent remains as a backward-compatible alias.
Added agent models command, -list-models flag, and /models slash command to list all available models.
Added /mcp enable, /mcp disable commands to manage MCP servers.
Added /rules to create new rules and edit existing rules.
Added /commands to create new commands and edit existing commands.
Executed subcommands are now recorded in command history.
MCP server names with spaces are now supported in all /mcp commands.
Hooks (3)
Hooks now execute in parallel with merged responses, improving performance for projects with multiple hook scripts.
Hooks execution latency reduced by 10x.
afterFileEdit hook now correctly provides old_string with the file's previous content for proper diff capture.
Improvements & Bug Fixes (7)
Ctrl+D now follows standard shell behavior, requiring a double-press to exit.
Shift+Enter now inserts a newline instead of submitting, making it easier to write multi-line prompts.
Fixed ghost line rendering bug where deleted lines would leave visual artifacts on screen.
Fixed race condition where conversation state could be overwritten during turn completion.
Fixed "Cannot find module" error related to node-pty on some platforms.
Fixed chat name generation.
Fixed several bugs with follow-up messages.
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み