v3.0.0
版本发布时间: 2024-12-19 06:31:37
cline/cline最新发布版本:v3.0.0(2024-12-19 06:31:37)
Auto-approve
Cline's most requested feature is here 🎉 You can now let Cline work more autonomously with the new Auto-approve menu, letting you choose what tools he can use without needing your permission.
- Enable or disable for: reading files & directories, editing files, executing terminal commands, using the browser, and using MCP servers.
- Set a limit for how many API requests Cline makes before asking for your approval to keep going.
- And if you have Cline working in the background, he can send system notifications for when he needs your attention, i.e. to get your approval, answer a question, or when a task is completed.
Diff editing for large files
When Cline needs to make targeted edits to large files, he now uses a search & replace diff format where he only has to output the content to replace, rather than the whole file. This allows for faster, more reliable edits and prevents code deletion issues where previously, unmodified sections of code might have been replaced with comments like // rest of code here
. Cline can also fall back to whole file editing for when it makes sense, e.g. replacing boilerplate files, complete refactors, or when diff editing fails.
.clinerules
You can now specify custom instructions for your project by adding a root-level .clinerules
file. This allows you to define project-specific behaviors and guidelines for Cline–perfect for setting conventions, pointing to important documentation, or providing context about your project's architecture.