Revert "Merge pull request #125 from RooVetGit/search_replace_prompt_hotfix"

This reverts commit 7d7a8563b7, reversing
changes made to 868f4cddc9.
This commit is contained in:
Matt Rubens
2024-12-15 22:38:21 -05:00
parent 7d7a8563b7
commit 4b27264a21
4 changed files with 3 additions and 8 deletions

View File

@@ -1,9 +1,5 @@
# Roo Cline Changelog # Roo Cline Changelog
## [2.2.9]
- Fix a bug where Gemini was including line numbers in the search/replace content
## [2.2.8] ## [2.2.8]
- More work on diff editing (better matching, indentation, logging) - More work on diff editing (better matching, indentation, logging)

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "roo-cline", "name": "roo-cline",
"version": "2.2.9", "version": "2.2.8",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "roo-cline", "name": "roo-cline",
"version": "2.2.9", "version": "2.2.8",
"dependencies": { "dependencies": {
"@anthropic-ai/bedrock-sdk": "^0.10.2", "@anthropic-ai/bedrock-sdk": "^0.10.2",
"@anthropic-ai/sdk": "^0.26.0", "@anthropic-ai/sdk": "^0.26.0",

View File

@@ -3,7 +3,7 @@
"displayName": "Roo Cline", "displayName": "Roo Cline",
"description": "A fork of Cline, an autonomous coding agent, with some added experimental configuration and automation features.", "description": "A fork of Cline, an autonomous coding agent, with some added experimental configuration and automation features.",
"publisher": "RooVeterinaryInc", "publisher": "RooVeterinaryInc",
"version": "2.2.9", "version": "2.2.8",
"icon": "assets/icons/rocket.png", "icon": "assets/icons/rocket.png",
"galleryBanner": { "galleryBanner": {
"color": "#617A91", "color": "#617A91",

View File

@@ -62,7 +62,6 @@ The tool will maintain proper indentation and formatting while making changes.
Only a single operation is allowed per tool use. Only a single operation is allowed per tool use.
The SEARCH section must exactly match existing content including whitespace and indentation. The SEARCH section must exactly match existing content including whitespace and indentation.
If you're not confident in the exact content to search for, use the read_file tool first to get the exact content. If you're not confident in the exact content to search for, use the read_file tool first to get the exact content.
IMPORTANT: The read_file tool returns the file content with line numbers prepended to each line. However, DO NOT include line numbers in the SEARCH and REPLACE sections of the diff content.
Parameters: Parameters:
- path: (required) The path of the file to modify (relative to the current working directory ${cwd}) - path: (required) The path of the file to modify (relative to the current working directory ${cwd})