跳至内容

0.48.x · 更新日志

聊天标签、 自定义模式 与 更快的索引

本次版本引入用于并行对话的聊天标签、带有自定义模式的全新模式系统,以及对成本可见性、索引性能和 MCP 可靠性的改进。此外,当聊天完成时会播放提示音。

内置模式与自定义模式(测试版)

Agent 和 Ask 是 Cursor 中的内置模式,现在支持添加自定义模式。我们还将 “Edit” 更名为 “Manual”,以更准确地反映其行为。

Ask 模式现在默认可使用所有搜索工具,因此已移除 `@Codebase` 工具。需要时它会自动搜索代码库。若要强制搜索,只需用自然语言对 Cursor 说“搜索代码库”。你可以在模式菜单中关闭 Ask 的搜索功能,此时 Ask 只会看到你提供的上下文。

进一步了解AgentAsk

A screenshot of the Cursor editor interface showing a dropdown menu under the "Plan" mode selection. The menu includes several AI assistant modes: Agent, Ask, Manual, Plan (currently selected), Teach, and Yolo. Each mode has a corresponding keyboard shortcut. The interface is dark-themed, and the selected model is "claude-3.7-sonnet."


自定义模式(测试版)允许你用适合工作流的工具与提示组合出新模式。由于自定义模式可以拥有自定义快捷键,⌘I 将默认切换到 Agent 模式⌘L 将切换侧边面板。如果你取消绑定 ⌘I,它也会改为切换侧边面板。自定义模式目前处于测试阶段,你可以在 设置 → Features → Chat → Custom modes 中启用。

你也可以在设置中设定默认模式(Settings → Features → Chat → Default chat mode),选择你的某个模式,或设为最近使用的模式。

阅读更多关于自定义模式的内容。

A screenshot of the Cursor editor interface showing the settings for a custom AI assistant mode named "Agent." The settings panel includes options to name the mode, set the model (currently "claude-3.7-sonnet"), configure keybindings, and enable tools such as Search, Edit, and Run. Toggles for "Auto-apply edits" and "Auto-fix errors" are enabled, while "Auto-run" is disabled. There is also a field for adding custom instructions and a button labeled "Delete mode" at the bottom. The interface has a dark theme.

聊天标签

在聊天中创建新标签(⌘T),以并行进行多段对话。你也可以按住 Option 并点击 + 按钮来创建新标签。Cmd+N 仍会在当前标签中创建新的聊天。

当某个标签等待你输入时,你会在该标签上看到一个橙色圆点。

更快的索引

我们显著提升了团队内相似代码库的索引性能:在某个大型仓库完成一次完整索引后,其后续副本的初始索引时间大幅缩短。例如,Cursor 代码库现在可在一分钟内完成索引,之前约需 20 分钟。

声音通知(测试版)

当聊天可供审阅时,Cursor 现在可以播放提示音。可在 设置 → Features → Chat → Play sound on finish 中启用。

按使用量计费的成本可见性

对于按使用量计费的模型,你现在可在历史记录中查看每次聊天的成本及其明细。

A screenshot of the Cursor editor interface showing the chat title "Improving Description Flow" with a dropdown displaying recent chat history. The dropdown includes entries like "Fixing Broken Links in Documentation," "Enhancing Content Cohesion," and others. The currently selected chat shows a cost breakdown tooltip indicating it used "2 gpt-4.5-preview" requests at $2.00 each, totaling $4.00. Icons for editing, duplicating, and viewing cost are visible next to the chat title. The interface uses a dark theme.

全新上手引导

我们引入了更简化的上手流程,帮助你快速开始使用 Cursor。你将获得导入设置、选择主题、快捷键绑定和其他偏好的引导。

A screenshot of the Cursor editor's onboarding interface titled "Quick Start." It prompts the user to choose keybindings from options like VS Code, Vim, Emacs, and Sublime Text (with VS Code selected). Three features are listed: "Agent" for planning and building, "Cursor Tab" for predicting next moves, and "Cmd-K" for editing code with AI. On the right, a sample message says, “Add a Settings page with what you find in src/ui/components,” using the "Agent" mode. At the bottom center, there is a blue "Continue" button. The interface has a dark theme with a macOS-style window.